Feature: Hundesalons in der Karte, SW by-v1098
- OSM-Query 'hundesalon' nutzt shop=pet_grooming + craft=pet_grooming - map.js: neuer Layer 'hundesalon' mit Schere-Icon (#EC4899 Pink), in Layer-Liste, TYPEN, OSM_LAYER_MAP und PIN_TYPES eingetragen - User können selbst Hundesalons als POI anlegen (places.py TYPEN + osm.py ALLOWED_TYPES erweitert)
This commit is contained in:
parent
6ad7c4be77
commit
cc4f030fd0
7 changed files with 18 additions and 12 deletions
|
|
@ -46,6 +46,7 @@ OSM_QUERIES = {
|
|||
'drinking_water': '[out:json][timeout:20];node["amenity"="drinking_water"]({bbox});out;',
|
||||
'tierarzt': '[out:json][timeout:25];(node["amenity"="veterinary"]({bbox});way["amenity"="veterinary"]({bbox}););out center;',
|
||||
'shop': '[out:json][timeout:25];(node["shop"="pet"]({bbox});way["shop"="pet"]({bbox}););out center;',
|
||||
'hundesalon': '[out:json][timeout:25];(node["shop"="pet_grooming"]({bbox});way["shop"="pet_grooming"]({bbox});node["craft"="pet_grooming"]({bbox});way["craft"="pet_grooming"]({bbox}););out center;',
|
||||
'restaurant': '[out:json][timeout:35];(node["amenity"~"restaurant|cafe"]["dog"~"yes|allowed"]({bbox});way["amenity"~"restaurant|cafe"]["dog"~"yes|allowed"]({bbox});node["amenity"="biergarten"]({bbox});way["amenity"="biergarten"]({bbox}););out center;',
|
||||
'bank': '[out:json][timeout:20];node["amenity"="bench"]({bbox});out;',
|
||||
'hotel': '[out:json][timeout:25];(node["tourism"~"hotel|guest_house|hostel"]["dog"~"yes|allowed"]({bbox});way["tourism"~"hotel|guest_house|hostel"]["dog"~"yes|allowed"]({bbox}););out center;',
|
||||
|
|
@ -286,6 +287,7 @@ ALLOWED_TYPES = {
|
|||
'restaurant', # Hundefreundliches Restaurant / Café
|
||||
'shop', # Hundefreundlicher Shop
|
||||
'tierarzt', # Tierarzt / Tierklinik
|
||||
'hundesalon', # Hundesalon / Hundefriseur / Groomer
|
||||
'hundeschule', # Hundeschule / Trainer
|
||||
'kotbeutel', # Kotbeutelspender
|
||||
'bank', # Sitzbank
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue