locationtech / jts

The JTS Topology Suite is a Java library for creating and manipulating vector geometry.
Other
1.94k stars 442 forks source link

Fix Geometry.getCoordinate for collections with empty first element #987

Closed dr-jts closed 1 year ago

dr-jts commented 1 year ago

Fixes Geometry.getCoordinate to return a coordinate from a non-empty collection with an empty first element.