|
|
{ "type": "overpass", "name": { "ast": "Recréu", "cs": "Volný čas", "de": "Freizeit", "el": "Αναψυχή", "en": "Leisure", "fr": "Loisirs", "hu": "Szabadidő", "it": "Tempo libero", "ja": "レジャー", "nl": "Vrije tijd", "pt": "Lazer", "pt-br": "Lazer", "ro": "Timp liber", "ru": "Досуг", "uk": "Дозвілля" }, "query": { "15": [ "(", "node[leisure];", "way[leisure];", "relation[leisure];", ")" ] }, "feature": { "description": [ "{% if tags.leisure == 'pitch' and tags.sport %}", " {% set pitchName = tagTransList('leisure=pitch sport', tags.sport) %}", "{% endif %}", "", "{% if pitchName and pitchName != tags.sport %}", " {{ pitchName }} ", "{% else %}", " {{ tagTrans('leisure', tags.leisure) }}", " {% if tags.leisure == 'pitch' and tags.sport %}", " - {{ tagTransList('sport', tags.sport) }}", " {% endif %}", "{% endif %}" ], "markerSign": "{{ const[tags.leisure]|raw }}" }, "filter": { "access": { "name": "{{ keyTrans('access') }}", "type": "select", "show_default": "true", "placeholder": "{{ trans(\"tag:access!=private\") }}", "valueName": "{{ tagTrans(\"access\", value) }}", "values": { "*": { "name": "<{{ trans('any value') }}>", "query": "nwr", "weight": -1 }, "yes": {}, "private": {}, "permissive": {}, "customers": {}, "discouraged": {}, "unknown": { "name": "{{ trans(\"unknown\") }}", "query": "nwr[\"access\"=\"unknown\"]" }, "!": { "name": "<{{ trans('empty value') }}>", "query": "nwr[!access]", "weight": 1 }, "?": { "name": "<{{ trans(\"other\") }}>", "query": "nwr[access][\"access\"!~\"^(public|private|permissive|customers|discouraged|unknown|yes)$\"]", "weight": 2 } }, "emptyQuery": "nwr[\"access\"!=\"private\"]" }, "leisure": { "name": "{{ trans('filter:type') }}", "type": "select", "values": "{% set list = [] %}{% for k, v in const %}<option value=\"{{ k }}\">{% set list = list|merge([ k ]) %}{{ tagTrans('leisure', k) }}</option>{% endfor %}<option weight='1' value='other' query='nwr[leisure][leisure!~\"^(|.*;)({{ list|join('|') }})(|;.*)$\"]'>{{ trans('other') }}</option>", "sort": "natsort", "op": "has" } }, "const": { "adult_gaming_centre": "", "amusement_arcade": "", "bandstand": ":", "beach_resort": "", "bird_hide": "", "bleachers": "", "bowling_alley": "", "common": "", "dance": "", "disc_golf_course": "", "dog_park": "", "escape_game": "", "firepit": "", "fishing": "", "fitness_centre": "", "fitness_station": "", "garden": "", "golf_course": "", "hackerspace": "", "horse_riding": "", "ice_rink": "", "indoor_play": "", "marina": "", "miniature_golf": "", "nature_reserve": "", "outdoor_seating": "", "park": "P", "picnic_table": "<img data-src='maki:picnic-site'>", "pitch": "", "playground": "⛹", "sauna": "", "slipway": "", "sport": "", "sports_cenre": "", "sports_hall": "", "stadium": "", "summer_camp": "", "swimming_area": "", "swimming_pool": "", "track": "", "trampoline_park": "", "water_park": "", "wildlife_hide": "" } }
|