get_area: Calculate geodesic area

Description Usage Arguments Details Value References Examples

Description

Caclulate the geodesic areas of SpatialPolygons object on the Nothern Hemisphere Polar Stereographic grid projection

Usage

1
get_area(poly, byid = FALSE)

Arguments

poly

SpatialPolygons object for which to calculate area

byid

boolean indicating whether areas should be calculated for each polygon individually or for the whole object together

Details

Area calculations are for the Polar stereographic grid with major axis of 6378273m and ellipsoid flattening of 1/298.2794111.

Value

Area of polygon (or vector of areas if byid is set to TRUE)

References

Information on Polar Stereographic North projection: https://nsidc.org/data/polar-stereo/ps_grids.html

Examples

1
2
get_area(reg_info$regions[[1]])
get_area(land, byid = TRUE)

IceCast documentation built on June 24, 2019, 9:03 a.m.