If your displacements aren't too great (less than a few kilometers) and you're not right at the poles, use the quick and dirty estimate that 111,111 meters (111.111 km) in the y direction is 1 degree (of latitude) and 111,111 * cos(latitude) meters in the x direction is 1 degree (of longitude).
In [1]:
function diff_in_m(lat1, lon1, lat2, lon2)
end
Out[1]:
In [1]:
200/3.6*0.1
Out[1]:
In [2]:
4*3.6*10
Out[2]:
In [5]:
(144-80)/3.6
Out[5]:
In [7]:
log(6)/log(2)
Out[7]:
In [8]:
2^3
Out[8]:
Value can be scaled as needed.
Calculate each value to match the real difference to the cumulative sum of the points.
In [ ]: