[postgis-devel] POINT EMPTY in WKB
Paul Ramsey
pramsey at opengeo.org
Mon Dec 6 15:09:53 PST 2010
It's legal and it's a whole category of empty shit I am not handling
correctly. I only recognize the case of
MULTIPOINT EMPTY
and MULTIPOINT (...stuff...) is assumed to be real stuff.
GEOMETRYCOLLECTION(POINT EMPTY, POINT EMPTY) will be picked up though.
Oy vey.
P.
On Mon, Dec 6, 2010 at 2:56 PM, Paragon Corporation <lr at pcorp.us> wrote:
> 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?
>
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
More information about the postgis-devel
mailing list