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