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

Improve buffer segment removal heuristic #1098

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

dr-jts
Copy link
Contributor

@dr-jts dr-jts commented Nov 21, 2024

The buffer algorithm removes very short segments from generated offset curves to improve robustness and output quality.
This increases the length of segment that is removed (from tiny to veryvery short).

CURVE_VERTEX_SNAP_DISTANCE_FACTOR = 1.0E-4;  // before was 1.0E-6

See libgeos/geos#1125

@dr-jts dr-jts merged commit 9df69d1 into locationtech:master Nov 21, 2024
2 checks passed
@dr-jts dr-jts deleted the improve-buffer-seg-removal branch November 21, 2024 23:25
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