| osm_elevation {osmdata} | R Documentation |
Add elevation data to a previously-extracted OSM data set, using a
pre-downloaded global elevation file from
https://srtm.csi.cgiar.org/srtmdata/. Currently only works for
SC-class objects returned from osmdata_sc.
osm_elevation(dat, elev_file)
dat |
An |
elev_file |
A vector of one or more character strings specifying paths
to |
A modified version of the input dat with an additional z_ column
appended to the vertices.