locationtech / jts

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

GeoJsonReader does not have support for reading geojson with measures #1047

Open ctytgat opened 7 months ago

ctytgat commented 7 months ago

Reading geojson with coordinates of dimension 4 does not preserve the measure ordinate.

GeoJsonReader uses the default CoordinateArraySequence() constructor, which sets dimension = 3 and measures = 0.

The same goes for GeoJsonWriter. It would be nice if support for measures could be added...