forked from OpenStreetBrowser/main
Stephan Bösch-Plepelits
6 years ago
5 changed files with 191 additions and 3 deletions
-
39coal.json
-
4electric_power.json
-
71fossil-energy.json
-
18index.json
-
62oil_gas.json
@ -0,0 +1,39 @@ |
|||||
|
{ |
||||
|
"type": "overpass", |
||||
|
"name": { |
||||
|
"de": "Kohle", |
||||
|
"en": "Coal" |
||||
|
}, |
||||
|
"query": { |
||||
|
"11": [ |
||||
|
"(", |
||||
|
"node[landuse~\"^(quarry)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
||||
|
"way[landuse~\"^(quarry)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
||||
|
"relation[landuse~\"^(quarry)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
||||
|
"node[man_made~\"^(mineshaft)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
||||
|
"way[man_made~\"^(mineshaft)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
||||
|
"way[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(coal)(|;.*)$\"];", |
||||
|
"relation[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(coal)(|;.*)$\"];", |
||||
|
"node[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(coal)(|;.*)$\"];", |
||||
|
"way[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(coal)(|;.*)$\"];", |
||||
|
"relation[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(coal)(|;.*)$\"];", |
||||
|
")" |
||||
|
] |
||||
|
}, |
||||
|
"feature": { |
||||
|
"description": [ |
||||
|
"{% if tags.man_made == 'pipeline' %}", |
||||
|
"{{ 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 %}" |
||||
|
], |
||||
|
"markerSymbol": null |
||||
|
} |
||||
|
} |
@ -0,0 +1,71 @@ |
|||||
|
{ |
||||
|
"type": "overpass", |
||||
|
"name": { |
||||
|
"de": "Fossile Energie", |
||||
|
"en": "Fossil energy" |
||||
|
}, |
||||
|
"query": { |
||||
|
"11": [ |
||||
|
"(", |
||||
|
"node[landuse~\"^(quarry)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
||||
|
"way[landuse~\"^(quarry)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
||||
|
"relation[landuse~\"^(quarry)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
||||
|
"node[man_made~\"^(mineshaft)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
||||
|
"way[man_made~\"^(mineshaft)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
||||
|
"way[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(coal|oil|gas|lng|cng|multiphase)(|;.*)$\"];", |
||||
|
"relation[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(coal|oil|gas|lng|cng|multiphase)(|;.*)$\"];", |
||||
|
"node[landuse=industrial][industrial~\"^(|.*;)(refinery)(|;.*)$\"];", |
||||
|
"way[landuse=industrial][industrial~\"^(|.*;)(refinery)(|;.*)$\"];", |
||||
|
"relation[landuse=industrial][industrial~\"^(|.*;)(refinery)(|;.*)$\"];", |
||||
|
"way[waterway=offshore_field];", |
||||
|
"relation[waterway=offshore_field];", |
||||
|
"node[man_made~\"^(offshore_platform)$\"];", |
||||
|
"way[man_made~\"^(offshore_platform)$\"];", |
||||
|
"relation[man_made~\"^(offshore_platform)$\"];", |
||||
|
"node[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(coal|oil|gas|diesel|gasoline)(|;.*)$\"];", |
||||
|
"way[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(coal|oil|gas|diesel|gasoline)(|;.*)$\"];", |
||||
|
"relation[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(coal|oil|gas|diesel|gasoline)(|;.*)$\"];", |
||||
|
")" |
||||
|
], |
||||
|
"13": [ |
||||
|
"(", |
||||
|
"node[landuse~\"^(quarry)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
||||
|
"way[landuse~\"^(quarry)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
||||
|
"relation[landuse~\"^(quarry)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
||||
|
"node[man_made~\"^(mineshaft)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
||||
|
"way[man_made~\"^(mineshaft)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
||||
|
"relation[man_made~\"^(mineshaft)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
||||
|
"way[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(coal|oil|gas|lng|cng|multiphase)(|;.*)$\"];", |
||||
|
"relation[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(coal|oil|gas|lng|cng|multiphase)(|;.*)$\"];", |
||||
|
"node[landuse=industrial][industrial~\"^(|.*;)(coal|oil|gas|lng|cng|multiphase|refinery|oil_refinery)(|;.*)$\"];", |
||||
|
"way[landuse=industrial][industrial~\"^(|.*;)(coal|oil|gas|lng|cng|multiphase|refinery|oil_refinery)(|;.*)$\"];", |
||||
|
"relation[landuse=industrial][industrial~\"^(|.*;)(coal|oil|gas|lng|cng|multiphase|refinery|oil_refinery)(|;.*)$\"];", |
||||
|
"way[waterway=offshore_field];", |
||||
|
"relation[waterway=offshore_field];", |
||||
|
"node[man_made~\"^(petroleum_well|offshore_platform|gasometer|oil_tank|gas_cavern)$\"];", |
||||
|
"node[man_made~\"^(storage_tank)$\"][contents~\"^(oil|gas|lng|cng|multiphase)$\"];", |
||||
|
"way[man_made~\"^(petroleum_well|offshore_platform|gasometer|oil_tank|gas_cavern)$\"];", |
||||
|
"way[man_made~\"^(storage_tank)$\"][contents~\"^(oil|gas|lng|cng|multiphase)(|;.*)$\"];", |
||||
|
"relation[man_made~\"^(petroleum_well|offshore_platform|gasometer|oil_tank|gas_cavern)(|;.*)$\"];", |
||||
|
"relation[man_made~\"^(storage_tank)$\"][contents~\"^(|.*;)(oil|gas|lng|cng|multiphase)(|;.*)$\"];", |
||||
|
"node[power~\"^(plant|generator)$\"][\"generator:source\"~\"^(|.*;)(coal|oil|gas|diesel|gasoline)(|;.*)$\"];", |
||||
|
"way[power~\"^(plant|generator)$\"][\"generator:source\"~\"^(|.*;)(coal|oil|gas|diesel|gasoline)(|;.*)$\"];", |
||||
|
"relation[power~\"^(plant|generator)$\"][\"generator:source\"~\"^(|.*;)(coal|oil|gas|diesel|gasoline)(|;.*)$\"];", |
||||
|
")" |
||||
|
] |
||||
|
}, |
||||
|
"feature": { |
||||
|
"description": [ |
||||
|
"{% if tags.man_made == 'pipeline' %}", |
||||
|
"{{ 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.waterway == 'offshore_field' %}", |
||||
|
"{{ tagTrans('waterway', tags.waterway) }}", |
||||
|
"{% endif %}" |
||||
|
], |
||||
|
"markerSymbol": null |
||||
|
} |
||||
|
} |
@ -0,0 +1,62 @@ |
|||||
|
{ |
||||
|
"type": "overpass", |
||||
|
"name": { |
||||
|
"de": "Erdöl und Erdgas", |
||||
|
"en": "Petroleum and natural gas" |
||||
|
}, |
||||
|
"query": { |
||||
|
"11": [ |
||||
|
"(", |
||||
|
"way[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(oil|gas|lng|cng|multiphase)(|;.*)$\"];", |
||||
|
"relation[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(oil|gas|lng|cng|multiphase)(|;.*)$\"];", |
||||
|
"node[landuse=industrial][industrial~\"^(|.*;)(refinery)(|;.*)$\"];", |
||||
|
"way[landuse=industrial][industrial~\"^(|.*;)(refinery)(|;.*)$\"];", |
||||
|
"relation[landuse=industrial][industrial~\"^(|.*;)(refinery)(|;.*)$\"];", |
||||
|
"way[waterway=offshore_field];", |
||||
|
"relation[waterway=offshore_field];", |
||||
|
"node[man_made~\"^(offshore_platform)$\"];", |
||||
|
"way[man_made~\"^(offshore_platform)$\"];", |
||||
|
"relation[man_made~\"^(offshore_platform)$\"];", |
||||
|
"node[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(oil|gas|diesel|gasoline)(|;.*)$\"];", |
||||
|
"way[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(oil|gas|diesel|gasoline)(|;.*)$\"];", |
||||
|
"relation[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(oil|gas|diesel|gasoline)(|;.*)$\"];", |
||||
|
")" |
||||
|
], |
||||
|
"13": [ |
||||
|
"(", |
||||
|
"way[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(oil|gas|lng|cng|multiphase)(|;.*)$\"];", |
||||
|
"relation[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(oil|gas|lng|cng|multiphase)(|;.*)$\"];", |
||||
|
"node[landuse=industrial][industrial~\"^(|.*;)(oil|gas|lng|cng|multiphase|refinery|oil_refinery)(|;.*)$\"];", |
||||
|
"way[landuse=industrial][industrial~\"^(|.*;)(oil|gas|lng|cng|multiphase|refinery|oil_refinery)(|;.*)$\"];", |
||||
|
"relation[landuse=industrial][industrial~\"^(|.*;)(oil|gas|lng|cng|multiphase|refinery|oil_refinery)(|;.*)$\"];", |
||||
|
"way[waterway=offshore_field];", |
||||
|
"relation[waterway=offshore_field];", |
||||
|
"node[man_made~\"^(petroleum_well|offshore_platform|gasometer|oil_tank|gas_cavern)$\"];", |
||||
|
"node[man_made~\"^(storage_tank)$\"][contents~\"^(oil|gas|lng|cng|multiphase)$\"];", |
||||
|
"way[man_made~\"^(petroleum_well|offshore_platform|gasometer|oil_tank|gas_cavern)$\"];", |
||||
|
"way[man_made~\"^(storage_tank)$\"][contents~\"^(oil|gas|lng|cng|multiphase)(|;.*)$\"];", |
||||
|
"relation[man_made~\"^(petroleum_well|offshore_platform|gasometer|oil_tank|gas_cavern)(|;.*)$\"];", |
||||
|
"relation[man_made~\"^(storage_tank)$\"][contents~\"^(|.*;)(oil|gas|lng|cng|multiphase)(|;.*)$\"];", |
||||
|
"node[power~\"^(plant|generator)$\"][\"generator:source\"~\"^(|.*;)(oil|gas|diesel|gasoline)(|;.*)$\"];", |
||||
|
"way[power~\"^(plant|generator)$\"][\"generator:source\"~\"^(|.*;)(oil|gas|diesel|gasoline)(|;.*)$\"];", |
||||
|
"relation[power~\"^(plant|generator)$\"][\"generator:source\"~\"^(|.*;)(oil|gas|diesel|gasoline)(|;.*)$\"];", |
||||
|
")" |
||||
|
] |
||||
|
}, |
||||
|
"feature": { |
||||
|
"description": [ |
||||
|
"{% if tags.man_made == 'pipeline' %}", |
||||
|
"{{ 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.waterway == 'offshore_field' %}", |
||||
|
"{{ tagTrans('waterway', tags.waterway) }}", |
||||
|
"{% elseif tags.landuse == 'industrial' %}", |
||||
|
"{{ tagTrans('landuse', tags.landuse) }} ({{ tagTrans('industrial', tags.industrial) }})", |
||||
|
"{% endif %}" |
||||
|
], |
||||
|
"markerSymbol": null |
||||
|
} |
||||
|
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue