|
|||||||||
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.RegionGroup
public class RegionGroup
For each cell in the output, the identity of the connected region to which that cell belongs is recorded. A unique number is assigned to each region. The Region Group tool is contained in the Spatial Analyst Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
RegionGroup()
Creates the Region Group tool with defaults. |
|
RegionGroup(Object inRaster,
Object outRaster)
Creates the Region Group tool with the required parameters. |
Method Summary | |
---|---|
String |
getAddLink()
Returns the Add link field to output parameter of this tool . |
int |
getExcludedValue()
Returns the Excluded value parameter of this tool . |
Object |
getInRaster()
Returns the Input raster parameter of this tool . |
String |
getNumberNeighbors()
Returns the Number of neighbors to use parameter of this tool . |
Object |
getOutRaster()
Returns the Output raster 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. |
String |
getZoneConnectivity()
Returns the Zone grouping method parameter of this tool . |
void |
setAddLink(String addLink)
Sets the Add link field to output parameter of this tool . |
void |
setExcludedValue(int excludedValue)
Sets the Excluded value parameter of this tool . |
void |
setInRaster(Object inRaster)
Sets the Input raster parameter of this tool . |
void |
setNumberNeighbors(String numberNeighbors)
Sets the Number of neighbors to use parameter of this tool . |
void |
setOutRaster(Object outRaster)
Sets the Output raster parameter of this tool . |
void |
setZoneConnectivity(String zoneConnectivity)
Sets the Zone grouping method 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 RegionGroup()
Initializes the array of tool parameters with the default values specified when the tool was created.
public RegionGroup(Object inRaster, 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.
inRaster
- the input raster whose unique connected regions will be identified. it must be of integer type.outRaster
- the output region group raster. the output raster is always of integer type.Method Detail |
---|
public Object getInRaster()
public void setInRaster(Object inRaster)
inRaster
- the input raster whose unique connected regions will be identified. it must be of integer type.public Object getOutRaster()
public void setOutRaster(Object outRaster)
outRaster
- the output region group raster. the output raster is always of integer type.public String getNumberNeighbors()
public void setNumberNeighbors(String numberNeighbors)
numberNeighbors
- the number of neighboring cells to use in evaluating connectivity between cells.public String getZoneConnectivity()
public void setZoneConnectivity(String zoneConnectivity)
zoneConnectivity
- defines which cell values should be considered when testing for connectivity.public String getAddLink()
public void setAddLink(String addLink)
addLink
- specifies whether a link field is added to the table of the output.public int getExcludedValue()
public void setExcludedValue(int excludedValue)
excludedValue
- identifies a value such that if a cell location contains the value, no spatial connectivity will be evaluated regardless how the number of neighbors is specified (FOUR or EIGHT). cells with the excluded value will be treated as NoData and are eliminated from calculations. Cell locations that contain the excluded value will receive 0 on the output raster. the excluded value is similar to the concept of a background value, or setting a mask in the environment for a single run of the tool. A value must be specified for this parameter if the CROSS keyword is specified.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 |