Bug report #3549
Getting incomplete results from Intersect tool (fTools)
|Affected QGIS version:||master||Regression?:|
|Operating System:||Debian||Easy fix?:|
|Pull Request or Patch supplied:||Yes||Resolution:||fixed|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||13609|
On r15297 I get incomplete number of polygons when intersecting with the Geoprocessing tool 'Intersect' from fTools.
I attach two shapefiles for testing purposes.
In the command line I get this error:
ERROR 1: Attempt to write non-polygon (MULTILINESTRING) geometry to POLYGON type shapefile.
#3 Updated by Salvatore Larosa over 7 years ago
- Assignee deleted (
- Pull Request or Patch supplied set to No
- Status changed from Open to Feedback
It occurs because the intersection operation generates different geometries types!
In your case, it generates a MultiLineString geometry and try to write in a Polygon geometry.
I sent a pull request that should fix it!