Browse Source

construction: instead of e.g. highway=construction, print value of construction

pedestrian
parent
commit
314f8f2016
  1. 5
      construction.json

5
construction.json

@ -30,7 +30,10 @@
"pre": [
"{% if tags.highway == 'construction' %}",
"{% set key = 'highway' %}",
"{% set value = tags.highway %}",
"{% set value = tags.construction %}",
"{% elseif tags.landuse == 'construction' and tags.construction %}",
"{% set key = 'landuse' %}",
"{% set value = tags.construction %}",
"{% else %}",
"{% set key = 'landuse' %}",
"{% set value = tags.landuse %}",

Loading…
Cancel
Save