distKm {geotools} | R Documentation |
distKm()
returns distance in kilometer with latitude and longitude in degree
distKmRad()
returns distance in kilometer with latitude and longitude in radian
degToRad()
conversion degree to radian
distKm(lat0,lon0,lat1,lon1)
distKmRad(lat0,lon0,lat1,lon1)
degToRad(val)
lat0 , lon0 |
latitude, longitude of first point |
lat1 , lon1 |
latitude, longitude of second point |
val |
Value, in degree. |
Antoine Lucas
degToRad(180)