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.
Arguments
- dat
An
SC
object produced by osmdata_sc.- elev_file
A vector of one or more character strings specifying paths to
.tif
files containing global elevation data.
See also
Other transform:
osm_poly2line()
,
trim_osmdata()
,
unique_osmdata()
,
unname_osmdata_sf()