Skip to contents

Cost raster example.

Usage

get_cost_raster()

Value

A cost SpatRaster object to use for examples.

Examples

library(tmap)
#> Breaking News: tmap 3.x is retiring. Please test v4, e.g. with
#> remotes::install_github('r-tmap/tmap')

## Import features_raster
cost_raster <- get_cost_raster()

## Plot with tmap
tm_shape(cost_raster) +
  tm_raster(title = "cost")