#12312: MultiLineString OGRGeometry dimensions change on transform ---------------------------------+------------------------------------------ Reporter: yourcelf | Owner: nobody Status: new | Milestone: Component: GIS | Version: SVN Keywords: gdal OGRGeometry 3D | Stage: Unreviewed Has_patch: 0 | ---------------------------------+------------------------------------------ After calling "transform" on a 2D MultiLinestring OGRGeometry object, wkt returned by the OGRGeometry object is 3D.
Comments the definition of OGRGeometry.transform in django/contrib/gis/gdal/geometries indicate that this may be a result of a GDAL bug (http://trac.osgeo.org/gdal/changeset/17792 ) present in GDAL versions prior to 1.7. The transform function has a workaround that resets the OGRGeometry object's dimension property, but the resulting object still returns 3D wkt. Attached is a failing test case. -- Ticket URL: <http://code.djangoproject.com/ticket/12312> Django <http://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-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.