Create the polygon for the study area from a data set of class ‘OrganizedBirds’

OB2Polygon(x, shape = "bBox")

Arguments

x

an object of class ‘OrganizedBirds’, ‘sf’ or ‘SpatialPointsDataFrame’

shape

which type of polygon should be made from the data:

  • a bounding box (“bBox” or “bounding box”; i.e. the smallest bounding rectangle that contains all points),

  • a convex hull (“cHull” or “convex hull”; i.e. the smallest convex set that contains all the points).

  • the minimum circle (“minCircle” or “min circle”; i.e. the smallest circle that covers all the points).

Value

an object of class ‘sf’ with a polygon with geodesic coordinates in WGS84 (ESPG:4326).

Examples

# \donttest{ ob <- organizeBirds(bombusObs) polygon <- OB2Polygon(ob, shape = "cHull") # }