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

JOSM validation: self-intersecting ways #10

Open
roelderickx opened this issue Jul 7, 2021 · 0 comments
Open

JOSM validation: self-intersecting ways #10

roelderickx opened this issue Jul 7, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@roelderickx
Copy link
Owner

After converting a shapefile to osm the JOSM validator may report self-intersecting ways among other errors and warnings.

Reordering nodes is not enough to solve this specific warning. In stead the ways should be split up on every intersection point, which may require extra nodes to be added. As a result there will be a number of new circular ways, if the original way is circular and part of a relation then the role (inner or outer) of all new ways must be recalculated. This will potentially degrade the performance significantly, and it should be noted that not all use-cases of ogr2osm require this.

@roelderickx roelderickx added the enhancement New feature or request label Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant