[postgis-devel] assumptions of &&& operator for missing dimensions
strk at keybit.net
Tue Feb 24 08:29:23 PST 2015
On Tue, Feb 24, 2015 at 05:06:34PM +0100, Rémi Cura wrote:
> 2015-02-24 17:05 GMT+01:00 Sandro Santilli <strk at keybit.net>:
> > How about overlap then ? Should they overlap or not ?
> > 'POINT Z (0 0 10)' &&& 'POINT (0 0)'
> > That's were we started, original question was,
> > which one do you prefer:
> > 1. Missing dimension is unknown, return NULL
> > 2. Missing dimension is infinite, overlaps everything
> > 3. Missing dimension is empty, overlaps nothing
> > 4. An impossible comparison was requested, raise exception
> Clearly 2 for me !
So do you also agree with ST_3DDistance('POINT Z (0 0 10)', 'POINT (0 0)')
returning 0 instead of 10 as done now ?
() Free GIS & Flash consultant/developer
More information about the postgis-devel