Browse Source

Leisure: include all features with leisure key

fossil
parent
commit
0ab4f9528e
  1. 11
      leisure.json

11
leisure.json

@ -15,16 +15,9 @@
"uk": "Дозвілля" "uk": "Дозвілля"
}, },
"query": { "query": {
"14": "(way[leisure~'^(park|common)$'];relation[leisure='^(park|common)$'];)",
"16": "(node[amenity~'^(bench|swimming_pool)$'];way[leisure~'^(park|common|nature_reserve|swimming_pool)$'];relation[leisure='^(park|common|nature_reserve|swimming_pool)$'];)"
"15": "(\nnode[leisure];\nway[leisure];\nrelation[leisure];\n)"
}, },
"feature": { "feature": {
"style": {
"color": "green",
"fillColor": "green",
"fillOpacity": "0.2",
"weight": "2"
},
"description": "{% if tags.leisure %}{{ tagTrans('leisure', tags.leisure ) }}{% elseif tags.amenity %}{{ tagTrans('amenity', tags.amenity ) }}{% endif %}"
"description": "{{ tagTrans('leisure', tags.leisure) }}\n{% if tags.leisure == 'pitch' and tags.sport %}\n- {{ tagTransList('sport', tags.sport) }}\n{% endif %}"
} }
} }
Loading…
Cancel
Save