brouter-web: Load No-go areas does nothing on Chrome/Safari
Hey folks!
I’m trying to use the website to help me plan my journeys on my new Voi Scooter.
The conditions for where you can ride are:
- Cycle Lanes
- And/Or 30mp/h>= roads
- And not within Voi’s No-Ride zones
I managed to get hold of the No-Ride zones and converted them into a GeoJSON (link by @bagage). I can view that in QGIS:

However whenever I try to Load that as a No-go area in brouter, the dialog does nothing when I click Load (I’ve recorded my screen as a gif):

This is the same behaviour I also see in Safari
I would love to use the site for route planning as brouter seems like one of the only tools that handles all 3 conditions 🛴
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 1
- Comments: 18 (6 by maintainers)
Commits related to this issue
- Fix nogo area loading via URL (#405) — committed to nrenner/brouter-web by bagage 3 years ago
- Fix nogo area loading via URL (#405) — committed to bagage/brouter-web by bagage 3 years ago
- Merge remote-tracking branch 'upstream/master' * upstream/master: (25 commits) Fix nogo area loading via URL (#405) Bump ua-parser-js from 0.7.22 to 0.7.28 Add tests section to contributing C... — committed to cxberlin/brouter-web by stefankeidel 3 years ago
To bypass the URL length limitation of brouter-web (and brouter as well I believe), one solution could be to use a link in the URL, for instance
nogo-url=https://gist.githubusercontent.com/bagage/ce5a938c3eee586a7ab9b448116017e0/raw/f8fa33d554c31f4bbdd68b29e872b2ddb4990ee9/No_Ride_Zone.geojsonand then:The first solution wouln’t allow to display the nogo areas on the map so I think 2 would be better. Thoughts @nrenner?
Hey @bagage I don’t on the machine I’m on atm, but https://www.google.co.uk/maps/d/viewer?mid=1Y1uS6t1HyPK8_SoKzMMhXP_F_aBln8RX&ll=51.49351441751865%2C-2.835247920745161&z=10 is the link that Voi sent me with the long term rental area & no-go zones. You can download the No Ride Zone by clicking on the ellipsis on the left hand side and download the KML. I used QGIS to convert that to a GeoJSON 😄
BTW I pushed a fix on master to properly handle geojson load via URL example url, it should work now on brouter.damsy.net and on brouter.de on next deployment too!