This question already has an answer here:
- Distance between lat/long points 2 answers
i need to find the distance between two gps location, So i think to do this:
lat1(seconds)-lat2(seconds)=lat * 30.7151 == distance latitude in meters =Latm
long1(seconds)-long2(seconds)=long *30.9221=== distance longitude in meters=Longm
for overall distance between them = sqr(Latm^2+Longm^2). note: the nodes are in range of 30 meters so i need to deal with seconds cause it is small scale.