-
Notifications
You must be signed in to change notification settings - Fork 11
/
electric_power.json
44 lines (44 loc) · 2.31 KB
/
electric_power.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"type": "overpass",
"name": {
"ast": "Enerxía",
"ca": "Energia Elèctrica",
"cs": "Elektřina",
"de": "Elektrischer Strom",
"en": "Electric Power",
"es": "Energía eléctrica",
"et": "Elekter",
"fr": "Production/transport électrique",
"gl": "Enerxía eléctrica",
"hu": "Áramellátás",
"it": "Energia elettrica",
"ja": "電力",
"nb": "Elektrisk strøm",
"nl": "Stroomvoorziening",
"oc": "Produccion/ Transpòrt d'Energia",
"pl": "Elektroenergetyka",
"pt": "Eletricidade",
"pt-br": "Energia elétrica",
"ro": "Energie",
"ru": "Электроэнергетика",
"sr": "Електрична енергија",
"tr": "Elektrik Enerjisi"
},
"query": {
"11": "(node[power~'^(plant)$'];way[power~'^(plant|line)$'];relation[power~'^(plant)$'];)",
"13": "(node[power~'^(plant|generator|substation)$'];way[power~'^(plant|line|generator|substation)$'];relation[power~'^(plant|generator|substation)$'];)",
"15": "(node[power~'^(plant|generator|substation|transformer|tower)$'];way[power~'^(plant|line|generator|substation|transformer|minor_line)$'];relation[power~'^(plant|generator|substation|transformer)$'];)",
"16": "(node[power];way[power];relation[power];)"
},
"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 %}"
],
"markerSymbol": null,
"priority": "{% if tags.power == 'plant' %}0{% elseif tags.power == 'generator' or tags.power == 'line' %}1{% elseif tags.power == 'substation' %}2{% else %}3{% endif %}"
}
}