[Qgis-developer] wkbType() for shape files

Bernhard Ströbl bernhard.stroebl at jena.de
Wed Jul 9 03:06:38 PDT 2014


Hi,

I have a shapefile with a multiPolygon.
layer.wkbType() == QGis.WKBMultiPolygon returns False

having a multiPolygon-PostGIS layer
layer.wkbType() == QGis.WKBMultiPolygon returns True

Is this the expected behaviour or a bug?

If you confirm it is the expected beaviour (maybe shape cannot 
differentiate between polygon and multipolygon but only between 
point/line/polygon) can you tell me for which other dataProviders this 
is true?

Bernhard



__________ Information from ESET Mail Security, version of virus signature database 10068 (20140709) __________

The message was checked by ESET Mail Security.
http://www.eset.com




More information about the Qgis-developer mailing list