[gdal-dev] Re: Python bindings: How to merge two geometries

vasile vasile.cotovanu at webgis.ro
Wed Sep 7 13:36:54 EDT 2011


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.


More information about the gdal-dev mailing list