I am using gpt’s StatisticsOp to calculate the statistics for different ROIs which I have defined in a shapefile (each one as a polygon). The output file I get as a result for this operator is like the following:
My problem is that “# Region” is not descriptive enough for my needs (how to know which of the original ROIs corresponds to each #Region?), so I would like to be able to select the value used as rownames, as each polygon in my shapefile has an “ID” field which would be perfect for this task.
Does anyone know any workaround to get the desired output?