145 points · by altilunium · 4y ago · 26 comments
Brouter is far beyond that, it's all about finding a route that is better than the shortest one. With a wildly configurable preference metric, because cyclists have wildly different preferences.
(and it's designed to run offline, on an android phone with no connection, the linked page is just a web front-end)
On what license? In which format? What is the quality of this data?
OSM community is not very import happy, for some quite good reasons.
And "publicly available" does not mean "on a compatible license". OSM was started because Ordnance Survey refused to make its data available under sane license.
--------
In meantime StreetComplete android app allows to relatively easily collect some of that - height limits under bridges, weight limits on bridges (disclaimer: I contributed to this app)
If I could suggest one feature: if the app see I am in a new location and I do not move much (read it: I am not driving my car), it could show me android notification asking if I want to answer for some questions about this place.
I love StreetComplete but as this is not an app you open everyday it is easy to forget about it for a few days and recall it only when you are back at home - where you already answered all the questions about every item around you. And you feel sorry you did some bicycle trip yesterday but forgot about contributing to OSM.
Does anyone know how BRouter compares to the other FOSS tools, like Valhalla or Graphhopper?
https://github.com/poutnikl/Brouter-profiles/wiki/Glossary#d
Http://www.vintagemtb.org/maps
I would prefer the routing algorithm as WASM module so that routing apps can be done as static web sites. It's not that expensive algorithm after all.
Only hard part was splitting the dataset as static files, but it was neatly tiled already so it shouldn't be too hard.
BRouter works by relying on segments (relevant extracts from the OSM data, in a custom format) of 5x5 latitude/longitude degrees. See https://github.com/abrensch/brouter/blob/f3895791766dfcd7cd0... for their creation (full doc https://github.com/abrensch/brouter/blob/1765ec45230e337319c...).
From my knowledge of the BRouter codebase and past contributions, it should not be a big deal to move from 5x5 to something more web tractable (as 1x1 latitude/longitude).