forked from plepe/openstreetbrowser-categories-main
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresources.json
40 lines (40 loc) · 1.24 KB
/
resources.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
{
"type": "overpass",
"name": {
"ast": "Estraición de recursos",
"cs": "Těžba surovin",
"de": "Ressourcengewinnung",
"en": "Resource Extraction",
"fr": "Extraction des ressources",
"hu": "Bányászat",
"it": "Areee estrattive",
"nl": "Grondstoffenwinning",
"pt": "Extração de recursos",
"pt-br": "Extração de recursos",
"ru": "Добыча ресурсов"
},
"query": {
"11": [
"(",
"node[landuse~\"^(quarry|salt_pond)$\"];",
"node[man_made~\"^(mineshaft)$\"];",
"way[landuse~\"^(quarry|salt_pond)$\"];",
"way[man_made~\"^(mineshaft)$\"];",
"relation[landuse~\"^(quarry|salt_pond)$\"];",
"relation[man_made~\"^(mineshaft)$\"];",
")"
]
},
"feature": {
"pre": [
"{% if tags.landuse in [ 'quarry', 'salt_pond' ] %}",
" {% set key = 'landuse' %}",
" {% set value = tags.landuse %}",
"{% else %}",
" {% set key = 'man_made' %}",
" {% set value = tags.man_made %}",
"{% endif %}"
],
"description": "{{ tagTrans(key, value) }}"
}
}