Skip to contents

alaska_elevation() reads a raster of land elevation for the land in alaska, for trying out geom_hachure() on a large area. The terra package cannot store a raster as ordinary package data, so this function reads the raster from a file in the package.

Usage

alaska_elevation()

Source

Terrain Tiles on the Registry of Open Data on AWS, https://registry.opendata.aws/terrain-tiles/, downloaded with the elevatr package.

Value

A SpatRaster with one layer, elevation, in metres above sea level, to the nearest 10 metres. The cells are about 2.5 km across, in longitude and latitude (WGS 84). Cells in the sea are NA.

See also

hawaii_elevation() for a small area at a finer resolution.

Examples

alaska_elevation()
#> class       : SpatRaster
#> size        : 736, 860, 1  (nrow, ncol, nlyr)
#> resolution  : 0.05, 0.02501042  (x, y)
#> extent      : -170, -127, 53, 71.40767  (xmin, xmax, ymin, ymax)
#> coord. ref. : lon/lat WGS 84 (EPSG:4326)
#> source      : alaska-elevation.tif
#> name        : elevation
#> min value   :         0
#> max value   :      5390