I'm adding an offline routing functionality to an Android app, and wondering if there are any standalone libraries I can use to convert OSM map files into some topological object graph. I know there are bunch of open source apps that do this, but wondering if there's any packaged library that does that. The routing is very app-dependent, so I'm not looking for a routing library, but just rather a simpler way to read in OSM data than having to parse it from XML by myself. asked 27 Jun '13, 01:23 k0zyr |
I think Graphhopper is the library you are looking for. This wiki will help you get started. Also you can subscribe to the mailing list. With graphhopper you can use a command line tool to convert the OSM files into graph files. You can load these graph files to your android device and then use the graphhopper library to get routes. This Project has matured a lot and is gaining lot of features day by day. answered 18 Aug '13, 06:30 Nirab Pudasaini |
There is something called Libosmscout but I am not sure whether it is usable on android devices. All known solutions should be collected at Frameworks, Routing and Android Maybe you should have a closer look at Graphhopper answered 27 Jun '13, 17:21 stephan75 This android app may be of use http://wiki.openstreetmap.org/wiki/AFTrack_GPS-Tracking
(27 Jun '13, 19:54)
andy mackey
1
libosmscout has support for android but you will need to use the NDK. You can find good tutorials on the net for this. But i would still suggest using Graphhopper.
(07 Oct '14, 12:04)
Nirab Pudasaini
|