Osmand not routing around Toll Booths

201 views
Skip to first unread message

Patrick Dailey

unread,
May 1, 2013, 12:04:06 PM5/1/13
to osm...@googlegroups.com
Osmand keeps routing me through toll booths even though I've checked the box to avoid tolls. I've checked and double checked that the toll booths are correctly tagged on OSM also. Perhaps Osmand needs a special tag in OSM for toll booths, or do the roads need to be tagged also? Do you think this problem is in Osmand or OSM? If it's in OSM, please let me know how I should fix it.

Current tags (Potlatch)
barrier : toll_booth
fee : $0.75
toll : yes

Victor Shcherb

unread,
May 2, 2013, 4:24:53 PM5/2/13
to osmand
There is an open discussion should we support barrier=toll_booth or only ways with toll=yes.

Victor


--
You received this message because you are subscribed to the Google Groups "Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Patrick Dailey

unread,
May 3, 2013, 12:18:17 PM5/3/13
to osm...@googlegroups.com
I don't know if this helps, but on the Map Features wiki page https://wiki.openstreetmap.org/wiki/Map_Features "toll : yes" & "barrier : toll_booth" both specify Element = point. There is nothing relating to tolls that specify Element = way or Element = polygon.

If you're worried that OsmAnd won't be able to determine whether a way is a toll road just based on a single point being tagged as "toll : yes", or "barrier : toll_booth" then why not just rout around both points and ways tagged with "toll : yes"?

Conversely, if neither is supported at the moment, then why not take the feature out until a decision has been made?

Victor Shcherb

unread,
May 3, 2013, 7:04:25 PM5/3/13
to osmand

This file https://github.com/osmandapp/Osmand/blob/master/OsmAnd-java/src/net/osmand/router/routing.xml quite easy to change and keep it local or even create a pull request.  So barrier : toll_booth will impassable obstacle in avoid_toll context.

Or you can create a bug of it but please specify all information about the place to test.



--

Patrick Dailey

unread,
May 6, 2013, 7:06:22 PM5/6/13
to osm...@googlegroups.com
Okay, I edited the file to my liking, and I think it should work, but I don't know where to put it so that OsmAnd will use it.

I'm sorry, but I'm not a git user (I'm not a programmer by any stretch of the imagination). I wouldn't know how to do a pull request, even if my changes were good enough to use.

Could you also post a link to the bug tracker? I'd be happy to file a bug if you want one.

Victor Shcherb

unread,
May 7, 2013, 6:00:31 PM5/7/13
to osmand
There is no need to be git user, just github user :)
Do you see there "Edit file" option , you don't need to do anything tricky browser is more then enough.

Via pull-request it is faster and higher chance to accept because it is less work for develoeprs :)


Victor




--

Victor Shcherb

unread,
May 7, 2013, 6:01:24 PM5/7/13
to osmand
Put routing.xml to /sdcard/osmand/routing.xml

Be aware now only "old routing" is supported but for patching please patch both "old routing API" and "new routing api"

Patrick Dailey

unread,
Jun 13, 2013, 11:47:24 AM6/13/13
to osm...@googlegroups.com
The file I edited also does not work to route me around toll booths. Is there another way to do this, or will the feature be supported in the future? As I said before, if there is no intention of making the feature work, than it should be removed from the menu.

Patrick Dailey

unread,
Oct 28, 2013, 10:55:55 AM10/28/13
to osm...@googlegroups.com
Alright! This works now. Thank you very much.

On Wednesday, May 1, 2013 12:04:06 PM UTC-4, Patrick Dailey wrote:
Reply all
Reply to author
Forward
0 new messages