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

Fix InteriorPoint to handle partially empty collections #698

Merged
merged 1 commit into from
Mar 5, 2021

Conversation

dr-jts
Copy link
Contributor

@dr-jts dr-jts commented Mar 5, 2021

Fix is to ignore empty elements in collections.

Previously empty elements of higher dimension would cause a POINT EMPTY result, even if there were if there non-empty elements of lower dimension.

Also fixes a bug in Geometry.createPointFromInternalCoord.

Signed-off-by: Martin Davis mtnclimb@gmail.com

Signed-off-by: Martin Davis <mtnclimb@gmail.com>
@dr-jts dr-jts self-assigned this Mar 5, 2021
@dr-jts dr-jts merged commit b3cab45 into locationtech:master Mar 5, 2021
@dr-jts dr-jts deleted the fix-interiorpoint-mixed-empty branch March 5, 2021 19:18
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