extract for all polygons the position of the maximum value
poly_maxpos(fileName, layerName, polySplit = TRUE, cores = 1)
path and name of a GDAL raster file
layer name of shape file
split polygon in single file, default is TRUE extract for all polygons the position of the maximum value
number of cores used
returns a list of coordinates of the position of the maximum value and geometric centre of any corresponding raster object inside a given polygon