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

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.