load_layer: Load Spatial Layer

load_layerR Documentation

Load Spatial Layer

Description

Internal function that is used to load either a raster or a shapefile

Usage

load_layer(folder, multiMsg)

Arguments

folder

character; folder path of the layer

multiMsg

character; used for printing in case of the user is interactively asked to select one layer from multiple ones

Value

a list of length 2; the first element can be a SpatRaster or NULL, and the second element can be a sf object or NULL.


ptimoner/inAccMod documentation built on Jan. 27, 2025, 9:34 a.m.