Returns the base R datasets::volcano elevation model as a georeferenced, one-layer terra::SpatRaster. Elevation is measured in meters, and horizontal coordinates use EPSG:27200, NZGD49 / New Zealand Map Grid, on a 10-meter grid.

The elevation data were digitized from a topographic map and should not be treated as accurate survey data. A new independent copy of the raster is returned on every call.

volcano_spatial()

Source

The base R datasets::volcano data and the Geomorphometry.org "Volcano Maungawhau" reconstruction.

Value

A one-layer terra::SpatRaster containing elevation in meters.

Examples

volcano_dem = volcano_spatial()
terra::ext(volcano_dem)
#> SpatExtent : 2667400, 2668010, 6478700, 6479570 (xmin, xmax, ymin, ymax)
terra::res(volcano_dem)
#> [1] 10 10
volcano_dem |>
  height_shade() |>
  add_shadow(ray_shade(),0) |>
  plot_3d()