[gdal-dev] Python and OGR: layer's GetGeomType and geometry's GetGeometryType return -2147483645
G. Allegri
giohappy at gmail.com
Wed Jun 5 03:13:41 PDT 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130605/2a11d0e7/attachment.html>
More information about the gdal-dev
mailing list