[Qgis-developer] Difference between two layers doesn't remove any features

Etienne Trimaille etienne.trimaille at gmail.com
Thu Jul 2 11:02:02 PDT 2015


Nobody confirms this bug in 2.10 ?

The layer produced by the 'difference' tool in QGIS can't be used in a
further analysis because of invalid geometries.
"Difference" is used in many GIS analysis. This is a regression for me.


2015-06-29 16:27 GMT+02:00 Etienne Trimaille <etienne.trimaille at gmail.com>:

> Hi dev,
>
> I'm using qgis master and I'm trying to use the difference tool between
> two layers (from the vector menu and processing).
>
> On the map canvas, the result looks fine, I get less features displayed.
> However my result layer contains exactly the same number of features than
> my original layer.
>
> Running the "check validity" from processing, I get a lot of "Unknown
> geometry type 0".
> I can't use this layer in any processing algorithm :
>
> "QgsFeature.setGeometry(QgsGeometry): argument 1 has unexpected type
> 'NoneType'"
>
> I don't know which algorithms may be affected by this kind of bug.
>
> It's working fine on qgis 2.8.
>
> Regards,
> Etienne
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150702/30c0c286/attachment.html>


More information about the Qgis-developer mailing list