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.

40 lines
1.2 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. "it": "Cantieri",
  10. "ja": "工事中",
  11. "nl": "Bouwterrein",
  12. "pt": "Locais de construção",
  13. "pt-br": "Terrenos vazios e obras",
  14. "ru": "Места строительства"
  15. },
  16. "query": {
  17. "13": [
  18. "(",
  19. "node[landuse~\"^(brownfield|greenfield|construction|)$\"];",
  20. "way[landuse~\"^(brownfield|greenfield|construction|)$\"];",
  21. "relation[landuse~\"^(brownfield|greenfield|construction|)$\"];",
  22. "node[highway~\"^(construction)$\"];",
  23. "way[highway~\"^(construction)$\"];",
  24. "relation[highway~\"^(construction)$\"];",
  25. ")"
  26. ]
  27. },
  28. "feature": {
  29. "pre": [
  30. "{% if tags.highway == 'construction' %}",
  31. "{% set key = 'highway' %}",
  32. "{% set value = tags.highway %}",
  33. "{% else %}",
  34. "{% set key = 'landuse' %}",
  35. "{% set value = tags.landuse %}",
  36. "{% endif %}"
  37. ],
  38. "description": "{{ tagTrans(key, value) }}"
  39. }
  40. }