by samcheng · 6y ago · 0 comments
If you don't want features like real-time traffic awareness, it's worth investigating the open source tooling. It can save a LOT of money.
https://github.com/Project-OSRM/osrm-backend/
(Reboot discussion at https://github.com/Project-OSRM/osrm-backend/issues/5209)
The principal downside is that the routing graph takes a lot of time and memory to prepare; runtime RAM usage is also high, though not so much. I think there's some potential for reducing its memory footprint.
Valhalla builds on the older A* algorithm, so it's not so fast (or memory-hungry), though it does make some use of hierarchies to shorten query time. Graphhopper is another, featureful routing engine designed for use with OSM data (written in Java).
[0]: https://github.com/opentripplanner/OpenTripPlanner
[1]: https://github.com/opentripplanner/OpenTripPlanner/pull/2077
[2]: https://github.com/opentripplanner/OpenTripPlanner/pull/2698
Thanks for the excellent work, though!
Until now there wasn't a need since Google provided the data for free.
But everything changed and I bet there are lots of people who need the data but can't afford paying Google.
The only question is how you gather the data since you don't have Google maps and Waze?
You can try to provide a Waze alternative, but how would you convince people to use it?
https://github.com/Project-OSRM/osrm-backend/wiki/Traffic
It works quite well.