-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Geometry fixer fixes #39392
Geometry fixer fixes #39392
Conversation
The case where the gap was containing a point that was lying inside (or on the edge) of a neighbouring polygon used to fail, as we were using that neighbour's points to snap to (since it was also at distance 0). This was leading to flaky wrong results.
We were not using the same tolerance when collecting the error than when fixing the error.
src/analysis/vector/geometry_checker/qgsgeometryoverlapcheck.cpp
Outdated
Show resolved
Hide resolved
src/analysis/vector/geometry_checker/qgsgeometryoverlapcheck.cpp
Outdated
Show resolved
Hide resolved
Looks good to me! @m-kuhn I'd appreciate your review here too, you know this code better than I do... |
The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check
|
Description
This PR adds some fixes in the topology fixer logic (that is hidden by default, but used in the plugins) :
There's many more issues (just look at the tracker :-) ) including in the provided overlap fixer test, where a sliver is left after fixing the overlap.
It's not easy to fix if we want to keep the ability to fix each part of an overlap independently (as an overlap part has shared edges with the base geom). But I'm not really sure of the current state of the geometry/topology checker plugin VS core feature, so I suggest to treat that separately (in what we shall call a geometry fixer fixes fix PR :-) )