Main categories of OpenStreetBrowser with public transport zoom level
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. "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. "nwr[landuse~\"^(construction)$\"];",
  21. "nwr[highway~\"^(construction)$\"];",
  22. ")"
  23. ]
  24. },
  25. "feature": {
  26. "pre": [
  27. "{% if tags.highway == 'construction' %}",
  28. "{% set key = 'highway' %}",
  29. "{% set value = tags.construction %}",
  30. "{% elseif tags.landuse == 'construction' and tags.construction %}",
  31. "{% set key = 'landuse' %}",
  32. "{% set value = tags.construction %}",
  33. "{% else %}",
  34. "{% set key = 'landuse' %}",
  35. "{% set value = tags.landuse %}",
  36. "{% endif %}"
  37. ],
  38. "description": "{{ tagTrans(key, value) }}"
  39. }
  40. }