Geometrías vacías

Una geometría vacía es el conjunto vacío de puntos: no está en ninguna parte. Como en PostGIS, una operación le da la respuesta que da el conjunto vacío, y no se produce ni un error ni un aviso, salvo donde la geometría debe ser la posición de un valor.

-- It meets nothing
SELECT eIntersects(geometry 'Point empty',
  tgeompoint '[Point(1 1)@2001-01-01, Point(2 2)@2001-01-02, Point(1 1)@2001-01-03]');
-- f
SELECT tDisjoint(geometry 'Point empty',
  tgeompoint '[Point(1 1)@2001-01-01, Point(2 2)@2001-01-02, Point(1 1)@2001-01-03]');
-- [t@2001-01-01, t@2001-01-03]
-- Nothing can be measured to it
SELECT geometry 'Point empty' <->
  tgeompoint '[Point(2 2)@2001-01-01, Point(1 1)@2001-01-02, Point(2 2)@2001-01-03]';
-- NULL
-- It removes nothing and keeps nothing
SELECT asText(minusGeometry(tgeompoint '[Point(1 1)@2001-01-01, Point(2 2)@2001-01-02,
  Point(1 1)@2001-01-03]', geometry 'Linestring empty'));
-- [POINT(1 1)@2001-01-01, POINT(2 2)@2001-01-02, POINT(1 1)@2001-01-03]
SELECT asText(atGeometry(tgeompoint '[Point(1 1)@2001-01-01, Point(2 2)@2001-01-02,
  Point(1 1)@2001-01-03]', geometry 'Linestring empty'));
-- NULL
-- It cannot be the position of a value
SELECT tgeompoint(geometry 'Point empty', timestamptz '2001-01-01');
-- ERROR:  Only non-empty geometries accepted