<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Using Even trick saves me about 25% time.<br></div><div class="gmail_default" style="font-family:monospace,monospace">Good !<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">Now I'll always use the multipoints/line instead of box3D<br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Cheers,<br></div><div class="gmail_default" style="font-family:monospace,monospace">Rémi-C<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-18 10:49 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 Thu, Feb 18, 2016 at 10:03:54AM +0100, Rémi Cura wrote:<br>
<br>
> Is there any way to perform &&& in all 3 dimensions?<br>
<br>
</span>Our boxes are all broken.<br>
There should be somewhere a wiki page or ticker or something about<br>
options to improve the situation. IIRC it boiled down to:<br>
<br>
 1) Have a BOX geometry type (like LINESTRING/POINT/POLYGON)<br>
 2) Expose a GBOX postgresql type (like BOX2D, BOX3D)<br>
<br>
Recently, I've started using 2-vertices linestrings to simulate<br>
the equivalent of a "BOX geometry type". It is the value returned<br>
by <a href="http://postgis.net/docs/ST_BoundingDiagonal.html" rel="noreferrer" target="_blank">http://postgis.net/docs/ST_BoundingDiagonal.html</a><br>
<br>
You can easily create such object via ST_MakeLine:<br>
<a href="http://postgis.net/docs/ST_MakeLine.html" rel="noreferrer" target="_blank">http://postgis.net/docs/ST_MakeLine.html</a><br>
<br>
It will support SRID and all supported dimensions.<br>
<br>
Changing the BOX3D->Geometry cast ? I'm all for it, and I'd have<br>
it return a "bounding diagonal" too...<br>
<div class="HOEnZb"><div class="h5"><br>
--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/mailman/listinfo/postgis-devel" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/postgis-devel</a></div></div></blockquote></div><br></div>