Main categories of OpenStreetBrowser with public transport zoom level
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

39 lines
1015 B

{
"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"
}
}