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.

51 lines
1.7 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Infraestructures",
  5. "cs": "Občasnká vybavenost",
  6. "de": "Einrichtungen",
  7. "en": "Amenities",
  8. "fr": "Équipements auto",
  9. "it": "Infrastrutture",
  10. "ja": "生活環境",
  11. "nl": "Voorzieningen",
  12. "pt-br": "Equipamentos",
  13. "ru": "Обслуживание транспорта",
  14. "uk": "Amenities"
  15. },
  16. "query": {
  17. "13": [
  18. "(",
  19. "node[amenity~\"^(car_rental|car_sharing|fuel)$\"];",
  20. "way[amenity~\"^(car_rental|car_sharing|fuel)$\"];",
  21. "relation[amenity~\"^(car_rental|car_sharing|fuel)$\"];",
  22. "node[amenity~\"^(charging_station)$\"][car!=\"no\"];",
  23. "node[amenity~\"^(charging_station)$\"][motorcycle!=\"no\"];",
  24. ")"
  25. ],
  26. "16": [
  27. "(",
  28. "node[amenity~\"^(car_rental|car_sharing|car_wash|charging_station|fuel|motorcycle_parking|parking)$\"];",
  29. "way[amenity~\"^(car_rental|car_sharing|car_wash|charging_station|fuel|motorcycle_parking|parking)$\"];",
  30. "relation[amenity~\"^(car_rental|car_sharing|car_wash|charging_station|fuel|motorcycle_parking|parking)$\"];",
  31. ")"
  32. ]
  33. },
  34. "feature": {
  35. "pre": [
  36. "{% set key = 'amenity' %}",
  37. "{% set value = tags.amenity %}"
  38. ],
  39. "description": "{{ tagTrans(key, value) }}",
  40. "markerSign": "{{ const[value] }}"
  41. },
  42. "const": {
  43. "car_rental": "R",
  44. "car_sharing": "S",
  45. "car_wash": "🚿",
  46. "charging_station": "🔌",
  47. "fuel": "⛽",
  48. "parking": "🅿",
  49. "motorcycle_parking": "🅿"
  50. }
  51. }