|
|||||||||
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.datamanagementtools.Warp
public class Warp
Performs a transformation on the raster based on the source and target control points using a polynomial transformation. This is similar to georeferencing using a text file. The Warp tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
Warp()
Creates the Warp tool with defaults. |
|
Warp(Object inRaster,
Object sourceControlPoints,
Object targetControlPoints,
Object outRaster)
Creates the Warp tool with the required parameters. |
Method Summary | |
---|---|
Object |
getInRaster()
Returns the Input Raster parameter of this tool . |
Object |
getOutRaster()
Returns the Output Raster Dataset parameter of this tool . |
String |
getResamplingType()
Returns the Resampling Techinque parameter of this tool . |
Object |
getSourceControlPoints()
Returns the Source Control Points parameter of this tool . |
Object |
getTargetControlPoints()
Returns the Target Control Points 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 |
getTransformationType()
Returns the Transformation Type parameter of this tool . |
void |
setInRaster(Object inRaster)
Sets the Input Raster parameter of this tool . |
void |
setOutRaster(Object outRaster)
Sets the Output Raster Dataset parameter of this tool . |
void |
setResamplingType(String resamplingType)
Sets the Resampling Techinque parameter of this tool . |
void |
setSourceControlPoints(Object sourceControlPoints)
Sets the Source Control Points parameter of this tool . |
void |
setTargetControlPoints(Object targetControlPoints)
Sets the Target Control Points parameter of this tool . |
void |
setTransformationType(String transformationType)
Sets the Transformation Type 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 Warp()
Initializes the array of tool parameters with the default values specified when the tool was created.
public Warp(Object inRaster, Object sourceControlPoints, Object targetControlPoints, 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 dataset.sourceControlPoints
- the source points are the "from" coordinates of the links.targetControlPoints
- the target points are the "to" coordinates of the links.outRaster
- output raster dataset. when storing the raster dataset in a file format, you need to specify the file extension: when storing a raster dataset in a geodatabase, no file extension should be added to the name of the raster dataset. when storing your raster dataset to a JPEG file, a JPEG 2000 file, a TIFF file, or a geodatabase, you can specify a compression type and compression quality.Method Detail |
---|
public Object getInRaster()
public void setInRaster(Object inRaster)
inRaster
- the input raster dataset.public Object getSourceControlPoints()
public void setSourceControlPoints(Object sourceControlPoints)
sourceControlPoints
- the source points are the "from" coordinates of the links.public Object getTargetControlPoints()
public void setTargetControlPoints(Object targetControlPoints)
targetControlPoints
- the target points are the "to" coordinates of the links.public Object getOutRaster()
public void setOutRaster(Object outRaster)
outRaster
- output raster dataset. when storing the raster dataset in a file format, you need to specify the file extension: when storing a raster dataset in a geodatabase, no file extension should be added to the name of the raster dataset. when storing your raster dataset to a JPEG file, a JPEG 2000 file, a TIFF file, or a geodatabase, you can specify a compression type and compression quality.public String getTransformationType()
public void setTransformationType(String transformationType)
transformationType
- the geometric transformation type.public String getResamplingType()
public void setResamplingType(String resamplingType)
resamplingType
- the resampling algorithm to be used. The default is NEAREST. the NEAREST and MAJORITY options are used for categorical data, such as a land use classification. The NEAREST option is the default since it is the quickest and also because it will not change the cell values. Do not use NEAREST or MAJORITY for continuous data, such as elevation surfaces. the BILINEAR option and the CUBIC option are most appropriate for continuous data. It is not recommended that BILINEAR or CUBIC be used with categorical data because the cell values may be altered.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 |