Thursday 7 April 2016

Ignoring invalid input features with Intersection tool in QGIS?



In QGIS 2.18, when I used the Vector > Geoprocessing Tools > Intersection tool, I was able to check an option which said "Ignore NULL geometries [optional]".


Now I've downloaded QGIS 3.2 and that option no longer exists. But when I try to create the intersection between two layers I'm working on, I get a message saying that there is an invalid geometry somewhere and that I should either fix it it or "change the Processing setting to the 'Ignore invalid input features' option."


But that option doesn't exist! Or if it does exist, I just can't find it anywhere.


Does anyone know how/where to change this setting in QGIS 3.2?



Answer



Go to Settings > Options > Processing and under General change to Ignore features with invalid geometries.


Processing Settings


Alternatively, it's also worth checking the answer by A.Oikonomidis as well as other tools available in the processing toolbox to fix invalid geometries in the original dataset.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...