Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oneway=yes is ignored on routing #11

Open
Oi-sin opened this issue May 30, 2023 · 1 comment
Open

oneway=yes is ignored on routing #11

Oi-sin opened this issue May 30, 2023 · 1 comment

Comments

@Oi-sin
Copy link

Oi-sin commented May 30, 2023

It seems that the hike profile does not care about the oneway=yes tag, as for example this way https://www.openstreetmap.org/way/30081724

Thus this route https://bikerouter.de/#map=18/50.91083/14.20804/osm-mapnik-german_style&lonlats=14.206159,50.912244;14.207221,50.910982&profile=hiking-beta should not pass via the above cited way but further east via https://www.openstreetmap.org/way/34037960 like this https://bikerouter.de/#map=18/50.91083/14.20804/osm-mapnik-german_style&lonlats=14.206159,50.912244;14.208584,50.910931;14.207221,50.910982&profile=hiking-beta

@poutnikl
Copy link
Owner

poutnikl commented May 30, 2023

You are right.

Hiking-beta is more than 6 years obsolete and I am not sure why bikerouter still uses that.

But hiking profile releases have still this flaw, even the current and develop profile templates
(the hiking profiles are all generated by script from the template by modifying tweakable parameters)

https://github.com/poutnikl/Brouter-profiles/tree/master/HikeProfiles
https://github.com/poutnikl/Hiking-Poutnik/blob/master/Hiking.brf
https://github.com/poutnikl/Hiking-Poutnik/blob/develop/Hiking.brf

It is obvious I have originally got rid of the oneway logic, as its vehicle traffic context does not apply to pedestrians.
I have not realized at the moment it still applies on some challenging mountain trails.

I will try to modify profile and post the fix here, as releasing new one will take some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants