{ "name": "ZonalStatisticsAsTable", "displayName": "ZonalStatisticsAsTable", "description": "Calculates the values of a raster within the zones of another dataset and reports the results to a table.", "category": "", "helpUrl": "http://agrilanduse.doa.gov.my/mygeosvr/rest/directories/arcgisoutput/System/RasterAnalysisTools_GPServer/System_RasterAnalysisTools/ZonalStatisticsAsTable.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "inputZoneRasterOrFeatures", "dataType": "GPString", "displayName": "inputZoneRasterOrFeatures", "description": "The input that defines the zones.Both raster and feature can be used for the zone input.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "inputValueRaster", "dataType": "GPString", "displayName": "inputValueRaster", "description": "Raster that contains the values on which to summarize a statistic.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "outputTableName", "dataType": "GPString", "displayName": "outputTableName", "description": "The name of the output table.If the table already exists, you will be prompted to provide another name.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "zoneField", "dataType": "GPString", "displayName": "zoneField", "description": "The field that defines each zone.It can be an integer or a string field of the zone dataset.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "ignoreNodata", "dataType": "GPBoolean", "displayName": "ignoreNodata", "description": "Denotes whether NoData values in the value input will influence the results of the zone that they fall within.Checked\u2014Within any particular zone, only cells that have a value in the input value raster will be used in determining the output value for that zone. NoData cells in the value raster will be ignored in the statistic calculation. This is the default.Unchecked\u2014Within any particular zone, if any NoData cells exist in the value raster, it is deemed that there is insufficient information to perform statistical calculations for all the cells in that zone; therefore, the entire zone will receive the NoData value on the output raster.", "direction": "esriGPParameterDirectionInput", "defaultValue": true, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "statisticType", "dataType": "GPString", "displayName": "statisticType", "description": "Choose the statistic to calculate.The available options when the value raster is integer are All, Mean, Majority, Maximum, Median, Minimum, Minority, Percentile, Range, Standard deviation, Sum, Variety, Minimum and Maximum, Mean and Standard deviation, and Minimum, Maximum and Mean.If the value raster is float, the options are All, Mean, Maximum, Minimum, Range, Standard deviation, and Sum.All\u2014 All of the statistics will be calculated. This is the default.Mean\u2014Calculates the average of all cells in the raster layer to be summarized that belong to the same zone as the output cell.Majority\u2014 Determines the value that occurs most often of all cells in the raster layer to be summarized that belong to the same zone as the output cell.Maximum\u2014 Determines the largest value of all cells in the raster layer to be summarized that belong to the same zone as the output cell.Median\u2014 Determines the median value of all cells in the raster layer to be summarized that belong to the same zone as the output cell.Minimum\u2014 Determines the smallest value of all cells in the raster layer to be summarized that belong to the same zone as the output cell.Minority\u2014 Determines the value that occurs least often of all cells in the raster layer to be summarized that belong to the same zone as the output cell.Percentile\u2014Calculates a percentile of all cells in the value raster that belong to the same zone as the output cell. The 90th percentile is calculated by default. You can specify other values (from 0 to 100) using the Percentile Values parameter.Range\u2014 Calculates the difference between the largest and smallest value of all cells in the raster layer to be summarized that belong to the same zone as the output cell.Standard deviation\u2014 Calculates the standard deviation of all cells in the raster layer to be summarized that belong to the same zone as the output cell.Sum\u2014 Calculates the total value of all cells in the raster layer to be summarized that belong to the same zone as the output cell.Variety\u2014 Calculates the number of unique values for all cells in the raster layer to be summarized that belong to the same zone as the output cell.Minimum and Maximum\u2014 Both the minimum and maximum statistics are calculated.Mean and Standard deviation\u2014 Both the mean and standard deviation statistics are calculated.Minimum, Maximum and Mean\u2014 The minimum, maximum and mean statistics are calculated.", "direction": "esriGPParameterDirectionInput", "defaultValue": "ALL", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "ALL", "MEAN", "MAJORITY", "MAXIMUM", "MEDIAN", "MINIMUM", "MINORITY", "PERCENTILE", "RANGE", "STD", "SUM", "VARIETY", "MIN_MAX", "MEAN_STD", "MIN_MAX_MEAN" ] }, { "name": "percentileValues", "dataType": "GPMultiValue:GPDouble", "displayName": "percentileValues", "description": "The percentile to calculate. The default is 90, for the 90th percentile.The values can range from 0 to 100. The 0th percentile is essentially equivalent to the Minimum statistic, and the 100th Percentile is equivalent to Maximum. A value of 50 will produce essentially the same result as the Median statistic.This option is only available if the Statistics Type parameter is set to Percentile or All.This option is only available if the statisticsType parameter is set to PERCENTILE or ALL.", "direction": "esriGPParameterDirectionInput", "defaultValue": [ 90 ], "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "processAsMultidimensional", "dataType": "GPBoolean", "displayName": "processAsMultidimensional", "description": "Determines how the input rasters will be processed if they are multidimensional.Unchecked\u2014Statistics will be calculated from the current slice of a multidimensional image service. This is the default.Checked\u2014Statistics will be calculated for all dimensions (such as time or depth) of a multidimensional image service.CURRENT_SLICE\u2014 Statistics will be calculated from the current slice of a multidimensional image service. This is the default.ALL_SLICES\u2014 Statistics will be calculated for all dimensions (such as time or depth) of a multidimensional image service.", "direction": "esriGPParameterDirectionInput", "defaultValue": false, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "context", "dataType": "GPString", "displayName": "context", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "outputTable", "dataType": "GPString", "displayName": "outputTable", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }