com.esri.arcgis.geoprocessing.tools.datamanagementtools
Class MosaicToNewRaster

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

public class MosaicToNewRaster
extends AbstractGPTool

Mosaics multiple raster datasets into a new raster dataset. The Mosaic To New Raster tool is contained in the Data Management Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
MosaicToNewRaster()
          Creates the Mosaic To New Raster tool with defaults.
MosaicToNewRaster(Object inputRasters, Object outputLocation, String rasterDatasetNameWithExtension, int numberOfBands)
          Creates the Mosaic To New Raster tool with the required parameters.
 
Method Summary
 double getCellsize()
          Returns the Cellsize parameter of this tool .
 Object getCoordinateSystemForTheRaster()
          Returns the Spatial Reference for Raster parameter of this tool .
 Object getInputRasters()
          Returns the Input Rasters parameter of this tool .
 String getMosaicColormapMode()
          Returns the Mosaic Colormap Mode parameter of this tool .
 String getMosaicMethod()
          Returns the Mosaic Operator parameter of this tool .
 int getNumberOfBands()
          Returns the Number of Bands parameter of this tool .
 Object getOutputLocation()
          Returns the Output Location parameter of this tool .
 Object getOutputRasterDataset()
          Returns the Output Raster Dataset parameter of this tool (Read only).
 String getPixelType()
          Returns the Pixel Type parameter of this tool .
 String getRasterDatasetNameWithExtension()
          Returns the Raster Dataset Name with Extension 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 setCellsize(double cellsize)
          Sets the Cellsize parameter of this tool .
 void setCoordinateSystemForTheRaster(Object coordinateSystemForTheRaster)
          Sets the Spatial Reference for Raster parameter of this tool .
 void setInputRasters(Object inputRasters)
          Sets the Input Rasters parameter of this tool .
 void setMosaicColormapMode(String mosaicColormapMode)
          Sets the Mosaic Colormap Mode parameter of this tool .
 void setMosaicMethod(String mosaicMethod)
          Sets the Mosaic Operator parameter of this tool .
 void setNumberOfBands(int numberOfBands)
          Sets the Number of Bands parameter of this tool .
 void setOutputLocation(Object outputLocation)
          Sets the Output Location parameter of this tool .
 void setPixelType(String pixelType)
          Sets the Pixel Type parameter of this tool .
 void setRasterDatasetNameWithExtension(String rasterDatasetNameWithExtension)
          Sets the Raster Dataset Name with Extension 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

MosaicToNewRaster

public MosaicToNewRaster()
Creates the Mosaic To New Raster tool with defaults.

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


MosaicToNewRaster

public MosaicToNewRaster(Object inputRasters,
                         Object outputLocation,
                         String rasterDatasetNameWithExtension,
                         int numberOfBands)
Creates the Mosaic To New Raster 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:
inputRasters - the input raster datasets.
outputLocation - the path to contain the raster dataset. The path can be to a folder or geodatabase.
rasterDatasetNameWithExtension - the name and extension of the raster dataset to be created. 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.
numberOfBands - null
Method Detail

getInputRasters

public Object getInputRasters()
Returns the Input Rasters parameter of this tool . This parameter is the input raster datasets. This is a required parameter.

Returns:
the Input Rasters

setInputRasters

public void setInputRasters(Object inputRasters)
Sets the Input Rasters parameter of this tool . This parameter is the input raster datasets. This is a required parameter.

Parameters:
inputRasters - the input raster datasets.

getOutputLocation

public Object getOutputLocation()
Returns the Output Location parameter of this tool . This parameter is the path to contain the raster dataset. The path can be to a folder or geodatabase. This is a required parameter.

Returns:
the Output Location

setOutputLocation

public void setOutputLocation(Object outputLocation)
Sets the Output Location parameter of this tool . This parameter is the path to contain the raster dataset. The path can be to a folder or geodatabase. This is a required parameter.

Parameters:
outputLocation - the path to contain the raster dataset. The path can be to a folder or geodatabase.

getRasterDatasetNameWithExtension

