Main categories of OpenStreetBrowser with support for whitewater
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

29 lines
1.2 KiB

{
"type": "overpass",
"name": {
"ast": "Infraestructures",
"cs": "Občanská vybavenost",
"de": "Einrichtungen",
"en": "Amenities",
"fr": "Équipements",
"it": "Infrastrutture",
"ja": "生活環境",
"nl": "Voorzieningen",
"ru": "Транспортные принадлежности",
"uk": "Amenities"
},
"query": {
"14": "(\nnode[amenity~\"^(taxi|ticket_counter)$\"];\nway[amenity~\"^(taxi|ticket_counter)$\"];\nrelation[amenity~\"^(taxi|ticket_counter)$\"];\nnode[railway~\"^(subway_entrance)$\"];\nway[railway~\"^(subway_entrance)$\"];\nrelation[railway~\"^(subway_entrance)$\"];\n)"
},
"feature": {
"pre": "{% if tags.railway == 'subway_entrance' %}\n {% set key = 'railway' %}\n {% set value = tags.railway %}\n{% else %}\n {% set key = 'amenity' %}\n {% set value = tags.amenity %}\n{% endif %}",
"description": "{{ tagTrans(key, value) }}",
"body": "{{ tagTrans(key, value) }}",
"markerSign": "{{ const[value] }}"
},
"const": {
"taxi": "🚖",
"ticket_counter": "🎫",
"subway_entrance": "🚉"
}
}