Feature request #14969

It would be useful if QGIS gave a warning that there are null or EMPTY geometries when importing data.

Added by Steven Kay 10 months ago. Updated 10 months ago.

Status:Closed Start Date:06/06/2016
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:GUI
Target version:Version 2.14
Platform: Resolution:wontfix
Platform version: Pull Request or Patch supplied:No
Status info: Tag:

Description

Based on this question on GIS StackExchange.

http://gis.stackexchange.com/q/197271/55203

It looks as if some plugins assume that all features have geometries. Which is a reasonable assumption, but the error message could be confusing :)

It would just need to be a warning / info; it shouldn't prevent the import from working. Maybe a QgsMessageBar warning on import? Maybe something like...

"Some of the features do not have geometry. This might cause problems for some plugins"

History

Updated by Nyall Dawson 10 months ago

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

I disagree - null geometries are quite common in some fields, and the correct solution is for the plugin to be fixed to handle them.

Also available in: Atom