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

Route intersects large no-go area #837

Open
sjakobi opened this issue Nov 17, 2024 · 3 comments
Open

Route intersects large no-go area #837

sjakobi opened this issue Nov 17, 2024 · 3 comments

Comments

@sjakobi
Copy link

sjakobi commented Nov 17, 2024

https://brouter.de/brouter-web/#map=16/50.9542/11.9992/osm-mapnik-german_style&lonlats=11.998077,50.950385;11.994902,50.958213&nogos=11.75532,50.918538,17302&profile=fastbike

image

My expectation was that the route would not intersect the no-go area.

@sjakobi
Copy link
Author

sjakobi commented Nov 17, 2024

I suspect that this issue is due to a loss of precision in the no-go area implementation, so maybe this issue rather belongs at https://github.com/abrensch/brouter/issues.

@afischerdev
Copy link

@sjakobi

maybe this issue rather belongs at https://github.com/abrensch/brouter/issues.

Yes, I think so. I'll have a look on it.

@afischerdev
Copy link

The points of the route are all outside the defined distance. So I would think at the moment, it belongs more to the use of a simple circle around the center.

If you create a route north of the circle, the boundaries are treated very precisely. Please have a look here.

May be it helps to generate a polyline, something like defined in CircleGoArea

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