powered by
The function computes the Great Circle distance between two two points defined by their longitudes and latitudes.
dist_great_circle(long1, long2, lat1, lat2, method = "vicenty")
project name, project dir in which proj_name.xml is found
raster.tif INT2S path or present in wd,
habitat code in the raster file
default 0, minimum habitat size in ha
default NULL nodata code in the raster file
P. Savary
dist_great_circle(long1 = -73.99420, lat1 = 40.75170, long2 = -87.63940, lat2 = 41.87440, method = "vicenty")
Run the code above in your browser using DataLab