earth.dist: earth.dist

Description Usage Arguments Examples

Description

Function to calculate the metric distance between two coordinates (lat, lon)

Usage

1
earth.dist(long1, lat1, long2, lat2)

Arguments

long1

longitude of the first coordinate

lat1

latitude of the first coordinate

long2

longitude of the second coordinate

lat2

latitude of the second coordinate

Examples

1
earth.dist(-70.34, 43.23, -71.29, 43.21)

gwielinski/GWmisc documentation built on May 17, 2019, 9:31 a.m.