Main categories of OpenStreetBrowser
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.
 
 

49 lines
1.4 KiB

{
"type": "overpass",
"name": {
"ca": "Àrees en Desenvolupament",
"en": "Developable Areas",
"fr": "Zones aménageables",
"hu": "Fejlesztés alatti területek",
"it": "Aree sviluppabili",
"ja": "開発可能エリア",
"oc": "Airaus ameinatjats",
"pl": "Obszary do rozwoju",
"pt": "Áreas urbanizáveis",
"pt-br": "Áreas urbanizáveis",
"tr": "Gelişim Sahaları"
},
"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"
}
}