On Fri, Oct 18, 2013 at 5:13 PM, Geo DrinX <[email protected]> wrote:

> poly.wkbType() == QGis.WKBPolygon


That should be geom.wkbType() == QGis.WKBPolygon

poly is a list-of-list.

Polygons are list-of-lists-of-points. A list for each ring in the polygon
Linestrings are list-of-points.

This hasn't changed since 1.8, or in a long time.

- Nathan
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to