Browse Source

coal, oil_gas: improvements

fossil
parent
commit
dd826ba6e6
  1. 4
      coal.json
  2. 10
      oil_gas.json

4
coal.json

@ -26,6 +26,10 @@
"{{ tagTrans('man_made', 'pipeline') }} ({{ tagTrans('substance', tags.substance) }})",
"{% elseif tags.man_made %}",
"{{ tagTrans('man_made', tags.man_made) }}",
"{% elseif tags.power == 'plant' %}",
"{{ tagTrans('power', 'plant') }} {% if attribute(tags, 'generator:source') %}({{ tagTransList('generator:source', attribute(tags, 'generator:source')) }}){% endif %}",
"{% elseif tags.landuse == 'quarry' %}",
"{{ tagTrans('landuse', tags.landuse) }} {% if tags.resource %}({{ tagTrans('resource', tags.resource) }}){% endif %}",
"{% elseif tags.landuse == 'industrial' %}",
"{{ tagTrans('landuse', tags.landuse) }} ({{ tagTrans('industrial', tags.industrial) }})",
"{% endif %}"

10
oil_gas.json

@ -1,8 +1,8 @@
{
"type": "overpass",
"name": {
"de": "Erdgas",
"en": "Natural gas"
"de": "Erdöl und Erdgas",
"en": "Petroleum and natural gas"
},
"query": {
"11": [
@ -49,10 +49,12 @@
"{{ tagTrans('man_made', 'pipeline') }} ({{ tagTrans('substance', tags.substance) }})",
"{% elseif tags.man_made %}",
"{{ tagTrans('man_made', tags.man_made) }}",
"{% elseif tags.landuse == 'industrial' %}",
"{{ tagTrans('landuse', tags.landuse) }} ({{ tagTrans('industrial', tags.industrial) }})",
"{% elseif tags.power == 'plant' %}",
"{{ tagTrans('power', 'plant') }} {% if attribute(tags, 'generator:source') %}({{ tagTransList('generator:source', attribute(tags, 'generator:source')) }}){% endif %}",
"{% elseif tags.waterway == 'offshore_field' %}",
"{{ tagTrans('waterway', tags.waterway) }}",
"{% elseif tags.landuse == 'industrial' %}",
"{{ tagTrans('landuse', tags.landuse) }} ({{ tagTrans('industrial', tags.industrial) }})",
"{% endif %}"
],
"markerSymbol": null

Loading…
Cancel
Save