Skip to content

v.overlay: do not use invalid centroids#7338

Merged
metzm merged 1 commit intoOSGeo:mainfrom
metzm:v.overlay_invalid_centroids
Apr 23, 2026
Merged

v.overlay: do not use invalid centroids#7338
metzm merged 1 commit intoOSGeo:mainfrom
metzm:v.overlay_invalid_centroids

Conversation

@metzm
Copy link
Copy Markdown
Contributor

@metzm metzm commented Apr 23, 2026

As the title says, this PR ensures that v.overlay does not use invalid centroids in the result. These invalid centroids can lead to duplicate centroids or centroids outside any area in the output.

@metzm metzm added this to the 8.6.0 milestone Apr 23, 2026
@metzm metzm requested a review from petrasovaa April 23, 2026 17:21
@metzm metzm added bug Something isn't working vector Related to vector data processing C Related code is in C module backport to 8.4 PR needs to be backported to release branch 8.4 backport to 8.5 PR needs to be backported to release branch 8.5 labels Apr 23, 2026
@metzm
Copy link
Copy Markdown
Contributor Author

metzm commented Apr 23, 2026

Some tests fail because there is again some mess in r.sim.water...

@nilason
Copy link
Copy Markdown
Contributor

nilason commented Apr 23, 2026

Some tests fail because there is again some mess in r.sim.water...

These seemingly random, immensely difficult to debug failures.
Now good to go after re-run.

@metzm
Copy link
Copy Markdown
Contributor Author

metzm commented Apr 23, 2026

Some tests fail because there is again some mess in r.sim.water...

These seemingly random, immensely difficult to debug failures. Now good to go after re-run.

Looks like fortran code translated to C without sanity checks, and then parallelized. There must be numerical instability somewhere. Different issue, thanks for triggering the re-run!

@metzm metzm merged commit 69d6f9f into OSGeo:main Apr 23, 2026
26 of 27 checks passed
@metzm metzm deleted the v.overlay_invalid_centroids branch April 23, 2026 19:48
metzm added a commit that referenced this pull request Apr 23, 2026
metzm added a commit that referenced this pull request Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport to 8.4 PR needs to be backported to release branch 8.4 backport to 8.5 PR needs to be backported to release branch 8.5 bug Something isn't working C Related code is in C module vector Related to vector data processing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants