Helper geometry function to measure the area of building footprint polygons.

fs_area(X, unit = NULL)

Arguments

X

polygons of building footprints of type sf.

unit

string indicating unit of measure. Passed to units::set_units.

Value

numeric vector of area measured for each item in X.