[postgis-devel] Should EMPTY be spatially equal to self ?
Sandro Santilli
strk at keybit.net
Wed Jan 11 09:48:35 PST 2012
I was doing this nice round-trip WKB test:
SELECT ST_Equals(g, g::wkb::geometry)
... when I got a few FALSE returns.
WKB Reader or Writer bug ?
NO, it is that EMPTY isn't equal to itself !
So, what do you think ? Should it be equal ?
The box of an EMPTY geometry is an EMPTY box.
Is the EMPTY box equal to self ? I think it is.
See also http://trac.osgeo.org/postgis/ticket/1453
--strk;
() Free GIS & Flash consultant/developer
/\ http://strk.keybit.net/services.html
More information about the postgis-devel
mailing list