[postgis-users] Finding nearest node

andy at centremaps.com andy at centremaps.com
Thu Jan 28 09:24:55 PST 2010


Hi,

 

I'm guess this is not a new subject but wondered if anyone had done testing
on the following scenarios.

 

We're looking at how we can manage "snap to node" options for some drawing
tools on a web mapping interface. There seem to be 2 options:

 

1)      Query the database to find the nearest node from a point, line and
polygon dataset

2)      Query the database for all nodes within a bounding box and then find
the nearest point locally

 

I wondered if there is any code for such calls?

 

 

Kind Regards

 

Andy

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100128/715d7682/attachment.html>


More information about the postgis-users mailing list