meenu
03-29-2008, 11:53 PM
compare longitude and latitude values of two tables
advance thanks to all
i want to do one report based on long and lat values.can anybody help me the logic behind this????
one eg
i have one table in my sql db which contain lon and lat values of vehicle movement.
eg:
lon is 58.549315555555559 and lat is 23.619708888888891
this table does not contain any location name.
...........................
i have another table which contain location name and corres lang and lat values.
In this table exact value of vehicle long and lat is not there
but i have nearly 10 records that long and lat values are near to above values(first table)
from this how i will select one location?
using which formula i want to do this?
nearly 20 meters differ is there then i can select.
..........
advance thanks to all
i want to do one report based on long and lat values.can anybody help me the logic behind this????
one eg
i have one table in my sql db which contain lon and lat values of vehicle movement.
eg:
lon is 58.549315555555559 and lat is 23.619708888888891
this table does not contain any location name.
...........................
i have another table which contain location name and corres lang and lat values.
In this table exact value of vehicle long and lat is not there
but i have nearly 10 records that long and lat values are near to above values(first table)
from this how i will select one location?
using which formula i want to do this?
nearly 20 meters differ is there then i can select.
..........