-
Notifications
You must be signed in to change notification settings - Fork 447
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
VariableBuffer result polygon has incorrect hole #998
Comments
dr-jts
changed the title
Unnecessary Interior Ring Disrupting Inner Line Coordinates in Variable Buffer Operation
Incorrect hole in Variable Buffer result
Mar 14, 2024
dr-jts
changed the title
Incorrect hole in Variable Buffer result
Variable Buffer result has incorrect hole
Mar 15, 2024
dr-jts
changed the title
Variable Buffer result has incorrect hole
VariableBuffer result has incorrect hole
Mar 15, 2024
The example geometry as WKT:
|
dr-jts
changed the title
VariableBuffer result has incorrect hole
VariableBuffer polygon has incorrect hole
Mar 15, 2024
dr-jts
changed the title
VariableBuffer polygon has incorrect hole
VariableBuffer result polygon has incorrect hole
Mar 15, 2024
@Alison-97 hopefully the fix in #1014 solves your issue. Can I ask what you are using VariableBuffer for? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I am encountering an issue with the Variable Buffer class. Specifically, I am working with an open LineString. Given that the LineString is open and does not intersect itself, the buffer operation should yield a simple polygon without any interior rings (holes). However, in the current implementation, the resulting polygon contains an unnecessary interior ring. This is causing a disruption in the order of the resulting polygon coordinates.
Steps to Reproduce
Here's the .Net code to reproduce the issue:
This is a plot of the inner line coordinates.
The text was updated successfully, but these errors were encountered: