brouter icon indicating copy to clipboard operation
brouter copied to clipboard

Tolls vs Vehicle Type

Open MotoUKRider opened this issue 2 years ago • 5 comments

Following from this discussion on the Cruiser app group here, is there an allowance for routing across a toll road when the OSM suggest that the vehicle in question (a motorcycle) does not pay a toll?

It seems that "Avoid Toll" is absolute, regardless of vehicle type and toll property.

My thinking is that if I have "Avoid Toll" on a motorcycle profile within Cruiser app, I should be able to route over any toll road where a motorcycle passes for free.

MotoUKRider avatar Oct 26 '23 08:10 MotoUKRider

To clarify, BRouter does not seem to include the toll:motorcycle in the routing data? So this tag cannot be used in profiles, we get the message "unknown lookup name: toll:motorcycle".

For example this bridge with toll=yes and toll:motorcycle=no: https://www.openstreetmap.org/way/4063883

devemux86 avatar Oct 26 '23 08:10 devemux86

I hvae added this to #458 fro the next generation lookups

afischerdev avatar Oct 27 '23 12:10 afischerdev

@afischerdev many thanks!

devemux86 avatar Oct 27 '23 13:10 devemux86

According to this post the motorcycle-toll feature still hasn't been added. There seems to be some kind of addition of the motorcycle-toll parameter to the project but I'm not very savvy with "who did what, pending, commit, push/pull" etc or whether there needs to be a full release before developers can make use of the "engine" for their apps.

For recap, this is using the Cruiser app with "internal BRouter".

MotoUKRider avatar Mar 10 '24 14:03 MotoUKRider

@MotoUKRider

This is related to the download data of BRouter (not the code). There is a large data update that has not yet been merged here:

  • https://github.com/abrensch/brouter/pull/458

devemux86 avatar Mar 10 '24 14:03 devemux86