Calculate and summarise selected metrics of building footprints within zones.
fs_count(X, index = NULL, col = NULL) # S3 method for sp fs_count(X, index = NULL, col = NULL) # S3 method for sf fs_count(X, index = NULL, col = NULL)
X | Spatial object with building footprint polygons |
---|---|
index | A string identifying a column within |
col | column name within |
unit | character or |
data.table
of zonal indices and values.
Note that this function is provided as a standalone calculation for
convenience. The same summary measure can be executed within
calculate_footstats
by specifying what='settled'
and
how='count'
.