get_mapbox_elevations.Rd
Get elevations of given coordinates using the Mapbox tilequery API.
get_mapbox_elevations( lat, lon, limit = 50L, mapbox_token = Sys.getenv("MAPBOX_TOKEN") )
lat | Center coordinates of map. |
---|---|
lon | Center coordinates of map. |
limit | Maximum number of elevations to return. |
mapbox_token | Mapbox API token. |
A vector of elevations.
# NOT RUN { get_elevations(39.75953, -105.01109) # }