How to use OSRM with OsmAnd?

775 views
Skip to first unread message

Percherie OnDaNet

unread,
Dec 29, 2012, 8:02:51 AM12/29/12
to osm...@googlegroups.com
Hello,


I just discovered OSRM and this tool is reliable, fast, fluid and mostly maintained regularly.

Is there a solution to integrate OsmAnd? I thought otherwise download gpx track provided by their website and integrate it into OsmAnd but it is less convenient.

I read some technical test above, OSRM is more fluid and faster than GoogleMap and other similar tool.

After testing CloudMade, OpenRouteService YOURS and I highly recommended these tools, I find myself very often on the wrong direction or unwanted locations.

They are dangerous and the risk of displeasing the new users.

Stephan75

unread,
Dec 29, 2012, 9:28:03 AM12/29/12
to osm...@googlegroups.com
you are not the first one asking for that:

Victor Shcherb

unread,
Dec 29, 2012, 10:25:46 AM12/29/12
to osmand
Hi,
OSRM is not primary goal of the project. But if anyone of contributors can develop and share it, he is definitely welcome.

Best Regards,
Victor


2012/12/29 Stephan75 <der.steph...@googlemail.com>

rodolfo

unread,
Dec 29, 2012, 4:04:19 PM12/29/12
to osm...@googlegroups.com
This routing service uses a different algorithm, which is (now) a fast engine, but only for car routing.
Today, I contacted the developer (Dennis Luxen) to ask about the OSRM future.
These are the results: (published with his permission)

>>(question) From time to time, there are questions from OsmAnd users, who suggest OSRM would be a suitable routing engine for this app.
Yes, there seems to be quite an amount of interest in that. I'd be happy if OSRM was available in OsmAnd.

>>Until now, I responded these questions, citing this page, which states there is no support for bicycle and pedestrian routing to explain why it has not been incorporated.
Well, while OSRM (as a backend) is able to route bikes and pedestrian and a couple of more modes, there isn't a publicly available instance that runs any of them.

>>In github, I saw some recent commits, regarding bicycle options, but it is not clear to me what this means for the routing options.
Right, we are working on things as we speak. But there is some work left to do to get things right. For example, we would like to be able to route bikes over areas and similar stuff.

>>Also, your OSM web link shows only "car fastest route".
Right, it is a preparation for future features. The web client is more or less ready and we are working on the server backend.

>>Can we expect specific routing algoritms for bicycles or/and pedestrians, that can handle cases like:
>>- a stairs is ok for pedestrians, but not for all other transport types
Yes.
>>- one-way streets do not affect pedestrians
Yes.

>>Could you please tell me something about the current state and (near) future plans? It would help us in answering our user questions.
If I had spare servers with lots of RAM, I'd have these modes running already.
The plans are in the following order: Completing PhD, finishing remaining work on OSRM to support a single travel mode per server instance. And then start development on the next version.

>>Do you have any idea for the implementation of the different routing types in a publicly available routing service, usable by OsmAnd?
Well, depends on the resources. Right now, I don't have any spare hardware.

>>.... For waiting, do we have to count in weeks, months, years??
Perhaps months.

------ end of quotes -------
I hope Dennis answered some of our questions.

Rodolfo

Jo.

unread,
Dec 30, 2012, 3:28:29 AM12/30/12
to osm...@googlegroups.com
thank you for sharing this discussion, I now know a bit more about the issue

2012/12/29 rodolfo <rodo...@gmail.com>

Massimo

unread,
Nov 28, 2013, 4:21:27 AM11/28/13
to osm...@googlegroups.com
Though old thread, here I found the right discussion about OSRM with Osmand.
Thanks, that I now noticed OSRM is already included into Osmand as of today. As I was guessing the "Car only" feature is only due to the one installation instance while OSRM in general could do different types of routing.
Maybe Osmand will have the resources in future to run its own instance of OSRM in collaboration with Dennis...

Best regards.

Massimo

unread,
Feb 7, 2014, 2:43:34 AM2/7/14
to osm...@googlegroups.com
Some news after using OSRM as default routing method...
I wondered that Osmand does not help anymore when choosing the right track on multi-track highways. But this was due to OSRM. Using the local Osmand routing which I was forced to in foreign countries for avoiding roaming costs, there the "tracking" guide was working again.
So for short routes I prefer the local one, but for long routes this takes far too much time and resources on small devices. Then switching between local and online routing is not that easy on the road. If there would be a fallback to local routing if data is not available that would help by just cutting the data connection.

Best regards,
Massimo
Reply all
Reply to author
Forward
0 new messages