[Community] Unable to obtain MultiPolygon in Shapely

Sanjiv Singh singhsanjivk at gmail.com
Wed Jul 9 20:18:15 EEST 2008


Hi,

I am trying to obtain a multipolygon using Shapely as follows:

country.geometry = asShape(feature.geometry)

and getting IndexError: list index out of range
I have pasted the trace back here[1] . It seems to work for
singular geometries. I have tried with point and polygon geometries.
The feature geometries seem to be correct as they render properly
as OpenLayers GML layer.

What else should I check?

Regards
Sanjiv

[1]  http://paste.turbogears.org/paste/3142



More information about the Community mailing list