Browse Source

historic/religion: move wayside_cross/wayside_shrine to religion

maxspeed
parent
commit
2564cbd9ef
  1. 6
      historic.json
  2. 15
      religion.json

6
historic.json

@ -29,9 +29,9 @@
], ],
"14": [ "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)$\"];", "way[landuse~\"^(cemetery)$\"];",
"relation[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": { "feature": {
@ -34,6 +46,9 @@
"{% if tags.landuse == 'cemetery' %}", "{% if tags.landuse == 'cemetery' %}",
"{% set key = 'landuse' %}", "{% set key = 'landuse' %}",
"{% set value = tags.landuse %}", "{% set value = tags.landuse %}",
"{% elseif tags.historic == 'wayside_cross' or tags.historic == 'wayside_shrine' %}",
"{% set key = 'historic' %}",
"{% set value = tags.historic %}",
"{% else %}", "{% else %}",
"{% set key = 'amenity' %}", "{% set key = 'amenity' %}",
"{% set value = tags.amenity %}", "{% set value = tags.amenity %}",

Loading…
Cancel
Save