<div dir="ltr">Clearly 2 for me !<div>Cheers,</div><div>Rémi-C</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-24 17:05 GMT+01:00 Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Feb 24, 2015 at 04:26:02PM +0100, Even Rouault wrote:<br>
> Le mardi 24 février 2015 16:15:53, Sandro Santilli a écrit :<br>
> > On Tue, Feb 24, 2015 at 08:09:26AM -0500, Paul Ramsey wrote:<br>
> > > Well, the old semantic has been there since 2.0, which is a very long<br>
> > > time. A further question for it would be: what do the next functions do?<br>
> > > What does a distance calculation between a 2d and 3d object return? does<br>
> > > it also respect that semantic?<br>
> ><br>
> > I just checked and ST_3DDistance is instead still confusing:<br>
> > select ST_3DDistance('POINT Z (0 0 10)', 'POINT (0 0)'); -- 10<br>
> > I think it should be 0 instead.<br>
><br>
> As an uninformed observer, 10 or an error because of heterogenous dimensions<br>
> would seem reasonable to me. But 0 would be very surprising !<br>
<br>
</span>How about overlap then ? Should they overlap or not ?<br>
<br>
'POINT Z (0 0 10)' &&& 'POINT (0 0)'<br>
<br>
That's were we started, original question was,<br>
which one do you prefer:<br>
<span class=""><br>
1. Missing dimension is unknown, return NULL<br>
</span> 2. Missing dimension is infinite, overlaps everything<br>
3. Missing dimension is empty, overlaps nothing<br>
<span class="im HOEnZb"> 4. An impossible comparison was requested, raise exception<br>
<br>
</span><span class="im HOEnZb">On Thu, Feb 19, 2015 at 09:04:16AM -0800, Paul Ramsey wrote:<br>
> My preference was always to allow, for example,<br>
> a 2d query box to extract a 3d column of data from a volume<br>
> of points, and I would have implemented that way if I could.<br>
> Now, what i cannot tell you, is why I felt I couldn’t…<br>
<br>
</span><div class="HOEnZb"><div class="h5">--strk;<br>
_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel</a></div></div></blockquote></div><br></div>