[QGIS-Developer] Empty or NULL geometry when deleting vertices and sub parts?

RĂ©gis Haubourg regis.haubourg at gmail.com
Tue May 14 00:14:24 PDT 2019


Hi all,
We encounter different behaviors regarding NULL/Empty geometries and I need
your wisdom lights:
(Using postgis provider here)
- when deleting all the vertices of a geometry we get a NULL geometry
- when deleting all parts of a multiline, when get an empty geometry

I think we should homogenize the behavior here.

Googling a bit led me into the uncertainties of NULL and Empty concepts
into the SFS, WKT, WKB standards, but I fail to decide which one is the
best.
As an average data administrator, I would choose NULL because I almost
never test geometries for being Empty and I think this could be a caveat
for most users.

Someone has any opinion here ?

Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190514/c002d8c5/attachment.html>


More information about the QGIS-Developer mailing list