locationtech / jts

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

Fix writing XYM geometries as WKB #1092

Open Kontinuation opened 1 month ago

Kontinuation commented 1 month ago

Fixes https://github.com/locationtech/jts/issues/733

Please note that we must specify outputDimension = 4 when writing geometries with M dimension, even when the geometry is XYM instead of XYZM. This behavior is the same as WKTWriter.