|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geoprocessing.AbstractGPTool
com.esri.arcgis.geoprocessing.tools.datamanagementtools.RasterCompare
public class RasterCompare
Compares the properties of two rasters datasets or two raster catalogs and returns the comparison result. The Raster Compare tool is contained in the Data Management Tools tool box.
Software restrictions: none
| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
|---|
vals |
| Constructor Summary | |
|---|---|
RasterCompare()
Creates the Raster Compare tool with defaults. |
|
RasterCompare(Object inBaseRaster,
Object inTestRaster)
Creates the Raster Compare tool with the required parameters. |
|
| Method Summary | |
|---|---|
Object |
getAttributeTolerances()
Returns the Attribute Tolerance parameter of this tool . |
String |
getCompareStatus()
Returns the Compare Status parameter of this tool (Read only). |
String |
getCompareType()
Returns the Compare Type parameter of this tool . |
String |
getContinueCompare()
Returns the Continue Comparison parameter of this tool . |
Object |
getIgnoreOption()
Returns the Ignore Options parameter of this tool . |
Object |
getInBaseRaster()
Returns the Input Base Raster parameter of this tool . |
Object |
getInTestRaster()
Returns the Input Test Raster parameter of this tool . |
Object |
getOmitField()
Returns the Omit Fields parameter of this tool . |
Object |
getOutCompareFile()
Returns the Output Compare File parameter of this tool . |
Object |
getParameterTolerances()
Returns the Parameter Tolerance 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 |
setAttributeTolerances(Object attributeTolerances)
Sets the Attribute Tolerance parameter of this tool . |
void |
setCompareType(String compareType)
Sets the Compare Type parameter of this tool . |
void |
setContinueCompare(String continueCompare)
Sets the Continue Comparison parameter of this tool . |
void |
setIgnoreOption(Object ignoreOption)
Sets the Ignore Options parameter of this tool . |
void |
setInBaseRaster(Object inBaseRaster)
Sets the Input Base Raster parameter of this tool . |
void |
setInTestRaster(Object inTestRaster)
Sets the Input Test Raster parameter of this tool . |
void |
setOmitField(Object omitField)
Sets the Omit Fields parameter of this tool . |
void |
setOutCompareFile(Object outCompareFile)
Sets the Output Compare File parameter of this tool . |
void |
setParameterTolerances(Object parameterTolerances)
Sets the Parameter Tolerance 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 RasterCompare()
Initializes the array of tool parameters with the default values specified when the tool was created.
public RasterCompare(Object inBaseRaster,
Object inTestRaster)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inBaseRaster - Raster Layer | Raster Catalog Layer, the raster dataset that will be compared to the test raster.inTestRaster - Raster Layer | Raster Catalog Layer, the raster dataset that will be compared to the input base raster.| Method Detail |
|---|
public Object getInBaseRaster()
public void setInBaseRaster(Object inBaseRaster)
inBaseRaster - Raster Layer | Raster Catalog Layer, the raster dataset that will be compared to the test raster.public Object getInTestRaster()
public void setInTestRaster(Object inTestRaster)
inTestRaster - Raster Layer | Raster Catalog Layer, the raster dataset that will be compared to the input base raster.public String getCompareType()
public void setCompareType(String compareType)
compareType - String, the type of comparison.public Object getIgnoreOption()
public void setIgnoreOption(Object ignoreOption)
ignoreOption - String, the properties specified will not be compared during comparison.public String getContinueCompare()
public void setContinueCompare(String continueCompare)
continueCompare - String, indicates whether to compare all properties after encountering the first mismatch.public Object getOutCompareFile()
public void setOutCompareFile(Object outCompareFile)
outCompareFile - Text File, the name and path of the text file which will contain the comparison results.public Object getParameterTolerances()
public void setParameterTolerances(Object parameterTolerances)
parameterTolerances - string, type the parameter name, tolerance, and tolerance type for each parameter that you want to have a tolerance for. The tolerance type is either the value of the tolerance or a fraction of it. When using the fraction type, the fraction is based on the base value, therefore the tolerance value for comparison would be the fraction times the base value. For example, if your base value is 100 and you set the fraction tolerance to 0.00001, the compare tolerance will be 100 * 0.00001 = 0.001.public Object getAttributeTolerances()
public void setAttributeTolerances(Object attributeTolerances)
attributeTolerances - string, type the field name and tolerance value for each parameter that you want to have a tolerance for. The tolerance value is the actual value of the tolerance, not a fraction.public Object getOmitField()
public void setOmitField(Object omitField)
omitField - string, when dealing with a raster catalog scenario, you are comparing attribute columns of the raster catalogs, not any attributes within the catalog items.public String getCompareStatus()
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 | ||||||||