Bug report #11739
PostGIS tables with missing geometries
|Affected QGIS version:||3.0.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||19973|
If one has a pg table with records with a missing geometry (e.g. there are records with a geom in a point column, others in a line column, others with both), the table will show only the records with a geom; if I click on Show all, I also get records without a geom. Of course, selecting a record like this and clicking on Zoom to selected does nothing.
Perhaps it would be better to show only records with a geometry.
#2 Updated by Paolo Cavallini about 6 years ago
I see your point, but this has unwanted effects: the user can try to zoom to a feature with NULL geometry, and does not have a clue of why is not working. Perhaps adding an option to show only records with a geom, or greying out those without, would be good.