poly_maxpos: extract for all polygons the position of the maximum value of...

View source: R/tb_bluedjinn.R

poly_maxposR Documentation

extract for all polygons the position of the maximum value of the applied raster(s).

Description

extract for all polygons the position of the maximum value

Usage

poly_maxpos(fileName, layerName, polySplit = TRUE, cores = 1)

Arguments

fileName

path and name of a GDAL raster file

layerName

layer name of shape file

polySplit

split polygon in single file, default is TRUE extract for all polygons the position of the maximum value

cores

number of cores used

Value

returns a list of coordinates of the position of the maximum value and geometric centre of any corresponding raster object inside a given polygon


gisma/uavRst documentation built on Feb. 14, 2023, 8:49 a.m.