areaAndPolyValue | R Documentation |
Polygonize a raster and calculate the area of each polygon.
areaAndPolyValue(ras, ...)
## S3 method for class 'Raster'
areaAndPolyValue(ras, ...)
## S3 method for class 'SpatRaster'
areaAndPolyValue(ras, ...)
ras |
A |
... |
Additional arguments (not used) |
list containing: sizeInHa
, the area; and polyID
, the polygon ID.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.