Learn R Programming

SWMPrExtension (version 1.1.6)

load_shp_file: Load and format shapefile for reserve level map

Description

Load and format shapefile for use with res_local_map

Usage

load_shp_file(path, dissolve_boundaries = TRUE)

Arguments

path

path to shapefile and name

dissolve_boundaries

logical, should reserve boundaries be dissolved? Defaults to TRUE

Value

Returns a sp object

Details

This function is intended for internal use with the NERRS reserve level reporting scripts. It loads a NERRS boundary shp file and dissolves unnecessary reserve boundaries. The resulting sp object is then used with res_sk_map and res_local_map