Main categories of OpenStreetBrowser with public transport zoom level
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.
 
 

28 lines
813 B

{
"type": "overpass",
"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 %}"
]
}
}