Learn R Programming

MazamaSpatialUtils (version 0.8.6)

simplifyAndSave: 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()
)

Value

Writes data files to disk.

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().