Retrieves elevation data for a specified geographic area using the elevatr package. The data is returned as a raster object that can be used with the plotting functions in this package.
Examples
# Using the included Wilder Kaiser bounding box
elevation <- get_elevation(bb_wilder_kaiser)
#> Error in loadNamespace(x): there is no package called ‘progress’
plot_elevation()
#> Error in plot_elevation(): No elevation data available. Please run get_elevation() first.
# Using a higher zoom level for more detail
detailed_elevation <- get_elevation(bb_wilder_kaiser, z = 12)
#> Error in loadNamespace(x): there is no package called ‘progress’
plot_elevation()
#> Error in plot_elevation(): No elevation data available. Please run get_elevation() first.