63 changed files with 2602 additions and 224 deletions
-
27buildings-entrances.json
-
40buildings-figure-ground.json
-
106buildings-height.json
-
131buildings-start_date.json
-
241buildings-type.json
-
46buildings.json
-
84car_maxspeed.json
-
11car_routes.json
-
4children.json
-
44coal.json
-
72communication.json
-
66culture.json
-
2culture_religion.json
-
78cycle_routes.json
-
24detailsBody.html
-
51education.json
-
8electric_power.json
-
17emergency.json
-
56financial.json
-
2hiking_routes.json
-
53historic.json
-
47index.json
-
24lang/ast.json
-
24lang/ca.json
-
24lang/cs.json
-
22lang/de.json
-
24lang/el.json
-
24lang/en.json
-
24lang/es.json
-
24lang/et.json
-
38lang/fr.json
-
26lang/hu.json
-
24lang/it.json
-
24lang/ja.json
-
24lang/nl.json
-
24lang/pl.json
-
30lang/pt-br.json
-
24lang/pt.json
-
24lang/ro.json
-
24lang/ru.json
-
24lang/template.json
-
24lang/uk.json
-
61law.json
-
47memorial.json
-
2military.json
-
4mtb-routes.json
-
47office.json
-
67oil_gas.json
-
82organisations.json
-
24popupBody.html
-
66power_routes.json
-
97pt.json
-
55public.json
-
166railway-maxspeed.json
-
2railway-routes.json
-
19religion.json
-
40renewables.json
-
8residential.json
-
143swimming_bathing.json
-
10tourism_attractions.json
-
79tourism_services.json
-
2transport_alternative.json
-
95xmas.json
@ -0,0 +1,27 @@ |
|||
{ |
|||
"type": "overpass", |
|||
"name": { |
|||
"de": "Eingänge", |
|||
"en": "Entrances", |
|||
"fr": "Entrées", |
|||
"pt-br": "Acessos" |
|||
}, |
|||
"query": { |
|||
"16": [ |
|||
"(", |
|||
" node[entrance];", |
|||
" node[building=entrance];", |
|||
")" |
|||
] |
|||
}, |
|||
"feature": { |
|||
"description": [ |
|||
"{% if tags.entrance == 'yes' or (not tags.entrance and tags.building == 'entrance') %}", |
|||
"{{ keyTrans('entrance') }}", |
|||
"{% else %}", |
|||
"{{ tagTrans('entrance', tags.entrance) }}", |
|||
"{% endif %}" |
|||
], |
|||
"styles": "" |
|||
} |
|||
} |
@ -0,0 +1,40 @@ |
|||
{ |
|||
"type": "overpass", |
|||
"name": { |
|||
"de": "Schwarzplan", |
|||
"en": "Figure-ground diagram", |
|||
"fr": "Empreintes", |
|||
"pt-br": "Cheios e vazios" |
|||
}, |
|||
"query": { |
|||
"16": [ |
|||
"(", |
|||
" way[building];", |
|||
" relation[building];", |
|||
")" |
|||
] |
|||
}, |
|||
"feature": { |
|||
"markerSymbol": "", |
|||
"listMarkerSymbol": "{{ markerPolygon({fillColor: \"#000000\", fillOpacity: 1 })|raw }}", |
|||
"priority": [ |
|||
"{% set p = 100 %}", |
|||
"{% if tags.name %}{% set p = p - 10 %}{% endif %}", |
|||
"{% if tags.amenity %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.historic %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.culture %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.highway %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.railway %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.aeroway %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.amenity %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.tourism %}{% set p = p - 1 %}{% endif %}", |
|||
"{{ p }}" |
|||
], |
|||
"style": { |
|||
"width": "0", |
|||
"color": "#000000", |
|||
"fillColor": "#000000", |
|||
"fillOpacity": "1" |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,106 @@ |
|||
{ |
|||
"type": "overpass", |
|||
"name": { |
|||
"de": "Gebäudehöhen", |
|||
"en": "Building height", |
|||
"fr": "Hauteur", |
|||
"pt-br": "Altura" |
|||
}, |
|||
"query": { |
|||
"16": [ |
|||
"(", |
|||
" way[building];", |
|||
" relation[building];", |
|||
")" |
|||
] |
|||
}, |
|||
"feature": { |
|||
"pre": [ |
|||
"{% if tags.height is defined %}", |
|||
"{% set approxHeight = tags.height %}", |
|||
"{% elseif attribute(tags, 'building:levels') is defined %}", |
|||
"{% set approxHeight = attribute(tags, 'building:levels') * 3.5 %}", |
|||
"{% endif %}", |
|||
"", |
|||
"{% if approxHeight <= 50 %}", |
|||
"{% set color = colorInterpolate(['green', 'red'], approxHeight / 50) %}", |
|||
"{% elseif approxHeight %}", |
|||
"{% set color = colorInterpolate(['red', 'yellow'], (approxHeight - 50) / 250) %} ", |
|||
"{% else %}", |
|||
"{% set color = '#7f7f7f' %}", |
|||
"{% endif %}" |
|||
], |
|||
"description": [ |
|||
"{% if tags.height is defined %}", |
|||
"{{ tags.height }}m", |
|||
"{% endif %}", |
|||
"", |
|||
"{% if attribute(tags, 'building:levels') is defined %}", |
|||
"{{ attribute(tags, 'building:levels') }} {{ keyTrans('building:levels') }}", |
|||
"{% endif %}" |
|||
], |
|||
"markerSymbol": null, |
|||
"listMarkerSymbol": "{{ markerPolygon({\"fillColor\": color, \"fillOpacity\": 0.8, \"width\": 1, \"color\": \"#000000\" })|raw }}", |
|||
"priority": "{{ (approxHeight|default(0)) * -1 }}", |
|||
"style": { |
|||
"width": "1", |
|||
"color": "#000000", |
|||
"fillColor": "{{ color }}", |
|||
"fillOpacity": "1" |
|||
} |
|||
}, |
|||
"info": [ |
|||
"<div style='display: inline-block'>", |
|||
"{{ tagTrans('height') }}", |
|||
"<table>", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\" }))|raw }}</td>", |
|||
" <td colspan>{{ trans('unknown') }}</td>", |
|||
" </tr>", |
|||
"{% for i in range(0, 50, 10) %}", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\", \"height\": i }))|raw }}</td>", |
|||
" <td>{{ i }}m</td>", |
|||
" </tr>", |
|||
"{% endfor %}", |
|||
"{% for i in range(100, 250, 50) %}", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\", \"height\": i }))|raw }}</td>", |
|||
" <td>{{ i }}m</td>", |
|||
" </tr>", |
|||
"{% endfor %}", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\", \"height\": \"300\" }))|raw }}</td>", |
|||
" <td>≥300m</td>", |
|||
" </tr>", |
|||
"</table>", |
|||
"</div>", |
|||
"", |
|||
"<div style='display: inline-block'>", |
|||
"{{ tagTrans('building:levels') }}", |
|||
"<table>", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\" }))|raw }}</td>", |
|||
" <td colspan>{{ trans('unknown') }}</td>", |
|||
" </tr>", |
|||
"{% for i in range(0, 12, 3) %}", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\", \"building:levels\": i }))|raw }}</td>", |
|||
" <td>{{ i }}</td>", |
|||
" </tr>", |
|||
"{% endfor %}", |
|||
"{% for i in range(15, 84, 15) %}", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\", \"building:levels\": i }))|raw }}</td>", |
|||
" <td>{{ i }}</td>", |
|||
" </tr>", |
|||
"{% endfor %}", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\", \"building:levels\": \"85\" }))|raw }}</td>", |
|||
" <td>≥85</td>", |
|||
" </tr>", |
|||
"</table>", |
|||
"", |
|||
"</div>" |
|||
] |
|||
} |
@ -0,0 +1,131 @@ |
|||
{ |
|||
"type": "overpass", |
|||
"name": { |
|||
"de": "Gebäudealter", |
|||
"en": "Building age", |
|||
"fr": "Date de construction", |
|||
"pt-br": "Idade" |
|||
}, |
|||
"query": { |
|||
"16": [ |
|||
"(", |
|||
" way[building];", |
|||
" relation[building];", |
|||
")" |
|||
] |
|||
}, |
|||
"feature": { |
|||
"pre": [ |
|||
"{% if tags.start_date %}", |
|||
" {% set value = tags.start_date|osmParseDate %}", |
|||
" {% if value and value[0] and value[1] %}", |
|||
" {% set value = (value[1] - value[0]) / 2 + value[0] %}", |
|||
" {% elseif value and value[0] %}", |
|||
" {% set value = value[0] %}", |
|||
" {% elseif value and value[1] %}", |
|||
" {% set value = value[1] %}", |
|||
" {% else %}", |
|||
" {% set value = 'error' %}", |
|||
" {% endif %}", |
|||
"", |
|||
" {% if value == 'error' %}", |
|||
" {% set color = '#ff0000' %}", |
|||
" {% elseif value < 1500 %}", |
|||
" {% set color = '#0000ff' %}", |
|||
" {% elseif value < 1900 %}", |
|||
" {% set color = colorInterpolate([ '#0000ff', '#ff00ff' ], (value - 1500.0) / 400) %}", |
|||
" {% elseif value < 2000 %}", |
|||
" {% set color = colorInterpolate([ '#ff00ff', '#ffff00' ], (value - 1900.0) / 100) %}", |
|||
" {% else %}", |
|||
" {% set color = colorInterpolate([ '#ffff00', '#00ff00' ], (value - 2000.0) / 50) %}", |
|||
" {% endif %}", |
|||
"{% else %}", |
|||
"{% set color = '#7f7f7f' %}", |
|||
"{% endif %}" |
|||
], |
|||
"description": [ |
|||
"{% if tags.start_date %}", |
|||
"{{ tags.start_date|osmFormatDate({ format: 'short' }) }}", |
|||
"{% else %}", |
|||
"{{ trans('unknown') }}", |
|||
"{% endif %}" |
|||
], |
|||
"popupDescription": [ |
|||
"{% if tags.start_date %}", |
|||
"{{ tags.start_date|osmFormatDate }}", |
|||
"{% else %}", |
|||
"{{ trans('unknown') }}", |
|||
"{% endif %}" |
|||
], |
|||
"markerSymbol": null, |
|||
"listMarkerSymbol": "{{ markerPolygon({ \"fillColor\": color, \"fillOpacity\": 0.8, \"width\": 1, \"color\": \"#000000\" })|raw }}", |
|||
"priority": [ |
|||
"{% set p = 100 %}", |
|||
"{% if tags.start_date %}{% set p = p - 20 %}{% endif %}", |
|||
"{% if tags.name %}{% set p = p - 10 %}{% endif %}", |
|||
"{% if tags.amenity %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.historic %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.culture %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.highway %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.railway %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.aeroway %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.amenity %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.tourism %}{% set p = p - 1 %}{% endif %}", |
|||
"{{ p }}" |
|||
], |
|||
"style": { |
|||
"width": "1", |
|||
"color": "#000000", |
|||
"fillColor": "{{ color }}", |
|||
"fillOpacity": "0.8" |
|||
} |
|||
}, |
|||
"info": [ |
|||
"<table>", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\", \"start_date\": \"1400\" }))|raw }}</td>", |
|||
" <td><1500</td>", |
|||
" </tr>", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\", \"start_date\": \"1500\" }))|raw }}</td>", |
|||
" <td>1500</td>", |
|||
" </tr>", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\", \"start_date\": \"1600\" }))|raw }}</td>", |
|||
" <td>1600</td>", |
|||
" </tr>", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\", \"start_date\": \"1700\" }))|raw }}</td>", |
|||
" <td>1700</td>", |
|||
" </tr>", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\", \"start_date\": \"1800\" }))|raw }}</td>", |
|||
" <td>1800</td>", |
|||
" </tr>", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\", \"start_date\": \"1900\" }))|raw }}</td>", |
|||
" <td>1900</td>", |
|||
" </tr>", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\", \"start_date\": \"1950\" }))|raw }}</td>", |
|||
" <td>1950</td>", |
|||
" </tr>", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\", \"start_date\": \"2000\" }))|raw }}</td>", |
|||
" <td>2000</td>", |
|||
" </tr>", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\", \"start_date\": \"2020\" }))|raw }}</td>", |
|||
" <td>2020</td>", |
|||
" </tr>", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\", \"start_date\": \"xxx\" }))|raw }}</td>", |
|||
" <td>{{ repoTrans('date format not understood') }}</td>", |
|||
" </tr>", |
|||
" <tr>", |
|||
" <td>{{ markerPolygon(evaluate({ \"building\": \"yes\" }))|raw }}</td>", |
|||
" <td>{{ trans('unknown') }}</td>", |
|||
" </tr>", |
|||
"</table>" |
|||
] |
|||
} |
@ -0,0 +1,241 @@ |
|||
{ |
|||
"type": "overpass", |
|||
"name": { |
|||
"de": "Gebäudearten", |
|||
"en": "Building types", |
|||
"fr": "Type", |
|||
"pt-br": "Tipologias" |
|||
}, |
|||
"query": { |
|||
"16": [ |
|||
"(", |
|||
" way[building][building!=no];", |
|||
" relation[building][building!=no];", |
|||
")" |
|||
] |
|||
}, |
|||
"feature": { |
|||
"pre": [ |
|||
"{% set type = tags.building|split(';')[0] %}", |
|||
"{% set color = const.other.color %}", |
|||
"{% for cat, data in const %}", |
|||
" {% if type in data.types %}", |
|||
" {% set color = data.color %}", |
|||
" {% endif %}", |
|||
"{% endfor %}" |
|||
], |
|||
"description": [ |
|||
"{% if tags.building == 'yes' %}", |
|||
"{{ keyTrans('building') }}", |
|||
"{% else %}", |
|||
"{{ tagTransList('building', tags.building) }}", |
|||
"{% endif %}", |
|||
"{% if tags.building == 'construction' and tags.construction %}", |
|||
"({{ tagTransList('building', tags.construction) }})", |
|||
"{% endif %}" |
|||
], |
|||
"markerSymbol": "", |
|||
"listMarkerSymbol": "{{ markerPolygon({\"fillColor\": color, \"fillOpacity\": 0.8, \"width\": 1, \"color\": \"#000000\" })|raw }}", |
|||
"priority": [ |
|||
"{% set p = 100 %}", |
|||
"{% if tags.name %}{% set p = p - 10 %}{% endif %}", |
|||
"{% if tags.amenity %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.historic %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.culture %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.highway %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.railway %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.aeroway %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.amenity %}{% set p = p - 1 %}{% endif %}", |
|||
"{% if tags.tourism %}{% set p = p - 1 %}{% endif %}", |
|||
"{{ p }}" |
|||
], |
|||
"style": { |
|||
"width": "1", |
|||
"color": "#000000", |
|||
"fillColor": "{{ color }}", |
|||
"fillOpacity": "0.8" |
|||
} |
|||
}, |
|||
"info": [ |
|||
"<table>", |
|||
"{% for cat, data in const %}", |
|||
" <tr>", |
|||
" <td valign='top'>{{ markerPolygon({ \"fillColor\": data.color, \"fillOpacity\": \"0.8\", \"width\": 1, \"color\": \"#000000\" })|raw }}</td>", |
|||
" <td onclick='this.classList.toggle(\"infoShowDetails\")'><b>{{ trans(data.name) }}</b><span class='details'>:", |
|||
" {% for i, type in data.types %}<span title='building={{ type }}'>{% if i > 0 %}, {% endif %}{{ tagTrans('building', type) }}</span>{% endfor %}", |
|||
" </span>", |
|||
"<span class='summary'><i class=\"fa fa-info-circle\" aria-hidden=\"true\"></i></span>", |
|||
" </td>", |
|||
" </tr>", |
|||
"{% endfor %}", |
|||
"</table>" |
|||
], |
|||
"const": { |
|||
"residential": { |
|||
"name": "tag:building=residential", |
|||
"color": "#25a000", |
|||
"types": [ |
|||
"house", |
|||
"apartments", |
|||
"block", |
|||
"flats", |
|||
"farm", |
|||
"detached", |
|||
"dormitory", |
|||
"terrace", |
|||
"houseboat", |
|||
"bungalow", |
|||
"static_caravan", |
|||
"residential", |
|||
"semidetached_house", |
|||
"ger", |
|||
"trullo" |
|||
] |
|||
}, |
|||
"tourism": { |
|||
"name": "tag:tourism", |
|||
"color": "#814ce2", |
|||
"types": [ |
|||
"hotel", |
|||
"ruins", |
|||
"conservatory" |
|||
] |
|||
}, |
|||
"commercial": { |
|||
"name": "tag:building=commercial", |
|||
"color": "#ec5bcf", |
|||
"types": [ |
|||
"commercial", |
|||
"office", |
|||
"industrial", |
|||
"retail", |
|||
"supermarket", |
|||
"warehouse", |
|||
"kiosk", |
|||
"mall", |
|||
"shop" |
|||
] |
|||
}, |
|||
"religious": { |
|||
"name": "tag:building=religious", |
|||
"color": "#af29cc", |
|||
"types": [ |
|||
"religious", |
|||
"cathedral", |
|||
"chapel", |
|||
"church", |
|||
"mosque", |
|||
"temple", |
|||
"synagogue", |
|||
"shrine", |
|||
"monastery" |
|||
] |
|||
}, |
|||
"amenity": { |
|||
"name": "tag:amenity", |
|||
"color": "#2935cc", |
|||
"types": [ |
|||
"kindergarten", |
|||
"civic", |
|||
"government", |
|||
"hospital", |
|||
"school", |
|||
"university", |
|||
"grandstand", |
|||
"public", |
|||
"toilets", |
|||
"college" |
|||
] |
|||
}, |
|||
"agriculture": { |
|||
"name": "tag:landuse=agriculture", |
|||
"color": "#92e934", |
|||
"types": [ |
|||
"bakehouse", |
|||
"barn", |
|||
"cowshed", |
|||
"farm_auxiliary", |
|||
"greenhouse", |
|||
"stable", |
|||
"sty", |
|||
"kitchen", |
|||
"slurry_tank", |
|||
"silo" |
|||
] |
|||
}, |
|||
"industrial": { |
|||
"name": "tag:landuse=industrial", |
|||
"color": "#e2da1b", |
|||
"types": [ |
|||
"construction", |
|||
"garbage_shed", |
|||
"transformer_tower", |
|||
"service", |
|||
"water_tower", |
|||
"industrial", |
|||
"warehouse", |
|||
"storage_tank" |
|||
] |
|||
}, |
|||
"transportation": { |
|||
"name": "tag:building=transportation", |
|||
"color": "#1bb5e2", |
|||
"types": [ |
|||
"carport", |
|||
"garage", |
|||
"garages", |
|||
"bridge", |
|||
"hangar", |
|||
"parking", |
|||
"train_station", |
|||
"transportation" |
|||
] |
|||
}, |
|||
"sport": { |
|||
"name": "tag:sport", |
|||
"color": "#e21b66", |
|||
"types": [ |
|||
"pavilion", |
|||
"riding_hall", |
|||
"stadium", |
|||
"sports_hall" |
|||
] |
|||
}, |
|||
"roof": { |
|||
"name": "tag:building=roof", |
|||
"color": "#afafaf7f", |
|||
"types": [ |
|||
"roof" |
|||
] |
|||
}, |
|||
"shelter": { |
|||
"name": "tag:amenity=shelter", |
|||
"color": "#cc8725", |
|||
"types": [ |
|||
"cabin", |
|||
"hut", |
|||
"shed" |
|||
] |
|||
}, |
|||
"military": { |
|||
"name": "tag:military", |
|||
"color": "#4a7300", |
|||
"types": [ |
|||
"bunker" |
|||
] |
|||
}, |
|||
"unspecified": { |
|||
"name": "tag:building=generic", |
|||
"color": "#7f7f7f", |
|||
"types": [ |
|||
"yes", |
|||
"generic" |
|||
] |
|||
}, |
|||
"other": { |
|||
"name": "other", |
|||
"color": "#ff0000", |
|||
"types": [] |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,44 @@ |
|||
{ |
|||
"type": "overpass", |
|||
"name": { |
|||
"de": "Kohle", |
|||
"en": "Coal", |
|||
"fr": "Charbon", |
|||
"hu": "Kőszén", |
|||
"pt-br": "Carvão" |
|||
}, |
|||
"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.power == 'generator' %}", |
|||
"{{ tagTrans('power', 'generator') }} {% 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 |
|||
} |
|||
} |