Browse Source

Car routes

heritage
parent
commit
4217777e2b
  1. 20
      car_amenities.json
  2. 6
      index.json

20
car_amenities.json

@ -1,4 +1,5 @@
{ {
"type": "overpass",
"name": { "name": {
"ast": "Infraestructures", "ast": "Infraestructures",
"cs": "Občasnká vybavenost", "cs": "Občasnká vybavenost",
@ -10,5 +11,24 @@
"nl": "Voorzieningen", "nl": "Voorzieningen",
"ru": "Обслуживание транспорта", "ru": "Обслуживание транспорта",
"uk": "Amenities" "uk": "Amenities"
},
"query": {
"13": "(\nnode[amenity~\"^(car_rental|car_sharing|fuel)$\"];\nway[amenity~\"^(car_rental|car_sharing|fuel)$\"];\nrelation[amenity~\"^(car_rental|car_sharing|fuel)$\"];\n)",
"16": "(\nnode[amenity~\"^(car_rental|car_sharing|car_wash|charging_station|fuel|motorcycle_parking|parking)$\"];\nway[amenity~\"^(car_rental|car_sharing|car_wash|charging_station|fuel|motorcycle_parking|parking)$\"];\nrelation[amenity~\"^(car_rental|car_sharing|car_wash|charging_station|fuel|motorcycle_parking|parking)$\"];\n)"
},
"feature": {
"pre": "{% set key = 'amenity' %}\n{% set value = tags.amenity %}",
"description": "{{ tagTrans(key, value) }}",
"body": "{{ tagTrans(key, value) }}",
"markerSign": "{{ const[value] }}"
},
"const": {
"car_rental": "R",
"car_sharing": "S",
"car_wash": "",
"charging_station": "",
"fuel": "⛽",
"parking": "🅿",
"motorcycle_parking": "🅿"
} }
} }

6
index.json

@ -193,7 +193,11 @@
}, },
"id": "transport_car", "id": "transport_car",
"type": "index", "type": "index",
"subCategories": []
"subCategories": [
{
"id": "car_amenities"
}
]
} }
] ]
}, },

Loading…
Cancel
Save