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.

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