[Qgis-developer] disjoint checking in geometry addPart

Denis Rouzaud denis.rouzaud at gmail.com
Tue Apr 23 01:11:00 PDT 2013


Hi,

I am wondering if this is correct to check if polygons are disjoint when 
trying to add a new part to a multipolygon.
https://github.com/qgis/Quantum-GIS/blob/master/src/core/qgsgeometry.cpp#L3009

Indeed if you try add a new part having a segment in common with an 
existing part it won't be ok.

Also, while trying to slit parts, I cannot use addPart method as it is, 
because the parts are not disjoint.

What do you think?
Should we rather use GEOSOverlaps ?

Thanks a lot

Denis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130423/32021cfe/attachment.html>


More information about the Qgis-developer mailing list