I have a table of Roads in PostGIS which geometry is "geometry(MultiLineString,4326)".
Its attribute are
gid osm_id name ref type oneway bridge maxspeed geom
Now i want to know the closest Road from latitude and longitude.
Also I want to set some distance from that Line/Road like 20m both side and if the point is within that distance then it should give the name of that line else not.
Does ST_ClosedPoint or ST_Intersects Query work?
how to use it?
– sandeep Nov 25 '12 at 09:04name ref type st_distance NULL . tertiary 7.58381841503622
Its should give the "ref" ==> NH211 but giving the wrong result
– sandeep Nov 25 '12 at 10:21