redlistr (version 1.0.4)

makeEOO: Creates Extent of occurrence (EOO) Polygon

Description

makeEOO is a generic function that creates a minimum convex polygon enclosing all occurrences of the provided spatial data. If the input provided is a raster layer, the points are taken from a buffer that has the radius of half of the shorter edge of the pixel around the centroid.

Usage

makeEOO(input.data)

Value

An object of class SpatVect representing the EOO of input.data. Also inherits its CRS.

Arguments

input.data

Spatial object of an ecosystem or species distribution. Please use a CRS with units measured in metres.

Author

Nicholas Murray murr.nick@gmail.com, Calvin Lee calvinkflee@gmail.com

References

Bland, L.M., Keith, D.A., Miller, R.M., Murray, N.J. and Rodriguez, J.P. (eds.) 2016. Guidelines for the application of IUCN Red List of Ecosystems Categories and Criteria, Version 1.0. Gland, Switzerland: IUCN. ix + 94pp. Available at the following web site: https://iucnrle.org/

See Also

Other EOO functions: getAreaEOO()

Examples

Run this code
library(terra)
crs.UTM55S <- '+proj=utm +zone=55 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs'
r1 <- rast(ifelse((volcano<130), NA, 1), crs = crs.UTM55S)
ext(r1) <- c(0, 6100, 0, 8700)
EOO.polygon <- makeEOO(r1)

Run the code above in your browser using DataLab