Main categories of OpenStreetBrowser with support for whitewater
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.

44 lines
1.5 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Sitios d'obres",
  5. "cs": "Staveniště",
  6. "de": "Baustellen",
  7. "en": "Construction Sites",
  8. "fr": "Constructions",
  9. "hu": "Építési terület",
  10. "it": "Cantieri",
  11. "ja": "工事中",
  12. "nl": "Bouwterrein",
  13. "pt": "Locais de construção",
  14. "pt-br": "Terrenos vazios e obras",
  15. "ru": "Места строительства"
  16. },
  17. "query": {
  18. "13": [
  19. "(",
  20. "node[landuse~\"^(brownfield|greenfield|construction|)$\"];",
  21. "way[landuse~\"^(brownfield|greenfield|construction|)$\"];",
  22. "relation[landuse~\"^(brownfield|greenfield|construction|)$\"];",
  23. "node[highway~\"^(construction)$\"];",
  24. "way[highway~\"^(construction)$\"];",
  25. "relation[highway~\"^(construction)$\"];",
  26. ")"
  27. ]
  28. },
  29. "feature": {
  30. "pre": [
  31. "{% if tags.highway == 'construction' %}",
  32. "{% set key = 'highway' %}",
  33. "{% set value = tags.construction %}",
  34. "{% elseif tags.landuse == 'construction' and tags.construction %}",
  35. "{% set key = 'landuse' %}",
  36. "{% set value = tags.construction %}",
  37. "{% else %}",
  38. "{% set key = 'landuse' %}",
  39. "{% set value = tags.landuse %}",
  40. "{% endif %}"
  41. ],
  42. "description": "{{ tagTrans(key, value) }}"
  43. }
  44. }