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.

43 lines
1.2 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Infraestructures",
  5. "cs": "Občanská vybavenost",
  6. "de": "Einrichtungen",
  7. "en": "Amenities",
  8. "fr": "Équipements",
  9. "hu": "Létesítmények",
  10. "it": "Infrastrutture",
  11. "ja": "生活環境",
  12. "nl": "Voorzieningen",
  13. "pt-br": "Equipamentos",
  14. "ru": "Транспортные принадлежности",
  15. "uk": "Amenities"
  16. },
  17. "query": {
  18. "14": [
  19. "(",
  20. "nwr[amenity~\"^(taxi|ticket_counter)$\"];",
  21. "nwr[railway~\"^(subway_entrance)$\"];",
  22. ")"
  23. ]
  24. },
  25. "feature": {
  26. "pre": [
  27. "{% if tags.railway == 'subway_entrance' %}",
  28. " {% set key = 'railway' %}",
  29. " {% set value = tags.railway %}",
  30. "{% else %}",
  31. " {% set key = 'amenity' %}",
  32. " {% set value = tags.amenity %}",
  33. "{% endif %}"
  34. ],
  35. "description": "{{ tagTrans(key, value) }}",
  36. "markerSign": "{{ const[value] }}"
  37. },
  38. "const": {
  39. "taxi": "🚖",
  40. "ticket_counter": "🎫",
  41. "subway_entrance": "🚉"
  42. }
  43. }