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.

41 lines
1.3 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.highway %}",
  34. "{% else %}",
  35. "{% set key = 'landuse' %}",
  36. "{% set value = tags.landuse %}",
  37. "{% endif %}"
  38. ],
  39. "description": "{{ tagTrans(key, value) }}"
  40. }
  41. }