<div class="gmail_quote">2012/5/26 Paul Ramsey <span dir="ltr"><<a href="mailto:pramsey@opengeo.org" target="_blank">pramsey@opengeo.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im HOEnZb">Using ST_3DDistance will work and give you the right answer, but it<br>
will not be index assisted. The KNN operator <-> is only implemented<br>
against the 2D index currently.<br></div></blockquote><div><br></div><div>Ok, I see, thanks for confirming that. I'll try to use ST_3Ddwithin() to limit the number of results, it seems to use the index.</div><div><br>

</div><div>Regards,</div><div>-- </div><div>Bartosz</div><div><br></div></div>