boundaryField | R Documentation |
This function produces a simplified boundary shapefile from raster data.
boundaryField(
field,
draw = FALSE,
col = "red",
cex = 1,
threshold = 1000,
tolerance = 2e-04
)
field |
SpatRaster. Field to be converted to boundary shapefile. |
draw |
use TRUE to draw field boundaries. |
col |
line color. |
cex |
point size. Please check |
threshold |
area (m^2) of small polygons, below which will be removed. |
tolerance |
boundary simplification - minimum distance between nodes in units of the crs (i.e. degrees for long/lat) |
boundaryField
A simplified boundary as SpatVector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.