Can´t find routing xml on my Android 6 device

281 views
Skip to first unread message

Torben Vandborg

unread,
Feb 5, 2017, 8:02:58 AM2/5/17
to Osmand
Hi out there.

I would like to change the speeds used in calculation of routes and I have seen the file routing.xml on github. My problem is that I can´t find that file on my Samsung Tablet with Android 6. Please help me.

Regards
Torben Denmark

poutnik

unread,
Feb 5, 2017, 10:27:50 AM2/5/17
to osm...@googlegroups.com
Hi,
It is OK you cannot find it, as OSMand uses it own internal copy unless the external file is used.
Just copy the file from Github, make the desired changes and place it in the root of the Osm data folder you use.

5. února 2017 14:02:58 CET, Torben Vandborg <torbenv...@gmail.com> napsal:

--
Sent from my phone via Android email client K-9.
Please, forgive my brevity.

Peter B

unread,
Feb 5, 2017, 1:25:02 PM2/5/17
to Osmand

stf

unread,
Feb 5, 2017, 3:35:09 PM2/5/17
to Osmand
Careful with getting routing.xml from github: Sometimes there are changes in it that are not finalized or compatible with the release of OsmAnd you are running.

Case in point: I am running v2.5.4 and the version of routing.xml that was on GitHub late last week would crash my version of OsmAnd. It appeared to be something in the bicycle routing that was new and possibly not fully debugged. I think it is safer to grab the APK file for your version of OsmAnd and extract the routing.xml from it to use as your base for making local changes.

Once you have a changed routing.xml file, it can be placed in the same directory on your phone as the map files. On my phone that is /sdcard/Android/data/net.osmand.plus/files/ but that can vary so just look at the "Data storage folder" value in your OsmAnd "General Settings".

On Sunday, February 5, 2017 at 10:25:02 AM UTC-8, Peter B wrote:
Here it is
https://github.com/osmandapp/OsmAnd-resources/blob/master/routing/routing.xml

Torben Vandborg

unread,
Feb 7, 2017, 12:42:21 PM2/7/17
to Osmand

Hi stf

I have same version as you 2.5.4, but the APK is 2.5.3.345 and Osmand chrash with that version of the file. I have also tried the version on github with same result (crash). I tried both versions without any changes so I was sure that din´t make any errors.

stf

unread,
Feb 7, 2017, 3:26:49 PM2/7/17
to Osmand
You can find the release files for all versions at http://download.osmand.net/releases/ And it should be possible using ADB to pull a copy of the version you are running off your phone. 

Either way, if you get the routing.xml that matches the version of OsmAnd you are running it should work.
Reply all
Reply to author
Forward
0 new messages