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

Ensure GeometryFixer does not change coordinate dimension #922

Merged
merged 3 commits into from
Nov 1, 2022

Conversation

chenhh021
Copy link
Contributor

Fixes #919 by replacing new Coordinate(p) by p.copy() when copy coordinates.

Since it's a GeometryFixer bug, I add the unit test in GeometryFixerTest.java.

Please help check this PR, thanks!

@dr-jts dr-jts changed the title fix dimension change problem of GeometryFixer Ensure GeometryFixer does not change coordinate dimension Nov 1, 2022
@dr-jts dr-jts merged commit 6f954ae into locationtech:master Nov 1, 2022
@jodygarnett jodygarnett added this to the 1.20.0 milestone Aug 22, 2024
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.

GeometryFixer convert XY coordinates to XYZ coordinates after fixing polygon
3 participants