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.

39 lines
1015 B

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "en": "Developable Areas"
  5. },
  6. "query": {
  7. "13": [
  8. "(",
  9. "nwr[landuse~\"^(brownfield|greenfield)$\"];",
  10. ")"
  11. ]
  12. },
  13. "feature": {
  14. "pre": [
  15. "{% set key = 'landuse' %}",
  16. "{% set value = tags.landuse %}"
  17. ],
  18. "style": {
  19. "color": "{{ const[value] }}"
  20. },
  21. "markerSymbol": "{{ markerPointer({fillColor:const[value]})|raw }}",
  22. "listMarkerSymbol": "{{ markerCircle({fillColor:const[value]})|raw }}",
  23. "description": "{{ tagTrans(key, value) }}"
  24. },
  25. "info": [
  26. "<table>",
  27. "{% for value, color in const %}",
  28. " <tr>",
  29. " <td>{{ markerCircle({fillColor: color})|raw }}</td>",
  30. " <td>{{ tagTrans('landuse', value) }}</td>",
  31. " </tr>",
  32. "{% endfor %}",
  33. "</table>"
  34. ],
  35. "const": {
  36. "brownfield": "#c3701f",
  37. "greenfield": "#009800"
  38. }
  39. }