[Qgis-developer] QgsGeometry::intersection returns UnknownGeometry
Massimo Endrighi
massimo.endrighi at geopartner.it
Wed Jan 9 09:05:03 PST 2013
Given:
featureA - polygon
featureB - polygon
geomA = featureA.geometry()
geomB = featureB.geometry()
if geomA.intersects (geomB):
intersection = geomA.intersection(geomB)
the new geometry intersection has type() == 3 (UnknownGeometry) in some
circumstances BUT intersection.Area() is always correct.
After moving featureA or featureB by a small delta the intersection is
returned correctly.
Any idea?
Massimo
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/QgsGeometry-intersection-returns-UnknownGeometry-tp5026452.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
More information about the Qgis-developer
mailing list