Maptransitioner: Rasterize and transition a shapefile

View source: R/Maptransitioner.R

MaptransitionerR Documentation

Rasterize and transition a shapefile

Description

Rasterize and transition a shapefile for input into Waterdist

Usage

Maptransitioner(
  Water_map,
  Calculation_crs = 32610,
  Grid_size = 75,
  Process_map = TRUE,
  Plot = FALSE
)

Arguments

Water_map

Object of class sf representing a map of all waterways in your region of interest

Calculation_crs

Coordinate reference system used for the calculation. If a latitude/longitude system are used, errors may be returned since some calculations assume a planar surface. Defaults to Calculation_crs = 32610.

Grid_size

Grid size (in meters) used to rasterize the map. Defaults to 75.

Process_map

Should the Water_map be processed by unioning all features and transforming to the Calculation_crs? This should almost always be set to TRUE, the default.

Plot

Should the rasterized map be plotted for inspection?

Value

A rasterized, transitioned, and geo-corrected map.

See Also

Waterdist

Examples

## Not run: 
Map <- Maptransitioner(spacetools::Delta)

## End(Not run)


sbashevkin/spacetools documentation built on Feb. 2, 2024, 9:15 p.m.