[postgis-devel] POINT EMPTY in WKB

Paragon Corporation lr at pcorp.us
Mon Dec 6 14:56:41 PST 2010


I see the difference now.

  SELECT Geometry::STGeomFromText('MULTIPOINT(EMPTY,  EMPTY)',0).STAsText();

  SELECT Geometry::STGeomFromText('MULTIPOINT(EMPTY,
EMPTY)',0).STNumGeometries();
Yields --> 2 geometries

A multipoint with 2 empty points

Vs.

An empty multipoint collection


  SELECT Geometry::STGeomFromText('MULTIPOINT EMPTY',0).STAsText();

  SELECT Geometry::STGeomFromText('MULTIPOINT EMPTY',0).STNumGeometries();

0 geometries.


Is the first considered legal in ISO or is this purely a  Microsoft
invention?





More information about the postgis-devel mailing list