Browse Source

Transportation directory; bicycle routes

heritage
parent
commit
3ad505471d
  1. 19
      cycle_routes.json
  2. 33
      index.json

19
cycle_routes.json

@ -0,0 +1,19 @@
{
"type": "overpass",
"query": {
"6": "relation[type=route][route=bicycle][network~'^(icn)$']",
"9": "relation[type=route][route=bicycle][network~'^(icn|ncn)$']",
"12": "relation[type=route][route=bicycle][network~'^(icn|ncn|rcn)$']",
"15": "relation[type=route][route=bicycle]"
},
"minZoom": 6,
"feature": {
"style": {
"color": "{% if tags.network=='icn' %}#ff0000{% elseif tags.network=='ncn' %}#ff007f{% elseif tags.network=='rcn' %}#7f00ff{% else %}#0000ff{% endif %}",
"weight": 4,
"opacity": 1.0
},
"priority": "{% if tags.network=='icn' %}0{% elseif tags.network=='ncn' %}1{% elseif tags.network=='rcn' %}2{% else %}3{% endif %}"
}
}

33
index.json

@ -31,6 +31,39 @@
}
]
},
{
"id": "transport",
"type": "index",
"subCategories": [
{
"id": "transport_walk",
"type": "index",
"subCategories": [
]
},
{
"id": "transport_cycle",
"type": "index",
"subCategories": [
{
"id": "cycle_routes"
}
]
},
{
"id": "transport_pt",
"type": "index",
"subCategories": [
]
},
{
"id": "transport_car",
"type": "index",
"subCategories": [
]
}
]
},
{
"id": "places"
}

Loading…
Cancel
Save