load_shapefile: Load shapefile as sf + optionally convert to sp

View source: R/load_data_shapefile.R

load_shapefileR Documentation

Load shapefile as sf + optionally convert to sp

Description

Load shapefile as sf + optionally convert to sp

Usage

load_shapefile(shp_path, to_sp = FALSE)

Arguments

shp_path

Path to shapefile (.shp)

to_sp

logical: also return Spatial object?

Value

list with sf and optionally sp object


mlspatial documentation built on Aug. 27, 2025, 1:09 a.m.