mult_gengrid: Polygonize multiple rasters (TIFs) and compute zonal...

View source: R/mult_gengrid.R

mult_gengridR Documentation

Polygonize multiple rasters (TIFs) and compute zonal statistics at polygon and full shape-file level

Description

This function builds on the gengrid() function to extract data from a list of tagged image files.

Usage

mult_gengrid(
  tif_namelist = gin_buildingtifs,
  location = "tests/testdata",
  feature_name = c("count", "cv_length", "imagery_year", "mean_length", "total_length",
    "cv_area", "density", "mean_area", "total_area", "urban"),
  parallel = T,
  numCores = length(gin_buildingtifs)
)

Arguments

tif_namelist

a list object of raw tif names to be extracted

location

a folder containing the tif files

feature_name

a list of names for each element of tif_namelist to name the indicator to be extracted

parallel

if TRUE, parallelize the process of extract files to speed the gengrid() process

numCores

the number of server cores to be used for this


SSA-Statistical-Team-Projects/SAEplus documentation built on Aug. 24, 2022, 11:26 a.m.