elevation: Query Elevation

Description Details Note Author(s) See Also Examples

Description

Get topographic height information from the SRTM3 data set using package geonames and assign a column named 'elevation' to the sites data. If such a column name already exists, the method append a column named 'elevation.srtm' to prevent overwriting of already existing columns.

Details

If the SRTM3 data set has missing values a zero elevation is returned for that coordinate.

Note

Depending of the size of the input object (number of plots), the query to the genonames server may take a while to complete?

Author(s)

Roland Kaiser

See Also

extract,GNsrtm3 in package geonames.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
require(vegsoup)

data(berchtesgaden)
x <- berchtesgaden

# fails with package check?
## Not run: 
x.srtm <- elevation(x)

## End(Not run)

vegsoup documentation built on Feb. 24, 2021, 3 a.m.