elevation: calculate elevation

View source: R/elevation.R

elevationR Documentation

calculate elevation

Description

given a matrix of points, figure out the min and max elevations of the points using the google elevation API

Usage

elevation(pts)

Arguments

points

a 2 x n matrix or dataframe of lat/lon coordinates in decimal degrees

Details

Given the limited number of points that can be sent to the elevation API. However too many points may cause the api to bork.

Value

a vector that gives the minimum and maximum elevation in meters


ropensci/mdextract documentation built on May 18, 2022, 5:37 p.m.