[postgis-devel] Should EMPTY be spatially equal to self ?

Sandro Santilli strk at keybit.net
Wed Jan 11 10:58:55 PST 2012


On Wed, Jan 11, 2012 at 10:00:06AM -0800, Paul Ramsey wrote:
> You might need to untease it further, as there is no such thing as an
> empty box (in our code, notionally there is)... but right you could
> just have the ~= operator implement the right semantic. OK.
> 
> Having it always be true is fine w/ me.
> Note this, warning, warning.
> 
> 'POINT EMPTY'::geometry::wkb::geometry = 'MULTIPOINT EMPTY'
> 
> Sowwy.

Yeah, I know. That's exposing a known limitation of the WKB format.
Expected in regress-tests now.

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-devel mailing list