[postgis-users] Nearest neighbors for a set of points

Babu Naidu pbnaidu at gmail.com
Wed Mar 4 18:29:34 PST 2009


I have a use case where I have to find a set of points near another set of
points. For example, given

Set A = { a1, a2, ... an} and Set B = {b1, b2, b3.. bn}

Set A and B are from two different tables. Can I frame a query (SQL) by
using postgis functions to find a set of points of type B that are
near a given set of points of type A?

Any pointers/hints about postgis functions are greatly appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20090304/7f907c57/attachment.html>

More information about the postgis-users mailing list