Stephan Bösch-Plepelits
6 years ago
22 changed files with 60 additions and 20 deletions
-
3index.json
-
2lang/ast.json
-
2lang/ca.json
-
2lang/cs.json
-
2lang/de.json
-
2lang/el.json
-
2lang/en.json
-
2lang/es.json
-
2lang/et.json
-
2lang/fr.json
-
2lang/hu.json
-
2lang/it.json
-
2lang/ja.json
-
2lang/nl.json
-
2lang/pl.json
-
2lang/pt-br.json
-
2lang/pt.json
-
2lang/ro.json
-
2lang/ru.json
-
2lang/template.json
-
2lang/uk.json
-
37renewables.json
@ -0,0 +1,37 @@ |
|||
{ |
|||
"type": "overpass", |
|||
"name": { |
|||
"de": "Erneuerbare Energien", |
|||
"en": "Renewables" |
|||
}, |
|||
"query": { |
|||
"11": [ |
|||
"(", |
|||
"node[power~\"^(plant)$\"][\"plant:source\"~\"^(wind|solar|biomass|hydro|geothermal|biogas|biofuel)$\"];", |
|||
"way[power~\"^(plant)$\"][\"plant:source\"~\"^(wind|solar|biomass|hydro|geothermal|biogas|biofuel)$\"];", |
|||
"relation[power~\"^(plant)$\"][\"plant:source\"~\"^(wind|solar|biomass|hydro|geothermal|biogas|biofuel)$\"];", |
|||
")", |
|||
"" |
|||
], |
|||
"15": [ |
|||
"(", |
|||
"node[power~\"^(plant)$\"][\"plant:source\"~\"^(wind|solar|biomass|hydro|geothermal|biogas|biofuel)$\"];", |
|||
"way[power~\"^(plant)$\"][\"plant:source\"~\"^(wind|solar|biomass|hydro|geothermal|biogas|biofuel)$\"];", |
|||
"relation[power~\"^(plant)$\"][\"plant:source\"~\"^(wind|solar|biomass|hydro|geothermal|biogas|biofuel)$\"];", |
|||
"node[power~\"^(generator)$\"][\"generator:source\"~\"^(wind|solar|biomass|hydro|geothermal|biogas|biofuel)$\"];", |
|||
"way[power~\"^(generator)$\"][\"generator:source\"~\"^(wind|solar|biomass|hydro|geothermal|biogas|biofuel)$\"];", |
|||
"relation[power~\"^(generator)$\"][\"generator:source\"~\"^(wind|solar|biomass|hydro|geothermal|biogas|biofuel)$\"];", |
|||
")" |
|||
] |
|||
}, |
|||
"feature": { |
|||
"description": "{{ tagTrans('power', tags.power) }}{% set x='generator:source' %}{% if tags[x] %}, {{ tagTransList('generator:source', tags[x]) }}{% endif %}", |
|||
"popupDescription": "{{ tagTrans('power', tags.power) }}", |
|||
"body": [ |
|||
"{% set x='generator:source' %}{% if tags[x] %}<br/>{{ keyTrans('generator:source') }}: {{ tagTransList('generator:source', tags[x]) }}{% endif %}", |
|||
"{% set x='generator:method' %}{% if tags[x] %}<br/>{{ keyTrans('generator:method') }}: {{ tagTransList('generator:method', tags[x]) }}{% endif %}", |
|||
"{% set x='generator:type' %}{% if tags[x] %}<br/>{{ tagTransList('generator:type') }}: {{ tagTrans('generator:type', tags[x]) }}{% endif %}" |
|||
], |
|||
"priority": "{% if tags.power == 'plant' %}0{% elseif tags.power == 'generator' or tags.power == 'line' %}1{% elseif tags.power == 'substation' %}2{% else %}3{% endif %}" |
|||
} |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue