forked from plepe/openstreetbrowser-categories-main
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevelopable_areas.json
39 lines (39 loc) · 1015 Bytes
/
developable_areas.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
{
"type": "overpass",
"name": {
"en": "Developable Areas"
},
"query": {
"13": [
"(",
"nwr[landuse~\"^(brownfield|greenfield)$\"];",
")"
]
},
"feature": {
"pre": [
"{% set key = 'landuse' %}",
"{% set value = tags.landuse %}"
],
"style": {
"color": "{{ const[value] }}"
},
"markerSymbol": "{{ markerPointer({fillColor:const[value]})|raw }}",
"listMarkerSymbol": "{{ markerCircle({fillColor:const[value]})|raw }}",
"description": "{{ tagTrans(key, value) }}"
},
"info": [
"<table>",
"{% for value, color in const %}",
" <tr>",
" <td>{{ markerCircle({fillColor: color})|raw }}</td>",
" <td>{{ tagTrans('landuse', value) }}</td>",
" </tr>",
"{% endfor %}",
"</table>"
],
"const": {
"brownfield": "#c3701f",
"greenfield": "#009800"
}
}