<div dir="ltr">Hi,<div><br></div><div> 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.</div><div><br></div><div>Thank you,</div><div>Mani    </div></div>