|
|||||||||
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.Shift
public class Shift
Moves (slides) the raster to a new geographic location, based on x and y shift values. This tool is helpful if your raster dataset needs to be shifted to align with another data file. The Shift tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
Shift()
Creates the Shift tool with defaults. |
|
Shift(Object inRaster,
Object outRaster,
double xValue,
double yValue)
Creates the Shift tool with the required parameters. |
Method Summary | |
---|---|
Object |
getInRaster()
Returns the Input Raster parameter of this tool . |
Object |
getInSnapRaster()
Returns the Input Snap Raster parameter of this tool . |
Object |
getOutRaster()
Returns the Output Raster Dataset 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. |
double |
getXValue()
Returns the Shift X Coordinates by parameter of this tool . |
double |
getYValue()
Returns the Shift Y Coordinates by parameter of this tool . |
void |
setInRaster(Object inRaster)
Sets the Input Raster parameter of this tool . |
void |
setInSnapRaster(Object inSnapRaster)
Sets the Input Snap Raster parameter of this tool . |
void |
setOutRaster(Object outRaster)
Sets the Output Raster Dataset parameter of this tool . |
void |
setXValue(double xValue)
Sets the Shift X Coordinates by parameter of this tool . |
void |
setYValue(double yValue)
Sets the Shift Y Coordinates by 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 Shift()
Initializes the array of tool parameters with the default values specified when the tool was created.
public Shift(Object inRaster, Object outRaster, double xValue, double yValue)
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.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.xValue
- the value used to shift the x coordinates.yValue
- the value used to shift the y coordinates.Method Detail |
---|
public Object getInRaster()
public void setInRaster(Object inRaster)
inRaster
- the input raster dataset.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 double getXValue()
public void setXValue(double xValue)
xValue
- the value used to shift the x coordinates.public double getYValue()
public void setYValue(double yValue)
yValue
- the value used to shift the y coordinates.public Object getInSnapRaster()
public void setInSnapRaster(Object inSnapRaster)
inSnapRaster
- the raster dataset used to align the cells of the output raster dataset.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 |