[postgis-devel] assumptions of &&& operator for missing dimensions

Sandro Santilli strk at keybit.net
Tue Feb 24 07:15:53 PST 2015


On Tue, Feb 24, 2015 at 08:09:26AM -0500, Paul Ramsey wrote:
> Well, the old semantic has been there since 2.0, which is a very long time.
> A further question for it would be: what do the next functions do?
> What does a distance calculation between a 2d and 3d object return?
> does it also respect that semantic? 

I just checked and ST_3DDistance is instead still confusing:
select ST_3DDistance('POINT Z (0 0 10)', 'POINT (0 0)'); -- 10
I think it should be 0 instead.

For the new <<->> and <<#>> operators I implemented the new semantic
(https://github.com/postgis/postgis/pull/34)

--strk;



More information about the postgis-devel mailing list