Skip to content

Conversation

@dr-jts
Copy link
Contributor

@dr-jts dr-jts commented Nov 7, 2025

Adds a heuristic to remove buffer generation artifacts of atomic geometries, by keeping only the largest part of the buffer result.

Artifacts are small anomalous polygons created by either topology building robustness problems, or by "overlaps" created during buffer curve generation using flat end caps.

Example 1

libgeos/geos#1321
image.

Before:

image

After:

image

Example 2

r-spatial/sf#2552

Before:

image

After:

image

@dr-jts dr-jts changed the title Add buffer artifact removal heuristic Add buffer artifact removal heuristic for single-element inputs Nov 7, 2025
@dr-jts dr-jts merged commit 727943b into locationtech:master Nov 7, 2025
2 checks passed
@dr-jts dr-jts deleted the add-buffer-artifact-removal branch November 7, 2025 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant