<div dir="ltr"><div class="gmail_extra">On Fri, Oct 18, 2013 at 5:13 PM, Geo DrinX <span dir="ltr"><<a href="mailto:geodrinx@gmail.com" target="_blank">geodrinx@gmail.com</a>></span> wrote:<br><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">poly.wkbType() == QGis.WKBPolygon</blockquote></div><br>That should be geom.wkbType() == QGis.WKBPolygon</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">poly is a list-of-list.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Polygons are list-of-lists-of-points. A list for each ring in the polygon</div>

<div class="gmail_extra">Linestrings are list-of-points.</div><div class="gmail_extra"><br></div><div class="gmail_extra">This hasn't changed since 1.8, or in a long time.</div><div class="gmail_extra"><br></div><div class="gmail_extra">

- Nathan</div></div>