Bug report #14908
Processing plugin intersection module doesn't work properly
|Affected QGIS version:||2.14.3||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||Yes||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||22861|
The " intersection " module of processing plugin doesn't work properly .
In attached example intersecting the layer "B" with the layer "A" doesn't return any feature while intersecting the layer "A" with the layer "B" is properly returned a feature .
The cause of this bug is the " break " statement at line 106 of the "processing\\algs\\qgis\\Intersection.py" file that prevents the evaluation of the successive intersections . Removing that line the algorithm works correctly.
The implemented algorithm in ftool plugin has a different structure and functioning properly (see lines 961 to 988 in fTools\\tools\\doGeoprocessing.py ).