|
|||||||||
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.SplitRaster
public class SplitRaster
Creates a tiled output from an input raster dataset. The Split Raster tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
SplitRaster()
Creates the Split Raster tool with defaults. |
|
SplitRaster(Object inRaster,
Object outFolder,
String outBaseName,
String splitMethod,
String format)
Creates the Split Raster tool with the required parameters. |
Method Summary | |
---|---|
Object |
getCellSize()
Returns the Cellsize parameter of this tool . |
String |
getFormat()
Returns the Output Format parameter of this tool . |
Object |
getInRaster()
Returns the Input Raster parameter of this tool . |
Object |
getNumRasters()
Returns the Number of Output Rasters parameter of this tool . |
Object |
getOrigin()
Returns the Lower left origin parameter of this tool . |
String |
getOutBaseName()
Returns the Output Base Name parameter of this tool . |
Object |
getOutFolder()
Returns the Output Folder parameter of this tool . |
String |
getOutStatus()
Returns the parameter of this tool (Read only). |
double |
getOverlap()
Returns the Overlap parameter of this tool . |
String |
getResamplingType()
Returns the Resampling Techinque parameter of this tool . |
String |
getSplitMethod()
Returns the Split Method parameter of this tool . |
Object |
getTileSize()
Returns the Size of Output Rasters 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 |
getUnits()
Returns the Units for Output Raster Size and Overlap parameter of this tool . |
void |
setCellSize(Object cellSize)
Sets the Cellsize parameter of this tool . |
void |
setFormat(String format)
Sets the Output Format parameter of this tool . |
void |
setInRaster(Object inRaster)
Sets the Input Raster parameter of this tool . |
void |
setNumRasters(Object numRasters)
Sets the Number of Output Rasters parameter of this tool . |
void |
setOrigin(Object origin)
Sets the Lower left origin parameter of this tool . |
void |
setOutBaseName(String outBaseName)
Sets the Output Base Name parameter of this tool . |
void |
setOutFolder(Object outFolder)
Sets the Output Folder parameter of this tool . |
void |
setOverlap(double overlap)
Sets the Overlap parameter of this tool . |
void |
setResamplingType(String resamplingType)
Sets the Resampling Techinque parameter of this tool . |
void |
setSplitMethod(String splitMethod)
Sets the Split Method parameter of this tool . |
void |
setTileSize(Object tileSize)
Sets the Size of Output Rasters parameter of this tool . |
void |
setUnits(String units)
Sets the Units for Output Raster Size and Overlap 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 SplitRaster()
Initializes the array of tool parameters with the default values specified when the tool was created.
public SplitRaster(Object inRaster, Object outFolder, String outBaseName, String splitMethod, String format)
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 to be split into tiles.outFolder
- the output folder, where the tiles will be created.outBaseName
- the prefix for each filename. The tile number is then appended to complete the filename, which starts with 0. by default, the prefix is the same name as the input raster.splitMethod
- the tiling method to be used when splitting the raster dataset. It will determine the size and number of tiles for each output dataset.format
- the file format for the output raster datasets.Method Detail |
---|
public Object getInRaster()
public void setInRaster(Object inRaster)
inRaster
- the input raster dataset to be split into tiles.public Object getOutFolder()
public void setOutFolder(Object outFolder)
outFolder
- the output folder, where the tiles will be created.public String getOutBaseName()
public void setOutBaseName(String outBaseName)
outBaseName
- the prefix for each filename. The tile number is then appended to complete the filename, which starts with 0. by default, the prefix is the same name as the input raster.public String getSplitMethod()
public void setSplitMethod(String splitMethod)
splitMethod
- the tiling method to be used when splitting the raster dataset. It will determine the size and number of tiles for each output dataset.public String getFormat()
public void setFormat(String format)
format
- the file format for the output raster datasets.public String getResamplingType()
public void setResamplingType(String resamplingType)
resamplingType
- choose the resampling method to use when creating the DTEDs. The default is bilinear interpolation resampling.public Object getNumRasters()
public void setNumRasters(Object numRasters)
numRasters
- specify the number of tiles in each direction. The default value is 1 tile for each direction. this option is only valid when the tiling method is NUMBER_OF_TILES.public Object getTileSize()
public void setTileSize(Object tileSize)
tileSize
- the x and y dimensions of the output tiles. The "Units for Output Raster Size and Overlap" parameter will determine the units that are used for these values. this option is only valid when the tiling method is SIZE_OF_TILE.public double getOverlap()
public void setOverlap(double overlap)
overlap
- the number of pixels of overlap between the adjoining tiles. The overlap value will be determined by the "Units for Output Raster Size and Overlap" parameter.public String getUnits()
public void setUnits(String units)
units
- nullpublic Object getCellSize()
public void setCellSize(Object cellSize)
cellSize
- nullpublic Object getOrigin()
public void setOrigin(Object origin)
origin
- the coordinate for the lower left origin point, where the tiling scheme will begin. By default, the lower left origin would be the same as the input raster. this parameter is based on the output spatial reference system, which is set in the Environment Settings.public String getOutStatus()
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 |