Write part of a 'watershed' object to file in geoJSON format.
1 | writeGeoJSON(watershed, file, what = c("boundary", "pourpoint"))
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.