I am interested in getting the closest road segment from a PostGIS database. I am using a GPS module and according to the tolerance it gives longitude and latitude, which are not recorded in the database. How can I find the closest road segment?
More details, I am using OSM (Open Street Maps) stored in a PostGIS database, and I am interested in getting the closest street segment and read its tag i.e. max allowed speed limit.