Convert watershed to ESRI shapefile
1 | writeShapefile(watershed, layer, dir = ".", what = c("boundary", "pourpoint"))
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.