simplifyAndSave: Save simplified versions of a spatial features dataframe

View source: R/utils-convert.R

simplifyAndSaveR Documentation

Save simplified versions of a spatial features dataframe

Description

Creates and saves "_05", _02" and "_01" versions of SFDF that are simplified to 5%, 2% and 1%. .

Usage

simplifyAndSave(
  SFDF = NULL,
  datasetName = NULL,
  uniqueIdentifier = NULL,
  dataDir = getSpatialDataDir()
)

Arguments

SFDF

Simple features dataframe.

datasetName

Base name used for SFDF.

uniqueIdentifier

Name of column containing unique polygon identifiers.

dataDir

Spatial data directory set with setSpatialDataDir().

Value

Writes data files to disk.


MazamaSpatialUtils documentation built on Sept. 8, 2023, 5:22 p.m.