GEOSGeometry transform method is dropping Z attribute on 3D geometries
|Reported by:||luizvital||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Here goes an example:
The Z info is being lost in the conversion of GEOSGeometry to OGRGeometry, due to the use of GEOSGeometry.wkb in the constructor of OGRGeometry.
On a GEOSGeometry, only ewkb and hexewkb properties returns Z data.
But they are not understood by OGRGeometry constructor, but it accepts WKT3D.
Any hints to make GEOS to OGR 3D geometries conversion work?
Change History (16)
comment:1 Changed 3 years ago by DavidEklund
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset