com.esri.arcgis.geoprocessing.tools.spatialanalysttools
Class FlowAccumulation

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.AbstractGPTool
      extended by com.esri.arcgis.geoprocessing.tools.spatialanalysttools.FlowAccumulation
All Implemented Interfaces:
GPTool

public class FlowAccumulation
extends AbstractGPTool

Creates a raster of accumulated flow into each cell. A weight factor can optionally be applied. The Flow Accumulation tool is contained in the Spatial Analyst Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
FlowAccumulation()
          Creates the Flow Accumulation tool with defaults.
FlowAccumulation(java.lang.Object inFlowDirectionRaster, java.lang.Object outAccumulationRaster)
          Creates the Flow Accumulation tool with the required parameters.
 
Method Summary
 java.lang.String getDataType()
          Returns the Output data type parameter of this tool .
 java.lang.Object getInFlowDirectionRaster()
          Returns the Input flow direction raster parameter of this tool .
 java.lang.Object getInWeightRaster()
          Returns the Input weight raster parameter of this tool .
 java.lang.Object getOutAccumulationRaster()
          Returns the Output accumulation raster parameter of this tool .
 java.lang.String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 java.lang.String getToolboxName()
          Returns the name of the tool box containing this tool.
 java.lang.String getToolName()
          Returns the name of this tool.
 void setDataType(java.lang.String dataType)
          Sets the Output data type parameter of this tool .
 void setInFlowDirectionRaster(java.lang.Object inFlowDirectionRaster)
          Sets the Input flow direction raster parameter of this tool .
 void setInWeightRaster(java.lang.Object inWeightRaster)
          Sets the Input weight raster parameter of this tool .
 void setOutAccumulationRaster(java.lang.Object outAccumulationRaster)
          Sets the Output accumulation raster 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

FlowAccumulation

public FlowAccumulation()
Creates the Flow Accumulation tool with defaults.

Initializes the array of tool parameters with the default values specified when the tool was created.


FlowAccumulation

public FlowAccumulation(java.lang.Object inFlowDirectionRaster,
                        java.lang.Object outAccumulationRaster)
Creates the Flow Accumulation tool with the required parameters.

Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.

Parameters:
inFlowDirectionRaster - the input raster that shows the direction of flow out of each cell. the flow direction raster can be created using the Flow Direction tool.
outAccumulationRaster - the output raster that shows the accumulated flow to each cell.
Method Detail

getInFlowDirectionRaster

public java.lang.Object getInFlowDirectionRaster()
Returns the Input flow direction raster parameter of this tool . This parameter is the input raster that shows the direction of flow out of each cell. the flow direction raster can be created using the Flow Direction tool. This is a required parameter.

Returns:
the Input flow direction raster

setInFlowDirectionRaster

public void setInFlowDirectionRaster(java.lang.Object inFlowDirectionRaster)
Sets the Input flow direction raster parameter of this tool . This parameter is the input raster that shows the direction of flow out of each cell. the flow direction raster can be created using the Flow Direction tool. This is a required parameter.

Parameters:
inFlowDirectionRaster - the input raster that shows the direction of flow out of each cell. the flow direction raster can be created using the Flow Direction tool.

getOutAccumulationRaster

public java.lang.Object getOutAccumulationRaster()
Returns the Output accumulation raster parameter of this tool . This parameter is the output raster that shows the accumulated flow to each cell. This is a required parameter.

Returns:
the Output accumulation raster

setOutAccumulationRaster

public void setOutAccumulationRaster(java.lang.Object outAccumulationRaster)
Sets the Output accumulation raster parameter of this tool . This parameter is the output raster that shows the accumulated flow to each cell. This is a required parameter.

Parameters:
outAccumulationRaster - the output raster that shows the accumulated flow to each cell.

getInWeightRaster

public java.lang.Object getInWeightRaster()
Returns the Input weight raster parameter of this tool . This parameter is an optional input raster for applying a weight to each cell. if no weight raster is specified, a default weight of 1 will be applied to each cell. For each cell in the output raster, the result will be the number of cells that flow into it. This is an optional parameter.

Returns:
the Input weight raster

setInWeightRaster

public void setInWeightRaster(java.lang.Object inWeightRaster)
Sets the Input weight raster parameter of this tool . This parameter is an optional input raster for applying a weight to each cell. if no weight raster is specified, a default weight of 1 will be applied to each cell. For each cell in the output raster, the result will be the number of cells that flow into it. This is an optional parameter.

Parameters:
inWeightRaster - an optional input raster for applying a weight to each cell. if no weight raster is specified, a default weight of 1 will be applied to each cell. For each cell in the output raster, the result will be the number of cells that flow into it.

getDataType

public java.lang.String getDataType()
Returns the Output data type parameter of this tool . This parameter is the output accumulation raster can be integer or floating point type. This is an optional parameter.

Returns:
the Output data type

setDataType

public void setDataType(java.lang.String dataType)
Sets the Output data type parameter of this tool . This parameter is the output accumulation raster can be integer or floating point type. This is an optional parameter.

Parameters:
dataType - the output accumulation raster can be integer or floating point type.

getToolName

public java.lang.String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public java.lang.String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public java.lang.String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias