Customizing a routingProfile, and using onewayAware="false" is not enough
#25401
doronbehar
started this conversation in
Maps Related
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I drive my bicycle in a crowded city with lot's of one-way streets. I like the elevation aware navigation of OsmAnd's bicycle profile, but in this city it very often doesn't make sense to avoid driving in the opposite direction of small & quiet one-way streets. Hence I wanted to customize a routing profile to do this. I grabbed [
routing.xmlfromOsmAnd-resourcesrepo](https://github.com/osmandapp/OsmAnd-resources/blob/master/routing/routing.xml], and tried to perform the following minimal diff:But it turned out to not be enough - OsmAnd with this profile would still consider one-way streets as hard blocks for the routes I gave to it. Example:
After an hour+ of debugging, I found out the following additional diff is working:
I was wondering maybe the XML comments are missing something, or is this a bug...
All reactions