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 WKTReader to produce correct XY coordinate dimension for POLYGON EMPTY #828

Merged
merged 1 commit into from
Jan 12, 2022

Conversation

dr-jts
Copy link
Contributor

@dr-jts dr-jts commented Jan 12, 2022

Fixes WKTReader to set the correct coordinate dimension for POLYGON EMPTY when the dimension is XY.

Add Javadoc to clarify coordinate dimension semantics (highlighting the WKTReader.setIsOldJtsCoordinateSyntaxAllowed method)

Fixes #827

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

of empty atomic geoms
Fix coordinate dimension of empty Polgons

Signed-off-by: Martin Davis <mtnclimb@gmail.com>
@dr-jts dr-jts self-assigned this Jan 12, 2022
@dr-jts dr-jts merged commit 7c89c9b into locationtech:master Jan 12, 2022
@dr-jts dr-jts deleted the fix-polygon-empty-coorddim branch January 12, 2022 19:58
@jodygarnett jodygarnett added this to the 1.19.0 milestone Jun 21, 2022
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.

WKTReader LINESTRING EMPTY dimension = 3?
2 participants