writeGeoJSON: Write part of a 'watershed' object to file in geoJSON format.

Description Usage Arguments

View source: R/watershed.R

Description

Write part of a 'watershed' object to file in geoJSON format.

Usage

1
writeGeoJSON(watershed, file, what = c("boundary", "pourpoint"))

Arguments

watershed

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

file

a character given the file to which to write the resulting geojson

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.