TransWikia.com

Error message: Invalid geometry Refactor Fields QGIS

Geographic Information Systems Asked by Venla on December 11, 2020

I’m trying to do a simple modification of changing field type to vector table by using the tool Refactor Fields. However, the output log returns the following error message, every time:

Traceback (most recent call last):
File "C:/OSGEO4~1/apps/qgis/./python/pluginsprocessingalgsqgisFieldsMapper.py", line 132, in processAlgorithm
return super().processAlgorithm(parameters, context, feeback)
_core.QgsProcessingException: Feature (18) has invalid geometry. Please fix the geometry or change the Processing setting to the "Ignore invalid input features" option.

Execution failed after 0.17 seconds

It would be OK for me to ignore invalid input features, but there is no such option in the processing settings of this tool (see image). I’m using QGIS 3.6.1. Any suggestions?enter image description here

2 Answers

Try going to Options > Settings > Processing and under General -> Invalid features processing select Do not filter (better performance) or Skip (ignore) features with invalid geometries

enter image description here

Answered by she_weeds on December 11, 2020

I would consider fixing the bad geometries first, rather than having them lurking around for the refactoring, as well as any subsequent downstream operations. Try the Fix Geometies tool. I'm not sure when it was introduced, but it is available at 3.14.

Answered by Stu Smith on December 11, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP