Browse Source

historic/religion: move wayside_cross/wayside_shrine to religion

pedestrian
parent
commit
3f0aa22be0
  1. 6
      historic.json
  2. 15
      religion.json

6
historic.json

@ -29,9 +29,9 @@
],
"14": [
"(",
"node[historic][historic!~\"^(memorial|monument)$\"];",
"way[historic][historic!~\"^(memorial|monument)$\"];",
"relation[historic][historic!~\"^(memorial|monument)$\"];",
"node[historic][historic!~\"^(memorial|monument|wayside_cross|wayside_shrine)$\"];",
"way[historic][historic!~\"^(memorial|monument|wayside_cross|wayside_shrine)$\"];",
"relation[historic][historic!~\"^(memorial|monument|wayside_cross|wayside_shrine)$\"];",
")"
]
},

15
religion.json

@ -27,6 +27,18 @@
"way[landuse~\"^(cemetery)$\"];",
"relation[landuse~\"^(cemetery)$\"];",
")"
],
"14": [
"(",
"node[amenity~\"^(place_of_worship|grave_yard|crematorium)$\"];",
"way[amenity~\"^(place_of_worship|grave_yard|crematorium)$\"];",
"relation[amenity~\"^(place_of_worship|grave_yard|crematorium)$\"];",
"way[landuse~\"^(cemetery)$\"];",
"relation[landuse~\"^(cemetery)$\"];",
"node[historic~\"^wayside_(cross|shrine)$\"];",
"way[historic~\"^wayside_(cross|shrine)$\"];",
"relation[historic~\"^wayside_(cross|shrine)$\"];",
")"
]
},
"feature": {
@ -34,6 +46,9 @@
"{% if tags.landuse == 'cemetery' %}",
"{% set key = 'landuse' %}",
"{% set value = tags.landuse %}",
"{% elseif tags.historic == 'wayside_cross' or tags.historic == 'wayside_shrine' %}",
"{% set key = 'historic' %}",
"{% set value = tags.historic %}",
"{% else %}",
"{% set key = 'amenity' %}",
"{% set value = tags.amenity %}",

Loading…
Cancel
Save