I'm looking for a routing server/library with minimal hardware requirements. The software needs to be run offline on user's PC (preferably 4GB RAM and mediocre CPU).It doesn't need to be the most accurate nor the fastest. I just need snapping feature and 'best' route between two coordinates as a list of waypoints. I won't use adresses, turn by turn navigation etc... For my webservice I use OSRM, it's great and robust but running it on the user machine would be a huge overkill and it would require enormous amounts of RAM (like 64GB for Europe) to even start it. asked 11 Mar '21, 00:22 adamsc |
Graphhopper has a variant that should work on mobile devices https://github.com/graphhopper/graphhopper/ However this seems to be no longer actively maintained. answered 12 Mar '21, 08:06 SimonPoole ♦ |
You can use https://github.com/Tristramg/osm4routing2 to extract the routing graph from OSM, then any A* library to do reasonable point-to-point routing - pretty much every language has an A* implementation somewhere. answered 12 Mar '21, 09:25 Richard ♦ |
BRouter was made to run on smartphones (Android), so it has low memory requirements by design. It has a server component (requires Java runtime) and can also be embedded in a Java application. For a quick start, see the standalone bundle with the BRouter-Web client. As routing profiles are evaluated at runtime, the data files can be used for all modes of transport. This flexibility comes at the cost of speed, it's way slower than OSRM. [Disclaimer: I'm a maintainer of the BRouter-Web client] answered 13 Mar '21, 14:53 ikonor |