-
Notifications
You must be signed in to change notification settings - Fork 11
/
coal.json
59 lines (59 loc) · 2.61 KB
/
coal.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"type": "overpass",
"name": {
"ca": "Carbó",
"cs": "Uhlí",
"de": "Kohle",
"en": "Coal",
"es": "Carbón",
"fr": "Charbon",
"gl": "Carbón",
"hu": "Kőszén",
"it": "Carbone",
"ja": "石炭",
"nb": "Kull",
"nl": "Kolen",
"oc": "Carbon",
"pl": "Węgiel",
"pt": "Carvão",
"pt-br": "Carvão",
"ro": "Cărbune",
"ru": "Уголь",
"sr": "Угаљ",
"tr": "Kömür"
},
"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
}
}