public String getRasterDatasetNameWithExtension()
Returns the Raster Dataset Name with Extension parameter of this tool . This parameter is the name and extension of the raster dataset to be created. 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. This is a required parameter.

Returns:
the Raster Dataset Name with Extension

setRasterDatasetNameWithExtension

public void setRasterDatasetNameWithExtension(String rasterDatasetNameWithExtension)
Sets the Raster Dataset Name with Extension parameter of this tool . This parameter is the name and extension of the raster dataset to be created. 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. This is a required parameter.

Parameters:
rasterDatasetNameWithExtension - the name and extension of the raster dataset to be created. 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.

getCoordinateSystemForTheRaster

public Object getCoordinateSystemForTheRaster()
Returns the Spatial Reference for Raster parameter of this tool . This parameter is specifies the map projection of the output raster mosaic. This is an optional parameter.

Returns:
the Spatial Reference for Raster

setCoordinateSystemForTheRaster

public void setCoordinateSystemForTheRaster(Object coordinateSystemForTheRaster)
Sets the Spatial Reference for Raster parameter of this tool . This parameter is specifies the map projection of the output raster mosaic. This is an optional parameter.

Parameters:
coordinateSystemForTheRaster - specifies the map projection of the output raster mosaic.

getPixelType

public String getPixelType()
Returns the Pixel Type parameter of this tool . This is an optional parameter.

Returns:
the Pixel Type

setPixelType

public void setPixelType(String pixelType)
Sets the Pixel Type parameter of this tool . This is an optional parameter.

Parameters:
pixelType - null

getCellsize

public double getCellsize()
Returns the Cellsize parameter of this tool . This parameter is the cell size for the new raster dataset. This is an optional parameter.

Returns:
the Cellsize

setCellsize

public void setCellsize(double cellsize)
Sets the Cellsize parameter of this tool . This parameter is the cell size for the new raster dataset. This is an optional parameter.

Parameters:
cellsize - the cell size for the new raster dataset.

getNumberOfBands

public int getNumberOfBands()
Returns the Number of Bands parameter of this tool . This is a required parameter.

Returns:
the Number of Bands

setNumberOfBands

public void setNumberOfBands(int numberOfBands)
Sets the Number of Bands parameter of this tool . This is a required parameter.

Parameters:
numberOfBands - null

getMosaicMethod

public String getMosaicMethod()
Returns the Mosaic Operator parameter of this tool . This parameter is the method used to mosaic overlapping areas. for more information about each mosaic operator, refer to Mosaic Operator. This is an optional parameter.

Returns:
the Mosaic Operator

setMosaicMethod

public void setMosaicMethod(String mosaicMethod)
Sets the Mosaic Operator parameter of this tool . This parameter is the method used to mosaic overlapping areas. for more information about each mosaic operator, refer to Mosaic Operator. This is an optional parameter.

Parameters:
mosaicMethod - the method used to mosaic overlapping areas. for more information about each mosaic operator, refer to Mosaic Operator.

getMosaicColormapMode

public String getMosaicColormapMode()
Returns the Mosaic Colormap Mode parameter of this tool . This parameter is applies when the input raster datasets have a colormap. the method used to choose which colormap from the input rasters will be applied to the mosaic output. for more information about each colormap mode, refer to Mosaic colormap mode. This is an optional parameter.

Returns:
the Mosaic Colormap Mode

setMosaicColormapMode

public void setMosaicColormapMode(String mosaicColormapMode)
Sets the Mosaic Colormap Mode parameter of this tool . This parameter is applies when the input raster datasets have a colormap. the method used to choose which colormap from the input rasters will be applied to the mosaic output. for more information about each colormap mode, refer to Mosaic colormap mode. This is an optional parameter.

Parameters:
mosaicColormapMode - applies when the input raster datasets have a colormap. the method used to choose which colormap from the input rasters will be applied to the mosaic output. for more information about each colormap mode, refer to Mosaic colormap mode.

getOutputRasterDataset

public Object getOutputRasterDataset()
Returns the Output Raster Dataset parameter of this tool (Read only). This is an derived parameter.

Returns:
the Output Raster Dataset

getToolName

public String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias