|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.spatialanalysttools.SnapPourPoint
public class SnapPourPoint
Snaps pour points to the cell of highest flow accumulation within a specified distance. The Snap Pour Point tool is contained in the Spatial Analyst Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
SnapPourPoint()
Creates the Snap Pour Point tool with defaults. |
|
SnapPourPoint(Object inPourPointData,
Object inAccumulationRaster,
Object outRaster,
double snapDistance)
Creates the Snap Pour Point tool with the required parameters. |
Method Summary | |
---|---|
Object |
getInAccumulationRaster()
Returns the Input accumulation raster parameter of this tool . |
Object |
getInPourPointData()
Returns the Input raster or feature pour point data parameter of this tool . |
Object |
getOutRaster()
Returns the Output raster parameter of this tool . |
Object |
getPourPointField()
Returns the Pour point field parameter of this tool . |
double |
getSnapDistance()
Returns the Snap distance 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. |
void |
setInAccumulationRaster(Object inAccumulationRaster)
Sets the Input accumulation raster parameter of this tool . |
void |
setInPourPointData(Object inPourPointData)
Sets the Input raster or feature pour point data parameter of this tool . |
void |
setOutRaster(Object outRaster)
Sets the Output raster parameter of this tool . |
void |
setPourPointField(Object pourPointField)
Sets the Pour point field parameter of this tool . |
void |
setSnapDistance(double snapDistance)
Sets the Snap distance 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 SnapPourPoint()
Initializes the array of tool parameters with the default values specified when the tool was created.
public SnapPourPoint(Object inPourPointData, Object inAccumulationRaster, Object outRaster, double snapDistance)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inPourPointData
- the input pour point locations that are to be snapped. for rasters, all cells that are not NoData (i.e., have a value) will be considered pour points and will be snapped. for point datasets, specifies the locations of cells that will be snapped.inAccumulationRaster
- the input flow accumulation raster. this can be created with the Flow Accumulation tool.outRaster
- the output pour point integer raster where the original pour point locations have been snapped to locations of higher accumulated flow.snapDistance
- maximum distance, in map units, to search for a cell of higher accumulated flow.Method Detail |
---|
public Object getInPourPointData()
public void setInPourPointData(Object inPourPointData)
inPourPointData
- the input pour point locations that are to be snapped. for rasters, all cells that are not NoData (i.e., have a value) will be considered pour points and will be snapped. for point datasets, specifies the locations of cells that will be snapped.public Object getInAccumulationRaster()
public void setInAccumulationRaster(Object inAccumulationRaster)
inAccumulationRaster
- the input flow accumulation raster. this can be created with the Flow Accumulation tool.public Object getOutRaster()
public void setOutRaster(Object outRaster)
outRaster
- the output pour point integer raster where the original pour point locations have been snapped to locations of higher accumulated flow.public double getSnapDistance()
public void setSnapDistance(double snapDistance)
snapDistance
- maximum distance, in map units, to search for a cell of higher accumulated flow.public Object getPourPointField()
public void setPourPointField(Object pourPointField)
pourPointField
- field used to assign values to the pour point locations. if the pour point dataset is a raster, use Value. if the pour point dataset is a feature, use a numeric field. If the field contains floating-point values, they will be truncated into integers.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 |