Description Usage Arguments Value Author(s) Examples
Obtaining elevation at a set of given locations. Note that using this function you are agreeing to the Google Maps API Terms of Service at https://developers.google.com/maps/terms.
1 |
lat, lon |
numeric objects. latitude and longitude of a location in decimal degrees |
output |
elevation; elevation and its corresponding resolution or the original JSON output (in a list format) |
|
If output="elevation", a numeric vector is returned with the elevation in metres. |
|
If output="elevation/resolution", a data frame is return with the elevation and its corresponding resolution in metres. |
|
If output="all", a list is returned with full JSON query output. |
Stan Yip
1 2 3 4 5 | # Get the elevation of a location in Hong Kong
## Not run:
ggele(lat=22.39643,lon=114.1095)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.