Feature request #12150

check/fix vector layers before geoprocessing operations

Added by Bogdan Hlevca over 2 years ago. Updated 9 months ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Processing/Core
Pull Request or Patch supplied:No Resolution:wontfix
Easy fix?:No

Description

new description:

qgis (the underlying libraries) is less forgiving then other programs when it comes to do geospatial operations (clips, intersections, etc.) when the input(s) have geometry issues. It would be nice to have an option to have them checked before running any of those operations, throwing a warning and/or cleaning them on the fly (options are not missing, lwgeom, pprepair).

old description:
Currently QGIS silently creates an empty layer if there are topology issues with the clipping layer. See #12144.

QGIS should at least issue an error with the description of the problem or fix the problem if possible.

History

#1 Updated by Giovanni Manghi over 2 years ago

  • Target version set to Future Release - Nice to have
  • Category set to Vectors
  • Subject changed from Clipping , intersection and perhaps other operations should check the integrity of the vector layer to check/fix vector layers before geoprocessing operations

#2 Updated by Alexander Bruy 12 months ago

  • Category changed from Vectors to Processing/Core

#3 Updated by Alexander Bruy 9 months ago

  • Resolution set to wontfix
  • Status changed from Open to Closed

You can easily achieve this by creating pre-execution script or models

Also available in: Atom PDF