[pgrouting-users] Reg: Get nearest node in osm data

Manikanta Kondeti mani.iiit123 at gmail.com
Tue Jun 23 12:56:32 PDT 2015


Hi,

 I am writing a small application to get the route on the map. I am using
openlayers.js on client and pgrouting as a backend routing library for my
project. When a click is triggered I get a lat, lon, and I have the osm
data in postgres which is loaded using osm2pgrouting. I'll pass this
lat,lon to server and  I have to find the nearest node id from this
lat,lon. Can I query the database and get it done?  Help me out.

Thank you,
Mani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20150624/b561eb58/attachment.html>


More information about the Pgrouting-users mailing list