Frank Warmerdam wrote: > > The fix then is to clone it when you want it to live for a while. > Also, I believe that the Union method returns the unioned > geometry - it does not modify the geometry on which it is invoked. > That did the trick, it works just fine, thanks !
Frank Warmerdam wrote: > > Lastly, please try to avoid assuming feature id's are consecutive. > So an improved script might look a bit like: > Acknowledged, it's much nicer now. Thanks again, Vasile -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Python-bindings-How-to-merge-two-geometries-tp6768614p6768777.html Sent from the GDAL - Dev mailing list archive at Nabble.com. _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev