| |
|
|
| float = math.geodist ( aray pt1 , aray pt2 )
Return Value: Float, distance in metres
accounts The distance (metres) 2it GPS-Coordinates, expects therefore 2 assoz. Arrays with Values "latitude" and "longitude" - so How tappt im dunkeln from the gps-function zurückgeliefert go.
example:
print round(math.geodist( ["latitude"=0,"longitude"=0] ["latitude"=20,"longitude"=20] )) // yields 1788 |
|
|
| |
|
|