GeoTools

GeometryCollector can build invalid geometries