Can QGIS handle EMPTY geometries?

المشرف العام

Administrator
طاقم الإدارة
I am writing a plugin and have a postgis table which has EMPTY geometries in the geom column.

MULTILINESTRING EMPTYI am having crashes which just close QGIS. I have narrowed it down to the EMPTY geometries. Removing them seems to help.

I tried editing the layer without using my plugin and still have the problem. It appears that the EMPTY geometries in the layer are not acceptable.

I am using the EMPTY geometries as a marker as this layer is a geom "changes" layer where I need all attributes but only the geometries which are added or changed from a similar layer.

Is the EMPTY geometry not valid in QGIS? It should not cause a program crash.



أكثر...
 
أعلى