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 about 1 year ago. Updated about 1 year ago.

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

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

#1 Updated by Nyall Dawson about 1 year ago

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

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 PDF