writeShapefile: Convert watershed to ESRI shapefile

Description Usage Arguments

View source: R/watershed.R

Description

Convert watershed to ESRI shapefile

Usage

1
writeShapefile(watershed, layer, dir = ".", what = c("boundary", "pourpoint"))

Arguments

watershed

an object of class "watershed", as returned by delineateWatershed(), or combineWatersheds()

layer

Name of layer in resulting shapefile

dir

Directory where shapefile files should be written.

what

Either "boundary" or "pourpoint" describing what part of the watershed object to write.


markwh/streamstats documentation built on Sept. 29, 2021, 8:42 a.m.