You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A MULTIPOINT(EMPTY) geometry has one empty item, while MULTIPOINT EMPTY is the same type but no items. They round-trip fine with WKB, but not with WKT. Here is a bash loop to compare the outputs using GEOS 3.12.0:
There are no issues with GeometryCollection, which can round-trip GEOMETRYCOLLECTION(POINT EMPTY) without issue. PostGIS seems to handle these geometries as expected.
I'm almost certain this has been brought up somewhere, but I cannot find this. Empty strikes again!
The text was updated successfully, but these errors were encountered:
A
MULTIPOINT(EMPTY)
geometry has one empty item, whileMULTIPOINT EMPTY
is the same type but no items. They round-trip fine with WKB, but not with WKT. Here is a bash loop to compare the outputs using GEOS 3.12.0:shows the unexpected WKT differences
Meanwhile, these are all expected:
shows expected zero-length collections:
There are no issues with GeometryCollection, which can round-trip
GEOMETRYCOLLECTION(POINT EMPTY)
without issue. PostGIS seems to handle these geometries as expected.I'm almost certain this has been brought up somewhere, but I cannot find this. Empty strikes again!
The text was updated successfully, but these errors were encountered: