It's a long time I do not use the OGR Python APIs, but I remember I could
test layer's GetGeomType and geometry's GetGeometryType against the
integere corresponding to the
OGRwkbGeometryType enumeration [1].
Using Python-OGR from the latest Osgeo4W (Python 2.7.4 and GDAL 1.9.2) I
alwasy obtain -2147483645 (the integer type lower boundary), while ogrinfo
outputs the right type, 3D Polygon.

Am I doing something wrong?
Giovanni

[1]
http://www.gdal.org/ogr/ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a
-- 
Giovanni Allegri
http://about.me/giovanniallegri
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to