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

Cost for probablyGood cycleway should be lower than for unknown cycleway #3

Closed
xuiqzy opened this issue Jan 24, 2022 · 1 comment
Closed

Comments

@xuiqzy
Copy link

xuiqzy commented Jan 24, 2022

else if ( highway=cycleway ) then ( if probablyGood then 1.1 else if isunpaved then 200 else 1.0 )

The cost (?) for a probablyGood cycleway seems to be higher (1.1) than if nothing special is known about the cycleway (1.0). I don't understand much about the routing profile format, but looking at other similar if else cases, this seems to be in the wrong order here.

@FFMbyBicycle
Copy link
Owner

Thanks for the report, you're absolutely right! I will fix this in a few minutes. Due to the low cost difference it shouldn't have a large impact, but of course it should be the other way around.

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