|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geoprocessing.AbstractGPTool
com.esri.arcgis.geoprocessing.tools.spatialanalysttools.ZonalStatistics
public class ZonalStatistics
Calculates statistics on values of a raster within the zones of another dataset.
The Zonal Statistics tool is contained in the Spatial Analyst Tools tool box.
Learn more about how Zonal Statistics works
Software restrictions: none
| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
|---|
vals |
| Constructor Summary | |
|---|---|
ZonalStatistics()
Creates the Zonal Statistics tool with defaults. |
|
ZonalStatistics(Object inZoneData,
Object zoneField,
Object inValueRaster,
Object outRaster)
Creates the Zonal Statistics tool with the required parameters. |
|
| Method Summary | |
|---|---|
String |
getIgnoreNodata()
Returns the Ignore NoData in calculations parameter of this tool . |
Object |
getInValueRaster()
Returns the Input value raster parameter of this tool . |
Object |
getInZoneData()
Returns the Input raster or feature zone data parameter of this tool . |
Object |
getOutRaster()
Returns the Output raster parameter of this tool . |
String |
getStatisticsType()
Returns the Statistics type parameter of this tool . |
String |
getToolboxAlias()
Returns the alias of the tool box containing this tool. |
String |
getToolboxName()
Returns the name of the tool box containing this tool. |
String |
getToolName()
Returns the name of this tool. |
Object |
getZoneField()
Returns the Zone field parameter of this tool . |
void |
setIgnoreNodata(String ignoreNodata)
Sets the Ignore NoData in calculations parameter of this tool . |
void |
setInValueRaster(Object inValueRaster)
Sets the Input value raster parameter of this tool . |
void |
setInZoneData(Object inZoneData)
Sets the Input raster or feature zone data parameter of this tool . |
void |
setOutRaster(Object outRaster)
Sets the Output raster parameter of this tool . |
void |
setStatisticsType(String statisticsType)
Sets the Statistics type parameter of this tool . |
void |
setZoneField(Object zoneField)
Sets the Zone field parameter of this tool . |
| Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
|---|
getParameterValues, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ZonalStatistics()
Initializes the array of tool parameters with the default values specified when the tool was created.
public ZonalStatistics(Object inZoneData,
Object zoneField,
Object inValueRaster,
Object outRaster)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inZoneData - Composite Geodataset, it can be a raster or feature dataset.zoneField - Field, field that holds the values that define each zone.inValueRaster - Composite Geodataset, raster that contains the values on which to calculate a statistic.outRaster - Raster Dataset, the raster to be created.| Method Detail |
|---|
public Object getInZoneData()
public void setInZoneData(Object inZoneData)
inZoneData - Composite Geodataset, it can be a raster or feature dataset.public Object getZoneField()
public void setZoneField(Object zoneField)
zoneField - Field, field that holds the values that define each zone.public Object getInValueRaster()
public void setInValueRaster(Object inValueRaster)
inValueRaster - Composite Geodataset, raster that contains the values on which to calculate a statistic.public Object getOutRaster()
public void setOutRaster(Object outRaster)
outRaster - Raster Dataset, the raster to be created.public String getStatisticsType()
public void setStatisticsType(String statisticsType)
statisticsType - String, statistic type to be calculated.public String getIgnoreNodata()
public void setIgnoreNodata(String ignoreNodata)
ignoreNodata - String, denotes whether NoData values on the Value input will influence the results of the zone that they fall within.public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||