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

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

public class IsoCluster
extends AbstractGPTool

Uses an isodata clustering algorithm to determine the characteristics of the natural groupings of cells in multidimensional attribute space and stores the results in an output ASCII signature file. The Iso Cluster 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
IsoCluster()
          Creates the Iso Cluster tool with defaults.
IsoCluster(java.lang.Object inRasterBands, java.lang.Object outSignatureFile, int numberClasses)
          Creates the Iso Cluster tool with the required parameters.
 
Method Summary
 java.lang.Object getInRasterBands()
          Returns the Input raster bands parameter of this tool .
 int getMinClassSize()
          Returns the Minimum class size parameter of this tool .
 int getNumberClasses()
          Returns the Number of classes parameter of this tool .
 int getNumberIterations()
          Returns the Number of iterations parameter of this tool .
 java.lang.Object getOutSignatureFile()
          Returns the Output signature file parameter of this tool .
 int getSampleInterval()
          Returns the Sample interval 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 setInRasterBands(java.lang.Object inRasterBands)
          Sets the Input raster bands parameter of this tool .
 void setMinClassSize(int minClassSize)
          Sets the Minimum class size parameter of this tool .
 void setNumberClasses(int numberClasses)
          Sets the Number of classes parameter of this tool .
 void setNumberIterations(int numberIterations)
          Sets the Number of iterations parameter of this tool .
 void setOutSignatureFile(java.lang.Object outSignatureFile)
          Sets the Output signature file parameter of this tool .
 void setSampleInterval(int sampleInterval)
          Sets the Sample interval 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

IsoCluster

public IsoCluster()
Creates the Iso Cluster tool with defaults.

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


IsoCluster

public IsoCluster(java.lang.Object inRasterBands,
                  java.lang.Object outSignatureFile,
                  int numberClasses)
Creates the Iso Cluster 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:
inRasterBands - the input raster bands.
outSignatureFile - the output signature file. a .gsg extension must be specified.
numberClasses - number of classes into which to group the cells.
Method Detail

getInRasterBands

public java.lang.Object getInRasterBands()
Returns the Input raster bands parameter of this tool . This parameter is the input raster bands. This is a required parameter.

Returns:
the Input raster bands

setInRasterBands

public void setInRasterBands(java.lang.Object inRasterBands)
Sets the Input raster bands parameter of this tool . This parameter is the input raster bands. This is a required parameter.

Parameters:
inRasterBands - the input raster bands.

getOutSignatureFile

public java.lang.Object getOutSignatureFile()
Returns the Output signature file parameter of this tool . This parameter is the output signature file. a .gsg extension must be specified. This is a required parameter.

Returns:
the Output signature file

setOutSignatureFile

public void setOutSignatureFile(java.lang.Object outSignatureFile)
Sets the Output signature file parameter of this tool . This parameter is the output signature file. a .gsg extension must be specified. This is a required parameter.

Parameters:
outSignatureFile - the output signature file. a .gsg extension must be specified.

getNumberClasses

public int getNumberClasses()
Returns the Number of classes parameter of this tool . This parameter is number of classes into which to group the cells. This is a required parameter.

Returns:
the Number of classes

setNumberClasses

public void setNumberClasses(int numberClasses)
Sets the Number of classes parameter of this tool . This parameter is number of classes into which to group the cells. This is a required parameter.

Parameters:
numberClasses - number of classes into which to group the cells.

getNumberIterations

public int getNumberIterations()
Returns the Number of iterations parameter of this tool . This parameter is number of iterations of the clustering process to run. the default is 20. This is an optional parameter.

Returns:
the Number of iterations

setNumberIterations

public void setNumberIterations(int numberIterations)
Sets the Number of iterations parameter of this tool . This parameter is number of iterations of the clustering process to run. the default is 20. This is an optional parameter.

Parameters:
numberIterations - number of iterations of the clustering process to run. the default is 20.

getMinClassSize

public int getMinClassSize()
Returns the Minimum class size parameter of this tool . This parameter is minimum number of cells in a valid class. the default is 20. This is an optional parameter.

Returns:
the Minimum class size

setMinClassSize

public void setMinClassSize(int minClassSize)
Sets the Minimum class size parameter of this tool . This parameter is minimum number of cells in a valid class. the default is 20. This is an optional parameter.

Parameters:
minClassSize - minimum number of cells in a valid class. the default is 20.

getSampleInterval

public int getSampleInterval()
Returns the Sample interval parameter of this tool . This parameter is the interval to be used for sampling. the default is 10. This is an optional parameter.

Returns:
the Sample interval

setSampleInterval

public void setSampleInterval(int sampleInterval)
Sets the Sample interval parameter of this tool . This parameter is the interval to be used for sampling. the default is 10. This is an optional parameter.

Parameters:
sampleInterval - the interval to be used for sampling. the default is 10.

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