[postgis-users] Nearest neighbor in 3D

Bartosz Bekier bartosz.bekier at gmail.com
Sat May 26 07:00:54 PDT 2012


2012/5/26 Paul Ramsey <pramsey at opengeo.org>

> Using ST_3DDistance will work and give you the right answer, but it
> will not be index assisted. The KNN operator <-> is only implemented
> against the 2D index currently.
>

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.

Regards,
-- 
Bartosz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120526/e6a24096/attachment.html>


More information about the postgis-users mailing list