﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
18919	GEOSGeometry transform method is dropping Z attribute on 3D geometries	luizvital	nobody	"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?


"	Bug	closed	GIS	dev	Normal	fixed			Accepted	1	0	0	0	0	0
