Hello,
how to write statisticsFields in managment Dissolve correctly?
I tried it like this:
object[] sumArea = { "Shape_Area", "SUM" };
object[] sumLenght = { "Shape_Length", "SUM" };
object[] statisticsFields = { sumArea, sumLenght };
object[] listOfPara = { shpLayer, file, dissolveFields, statisticsFields, "MULTI_PART", "DISSOLVE_LINES" };
//second
object[] statisticsFields = { "Shape_Area", "SUM" ,"Shape_Length", "SUM"}
object[] listOfPara = { shpLayer, file, dissolveFields, statisticsFields, "MULTI_PART", "DISSOLVE_LINES" };Both without success.
I will be happy for any advice.
Thank you in advance
David