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.

52 lines
1.7 KiB

8 years ago
8 years ago
8 years ago
8 years ago
7 years ago
8 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. "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. "13": [
  19. "(",
  20. "node[amenity~\"^(car_rental|car_sharing|fuel)$\"];",
  21. "way[amenity~\"^(car_rental|car_sharing|fuel)$\"];",
  22. "relation[amenity~\"^(car_rental|car_sharing|fuel)$\"];",
  23. "node[amenity~\"^(charging_station)$\"][car!=\"no\"];",
  24. "node[amenity~\"^(charging_station)$\"][motorcycle!=\"no\"];",
  25. ")"
  26. ],
  27. "16": [
  28. "(",
  29. "node[amenity~\"^(car_rental|car_sharing|car_wash|charging_station|fuel|motorcycle_parking|parking)$\"];",
  30. "way[amenity~\"^(car_rental|car_sharing|car_wash|charging_station|fuel|motorcycle_parking|parking)$\"];",
  31. "relation[amenity~\"^(car_rental|car_sharing|car_wash|charging_station|fuel|motorcycle_parking|parking)$\"];",
  32. ")"
  33. ]
  34. },
  35. "feature": {
  36. "pre": [
  37. "{% set key = 'amenity' %}",
  38. "{% set value = tags.amenity %}"
  39. ],
  40. "description": "{{ tagTrans(key, value) }}",
  41. "markerSign": "{{ const[value] }}"
  42. },
  43. "const": {
  44. "car_rental": "R",
  45. "car_sharing": "S",
  46. "car_wash": "🚿",
  47. "charging_station": "🔌",
  48. "fuel": "⛽",
  49. "parking": "🅿",
  50. "motorcycle_parking": "🅿"
  51. }
  52. }