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.
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer