Skip to content

Add (E)WKB support

lbartoletti requested to merge wkb into master

In this MR, I've added support for reading and writing the WKB (Well-Known Binary) and EWKB (Extended Well-Known Binary) format as requested in https://gitlab.com/Oslandia/SFCGAL/-/issues/94

For now, I've been focusing on the WKB parser, and some tests will need to be revisited later to validate and correct the WKT parser ; there is difference against PostGIS for EMPTY Z/M geometries or GeometryCollection with EMPTY geometry.

Support for TWKB (Tiny Well-Known Binary) will be included in a separate MR.

cc @robe2 @strk

Edited by lbartoletti

Merge request reports