Hi,
I want to do a union on many ogr.Geometry stored in a list, but I have a
TypeError: unbound method UnionCascaded() must be called with Geometry
instance as first argument (got list instance instead).
I though UnionCascaded was made to perform Union on many geometries like
this:
geometries = []
for feature in featureCollection['features']:
geometries.append(ogr.CreateGeometryFromJson(json.dumps(feature['geometry'])))
outputGeometry = ogr.Geometry
output = outputGeometry.UnionCascaded(geometries)
How am I supposed to use this function if list are not accepted?
Thank you,
-Max Demars
--
Stack Overflow: http://stackoverflow.com/users/1914034/burton449
GIS Overflow: http://gis.stackexchange.com/users/14426/burton449
LastFm: http://www.lastfm.fr/user/burton449
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev