I have some 3D geometries in a wkb format I’m trying to create features out of. Things like point/line/polygon z/m/zm (see https://postgis.net/workshops/postgis-intro/3d.html for reference). Converting those to WKT have extra ordinates in them. For example:
LINESTRINGM (1 1 0, 1 2 0, 1 3 1, 2 2 0)
Passing the wkb of these into a new Feature(wkb) makes an invalid feature. For instance, calling .GetShape() on it will throw a null exception.
Is there a way to create these features and ignore the extra ordinates?