I did not paste the simple Python version, 
here it is : http://pastebin.com/Pz40E63R

The loaded files are at (pasted in the C source code as commentary) :
#
http://code.djangoproject.com/browser/django/trunk/django/contrib/gis/tests/data/test_vrt/test_vrt.vrt
#
http://code.djangoproject.com/browser/django/trunk/django/contrib/gis/tests/data/test_vrt/test_vrt.csv


On Wed, 13 Oct 2010 17:43:14 +0200, Simon Thépot
<[email protected]> wrote:
> Hi all,
> i'm experiencing a test failure on postgis 1.4 using Python that I
> isolated in Python and C
> Python : http://pastebin.com/PYG5tdMK
> C : http://pastebin.com/KXHENU90
> 
> getExtent won't work and result in a (GRException: OGR failure).
> As i investigated, I think it is due to a GeomType that is not set for
its
> OGRFeatureDefn (GetLayerDef).
> 
> But... it seems the GeomType is set in Python (and C I think), as it
> ansers me Point25D.
> 
> The C version seems pretty straight forward and I hope someone may give
me
> a hand on this, been stuck on it all the day... :(
> 
> Thanks a lot for any insight,
> Cheers,
> Simon Thepot
> _______________________________________________
> postgis-users mailing list
> [email protected]
> http://postgis.refractions.net/mailman/listinfo/postgis-users
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to