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

Overlapping/Duplicate OSM Ways Create Duplicate OSMLR Segments #41

Open
dnesbitt61 opened this issue Sep 21, 2017 · 0 comments
Open

Overlapping/Duplicate OSM Ways Create Duplicate OSMLR Segments #41

dnesbitt61 opened this issue Sep 21, 2017 · 0 comments

Comments

@dnesbitt61
Copy link
Contributor

When OSM ways overlap they can create duplicate Valhalla edges. This can also occur when a single way is drawn with sections that overlap. This results in multiple OSMLR segments. It also leads to splitting or breaking OSMLR segments at the nodes where duplicates occur (leading to shorter segments than are desirable).

Ideal solution is to detect these overlapping ways and not create duplicate edges in Valhalla, though this has some complications due to OSM relations. Better tools to detect and fix the underying OSML data can be helpful here as well.

A second possible approach is to not create duplicate OSMLR segments - though this does not fix the issue with splitting.

Fortunately the presence of overlapping or duplicate ways is somewhat small. While inconvenient and leading to more OSMLR segments than are needed, the overall impact is likely small.

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

1 participant