Browse Source

Hiking/Cycling/MTB route relations: accept multi-value route=* tag

leisure-restruct
parent
commit
973f5b8b61
  1. 8
      cycle_routes.json
  2. 8
      hiking_routes.json
  3. 2
      mtb-routes.json

8
cycle_routes.json

@ -9,10 +9,10 @@
"pt-br": "Ciclorrotas" "pt-br": "Ciclorrotas"
}, },
"query": { "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]"
"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(|;.*)\"]"
}, },
"members": true, "members": true,
"feature": { "feature": {

8
hiking_routes.json

@ -9,10 +9,10 @@
"pt-br": "Rotas de caminhada" "pt-br": "Rotas de caminhada"
}, },
"query": { "query": {
"10": "relation[type=route][route=hiking][network~\"^(iwn)$\"]",
"11": "relation[type=route][route=hiking][network~\"^(iwn|nwn)$\"]",
"12": "relation[type=route][route=hiking][network~\"^(iwn|nwn|rwn)$\"]",
"14": "relation[type=route][route=hiking]"
"10": "relation[type=route][route~\"(|.*;)hiking(|;.*)\"][network~\"^(iwn)$\"]",
"11": "relation[type=route][route~\"(|.*;)hiking(|;.*)\"][network~\"^(iwn|nwn)$\"]",
"12": "relation[type=route][route~\"(|.*;)hiking(|;.*)\"][network~\"^(iwn|nwn|rwn)$\"]",
"14": "relation[type=route][route~\"(|.*;)hiking(|;.*)\"]"
}, },
"members": true, "members": true,
"feature": { "feature": {

2
mtb-routes.json

@ -7,7 +7,7 @@
"pt-br": "Rotas de mountain bike" "pt-br": "Rotas de mountain bike"
}, },
"query": { "query": {
"13": "relation[type=route][route=mtb]"
"13": "relation[type=route][route~\"(|.*;)mtb(|;.*)\"]"
}, },
"members": true, "members": true,
"feature": { "feature": {

Loading…
Cancel
Save