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 Geometry.reverse bugs #628

Merged
merged 4 commits into from
Oct 29, 2020
Merged

Conversation

dr-jts
Copy link
Contributor

@dr-jts dr-jts commented Oct 29, 2020

Fixes bugs:

  • CoordinateSequences.reverse now handles sequences of zero size
  • MultiGeometries with a single element are now handled correctly (by avoiding the use of GeometryFactory.buildGeometry)

Added a more complete set of GeometryTestData.

Fixes #627.

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

Signed-off-by: Martin Davis <mtnclimb@gmail.com>
Signed-off-by: Martin Davis <mtnclimb@gmail.com>
Signed-off-by: Martin Davis <mtnclimb@gmail.com>
Signed-off-by: Martin Davis <mtnclimb@gmail.com>
@dr-jts dr-jts merged commit 1942b8f into locationtech:master Oct 29, 2020
@dr-jts dr-jts deleted the fix-geometry-reverse branch October 29, 2020 19:50
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.

ClassCastException when reversing MultiLineString with only a single LineString
1 participant