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

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

public class Reclassify
extends AbstractGPTool

Reclassifies (or changes) the values in a raster. The Reclassify 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
Reclassify()
          Creates the Reclassify tool with defaults.
Reclassify(java.lang.Object inRaster, java.lang.Object reclassField, java.lang.Object remap, java.lang.Object outRaster)
          Creates the Reclassify tool with the required parameters.
 
Method Summary
 java.lang.Object getInRaster()
          Returns the Input raster parameter of this tool .
 java.lang.String getMissingValues()
          Returns the Change missing values to NoData parameter of this tool .
 java.lang.Object getOutRaster()
          Returns the Output raster parameter of this tool .
 java.lang.Object getReclassField()
          Returns the Reclass field parameter of this tool .
 java.lang.Object getRemap()
          Returns the Reclassification 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 setInRaster(java.lang.Object inRaster)
          Sets the Input raster parameter of this tool .
 void setMissingValues(java.lang.String missingValues)
          Sets the Change missing values to NoData parameter of this tool .
 void setOutRaster(java.lang.Object outRaster)
          Sets the Output raster parameter of this tool .
 void setReclassField(java.lang.Object reclassField)
          Sets the Reclass field parameter of this tool .
 void setRemap(java.lang.Object remap)
          Sets the Reclassification 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

Reclassify

public Reclassify()
Creates the Reclassify tool with defaults.

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


Reclassify

public Reclassify(java.lang.Object inRaster,
                  java.lang.Object reclassField,
                  java.lang.Object remap,
                  java.lang.Object outRaster)
Creates the Reclassify 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:
inRaster - the input raster to be reclassified.
reclassField - field denoting the values that will be reclassified.
remap - the Remap object is used to specify how to reclassify values of the input raster. there are two ways to define how the values will be reclassified in the output raster:; RemapRange and RemapValue. Either ranges of input values can be assigned to a new output value, or individual values can be assigned to a new output value. the following are the forms of the remap objects.
outRaster - the output reclassified raster. the output will always be of integer type.
Method Detail

getInRaster

public java.lang.Object getInRaster()
Returns the Input raster parameter of this tool . This parameter is the input raster to be reclassified. This is a required parameter.

Returns:
the Input raster

setInRaster

public void setInRaster(java.lang.Object inRaster)
Sets the Input raster parameter of this tool . This parameter is the input raster to be reclassified. This is a required parameter.

Parameters:
inRaster - the input raster to be reclassified.

getReclassField

public java.lang.Object getReclassField()
Returns the Reclass field parameter of this tool . This parameter is field denoting the values that will be reclassified. This is a required parameter.

Returns:
the Reclass field

setReclassField

public void setReclassField(java.lang.Object reclassField)
Sets the Reclass field parameter of this tool . This parameter is field denoting the values that will be reclassified. This is a required parameter.

Parameters:
reclassField - field denoting the values that will be reclassified.

getRemap

public java.lang.Object getRemap()
Returns the Reclassification parameter of this tool . This parameter is the Remap object is used to specify how to reclassify values of the input raster. there are two ways to define how the values will be reclassified in the output raster:; RemapRange and RemapValue. Either ranges of input values can be assigned to a new output value, or individual values can be assigned to a new output value. the following are the forms of the remap objects. This is a required parameter.

Returns:
the Reclassification

setRemap

public void setRemap(java.lang.Object remap)
Sets the Reclassification parameter of this tool . This parameter is the Remap object is used to specify how to reclassify values of the input raster. there are two ways to define how the values will be reclassified in the output raster:; RemapRange and RemapValue. Either ranges of input values can be assigned to a new output value, or individual values can be assigned to a new output value. the following are the forms of the remap objects. This is a required parameter.

Parameters:
remap - the Remap object is used to specify how to reclassify values of the input raster. there are two ways to define how the values will be reclassified in the output raster:; RemapRange and RemapValue. Either ranges of input values can be assigned to a new output value, or individual values can be assigned to a new output value. the following are the forms of the remap objects.

getOutRaster

public java.lang.Object getOutRaster()
Returns the Output raster parameter of this tool . This parameter is the output reclassified raster. the output will always be of integer type. This is a required parameter.

Returns:
the Output raster

setOutRaster

public void setOutRaster(java.lang.Object outRaster)
Sets the Output raster parameter of this tool . This parameter is the output reclassified raster. the output will always be of integer type. This is a required parameter.

Parameters:
outRaster - the output reclassified raster. the output will always be of integer type.

getMissingValues

public java.lang.String getMissingValues()
Returns the Change missing values to NoData parameter of this tool . This parameter is denotes whether missing values in the reclass table retain their value or get mapped to NoData. This is an optional parameter.

Returns:
the Change missing values to NoData

setMissingValues

public void setMissingValues(java.lang.String missingValues)
Sets the Change missing values to NoData parameter of this tool . This parameter is denotes whether missing values in the reclass table retain their value or get mapped to NoData. This is an optional parameter.

Parameters:
missingValues - denotes whether missing values in the reclass table retain their value or get mapped to NoData.

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