#18919: GEOSGeometry transform method is dropping Z attribute on 3D geometries ----------------------------+-------------------- Reporter: luizvital | Owner: nobody Type: Bug | Status: new Component: GIS | Version: master Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 ----------------------------+-------------------- Here goes an example: https://gist.github.com/3655316
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`. https://github.com/django/django/blob/master/django/contrib/gis/geos/geometry.py#L516 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? -- Ticket URL: <https://code.djangoproject.com/ticket/18919> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.