getArea: Calculate geodesic area

Description Usage Arguments Details Value References Examples

View source: R/geodesicAreas.R

Description

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

Usage

1
getArea(myPoly, byid = FALSE)

Arguments

myPoly

SpatialPolygons object to calculate area of

byid

boolean indicating whether areas should be calculated for each polygon 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 (or vector of areas if byid is set to TRUE)

References

Information on Polar Stereographic North projection: https://nsidc.org/data/atlas/epsg_3411.html

Examples

1
getArea(regionInfo$regions[[1]])

hdirector/IceCastV2 documentation built on Dec. 9, 2018, 12:27 a.m.