distance_between: Calculate coordinate distance.

Description Usage Arguments Value

View source: R/location.R

Description

Calculate coordinate distance.

Usage

1
distance_between(lat1, lon1, lat2, lon2)

Arguments

lat1

Latitude of first coordinate.

lon1

Longitude of the first coordinate.

lat2

Latitude of second coordinate.

lon2

Longitude of the second coordinate.

Value

The distance between the coordinates in meters


jmousseau/solargis documentation built on May 20, 2019, 1:54 p.m.