Skip to contents

Builds a small elevation raster in the same 0-100 m local coordinates as geo_example_stems(), for testing topographic backdrops in plot_topo(). The surface is a formula, not a survey: use a real DEM (for example geo_elevation()) for figures.

Usage

geo_example_dem(res = 2)

Arguments

res

Grid resolution in metres.

Examples

geo_example_dem()
#> class       : SpatRaster 
#> size        : 50, 50, 1  (nrow, ncol, nlyr)
#> resolution  : 2, 2  (x, y)
#> extent      : 0, 100, 0, 100  (xmin, xmax, ymin, ymax)
#> coord. ref. :  
#> source(s)   : memory
#> name        : elevation 
#> min value   :  109.0335 
#> max value   :  133.0371