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

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

public class WorkspaceToRasterDataset
extends AbstractGPTool

Mosaics all the raster datasets stored within the specified workspace into one raster dataset. The Workspace To Raster Dataset tool is contained in the Data Management Tools tool box.

Software restrictions: none

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
WorkspaceToRasterDataset()
          Creates the Workspace To Raster Dataset tool with defaults.
WorkspaceToRasterDataset(Object inWorkspace, Object inRasterDataset)
          Creates the Workspace To Raster Dataset tool with the required parameters.
 
Method Summary
 double getBackgroundValue()
          Returns the Ignore Background Value parameter of this tool .
 String getColormap()
          Returns the Mosaic Colormap Mode parameter of this tool .
 String getIncludeSubdirectories()
          Returns the Include Sub-directories parameter of this tool .
 Object getInRasterDataset()
          Returns the Target Raster Dataset parameter of this tool .
 Object getInWorkspace()
          Returns the Input Workspace parameter of this tool .
 String getMatchingMethod()
          Returns the Color Matching Method parameter of this tool .
 double getMosaickingTolerance()
          Returns the Mosaicking Tolerance parameter of this tool .
 String getMosaicType()
          Returns the Mosaic Method parameter of this tool .
 double getNodataValue()
          Returns the NoData Value parameter of this tool .
 String getOnebitToEightbit()
          Returns the Convert 1 bit data to 8 bit parameter of this tool .
 Object getOutRasterDataset()
          Returns the Output Raster Dataset parameter of this tool (Read only).
 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 setBackgroundValue(double backgroundValue)
          Sets the Ignore Background Value parameter of this tool .
 void setColormap(String colormap)
          Sets the Mosaic Colormap Mode parameter of this tool .
 void setIncludeSubdirectories(String includeSubdirectories)
          Sets the Include Sub-directories parameter of this tool .
 void setInRasterDataset(Object inRasterDataset)
          Sets the Target Raster Dataset parameter of this tool .
 void setInWorkspace(Object inWorkspace)
          Sets the Input Workspace parameter of this tool .
 void setMatchingMethod(String matchingMethod)
          Sets the Color Matching Method parameter of this tool .
 void setMosaickingTolerance(double mosaickingTolerance)
          Sets the Mosaicking Tolerance parameter of this tool .
 void setMosaicType(String mosaicType)
          Sets the Mosaic Method parameter of this tool .
 void setNodataValue(double nodataValue)
          Sets the NoData Value parameter of this tool .
 void setOnebitToEightbit(String onebitToEightbit)
          Sets the Convert 1 bit data to 8 bit 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

WorkspaceToRasterDataset

public WorkspaceToRasterDataset()
Creates the Workspace To Raster Dataset tool with defaults.

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


WorkspaceToRasterDataset

public WorkspaceToRasterDataset(Object inWorkspace,
                                Object inRasterDataset)
Creates the Workspace To Raster Dataset 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:
inWorkspace - Workspace, the workspace that contains all the raster datasets to be mosaicked into the raster dataset.
inRasterDataset - Raster dataset, the raster dataset that will have all the rasters from the workspace mosaicked into it. The raster dataset must already exist.
Method Detail

getInWorkspace

public Object getInWorkspace()
Returns the Input Workspace parameter of this tool . This parameter is Workspace, the workspace that contains all the raster datasets to be mosaicked into the raster dataset. This is a required parameter.

Returns:
the Input Workspace

setInWorkspace

public void setInWorkspace(Object inWorkspace)
Sets the Input Workspace parameter of this tool . This parameter is Workspace, the workspace that contains all the raster datasets to be mosaicked into the raster dataset. This is a required parameter.

Parameters:
inWorkspace - Workspace, the workspace that contains all the raster datasets to be mosaicked into the raster dataset.

getInRasterDataset

public Object getInRasterDataset()
Returns the Target Raster Dataset parameter of this tool . This parameter is Raster dataset, the raster dataset that will have all the rasters from the workspace mosaicked into it. The raster dataset must already exist. This is a required parameter.

Returns:
the Target Raster Dataset

setInRasterDataset

public void setInRasterDataset(Object inRasterDataset)
Sets the Target Raster Dataset parameter of this tool . This parameter is Raster dataset, the raster dataset that will have all the rasters from the workspace mosaicked into it. The raster dataset must already exist. This is a required parameter.

Parameters:
inRasterDataset - Raster dataset, the raster dataset that will have all the rasters from the workspace mosaicked into it. The raster dataset must already exist.

getIncludeSubdirectories

public String getIncludeSubdirectories()
Returns the Include Sub-directories parameter of this tool . This parameter is String, specify whether to include subdirectories. This is an optional parameter.

Returns:
the Include Sub-directories

setIncludeSubdirectories

public void setIncludeSubdirectories(String includeSubdirectories)
Sets the Include Sub-directories parameter of this tool . This parameter is String, specify whether to include subdirectories. This is an optional parameter.

Parameters:
includeSubdirectories - String, specify whether to include subdirectories.

getMosaicType

public String getMosaicType()
Returns the Mosaic Method parameter of this tool . This parameter is String, help topic. This is an optional parameter.

Returns:
the Mosaic Method

setMosaicType

public void setMosaicType(String mosaicType)
Sets the Mosaic Method parameter of this tool . This parameter is String, help topic. This is an optional parameter.

Parameters:
mosaicType - String, help topic.

getColormap

public String getColormap()
Returns the Mosaic Colormap Mode parameter of this tool . This parameter is String, help topic. This is an optional parameter.

Returns:
the Mosaic Colormap Mode

setColormap

public void setColormap(String colormap)
Sets the Mosaic Colormap Mode parameter of this tool . This parameter is String, help topic. This is an optional parameter.

Parameters:
colormap - String, help topic.

getBackgroundValue

public double getBackgroundValue()
Returns the Ignore Background Value parameter of this tool . This parameter is Double, for file-based rasters and personal geodatabase rasters, the Ignore Background Value must be set to the same value as NoData in order for the background value to be ignored. File geodatabase rasters and SDE rasters will simply work without this extra step. This is an optional parameter.

Returns:
the Ignore Background Value

setBackgroundValue

public void setBackgroundValue(double backgroundValue)
Sets the Ignore Background Value parameter of this tool . This parameter is Double, for file-based rasters and personal geodatabase rasters, the Ignore Background Value must be set to the same value as NoData in order for the background value to be ignored. File geodatabase rasters and SDE rasters will simply work without this extra step. This is an optional parameter.

Parameters:
backgroundValue - Double, for file-based rasters and personal geodatabase rasters, the Ignore Background Value must be set to the same value as NoData in order for the background value to be ignored. File geodatabase rasters and SDE rasters will simply work without this extra step.

getNodataValue

public double getNodataValue()
Returns the NoData Value parameter of this tool . This parameter is Double, all the pixels with the specified value will be set to NoData in the output raster dataset. This is an optional parameter.

Returns:
the NoData Value

setNodataValue

public void setNodataValue(double nodataValue)
Sets the NoData Value parameter of this tool . This parameter is Double, all the pixels with the specified value will be set to NoData in the output raster dataset. This is an optional parameter.

Parameters:
nodataValue - Double, all the pixels with the specified value will be set to NoData in the output raster dataset.

getOnebitToEightbit

public String getOnebitToEightbit()
Returns the Convert 1 bit data to 8 bit parameter of this tool . This parameter is String, choose whether the input 1-bit raster dataset will be converted to an 8-bit raster dataset. In this conversion, the value 1 in the input raster dataset will be changed to 255 in the output raster dataset. This is useful when importing a 1-bit raster dataset to ArcSDE. One-bit raster datasets have 8-bit pyramid layers when stored in a file system, but in ArcSDE, 1-bit raster datasets can only have 1-bit pyramid layers, which makes the display unpleasant. By converting the data to 8-bit in ArcSDE, the pyramid layers are built as 8-bit instead of 1-bit, resulting in a proper raster dataset in the display. This is an optional parameter.

Returns:
the Convert 1 bit data to 8 bit

setOnebitToEightbit

public void setOnebitToEightbit(String onebitToEightbit)
Sets the Convert 1 bit data to 8 bit parameter of this tool . This parameter is String, choose whether the input 1-bit raster dataset will be converted to an 8-bit raster dataset. In this conversion, the value 1 in the input raster dataset will be changed to 255 in the output raster dataset. This is useful when importing a 1-bit raster dataset to ArcSDE. One-bit raster datasets have 8-bit pyramid layers when stored in a file system, but in ArcSDE, 1-bit raster datasets can only have 1-bit pyramid layers, which makes the display unpleasant. By converting the data to 8-bit in ArcSDE, the pyramid layers are built as 8-bit instead of 1-bit, resulting in a proper raster dataset in the display. This is an optional parameter.

Parameters:
onebitToEightbit - String, choose whether the input 1-bit raster dataset will be converted to an 8-bit raster dataset. In this conversion, the value 1 in the input raster dataset will be changed to 255 in the output raster dataset. This is useful when importing a 1-bit raster dataset to ArcSDE. One-bit raster datasets have 8-bit pyramid layers when stored in a file system, but in ArcSDE, 1-bit raster datasets can only have 1-bit pyramid layers, which makes the display unpleasant. By converting the data to 8-bit in ArcSDE, the pyramid layers are built as 8-bit instead of 1-bit, resulting in a proper raster dataset in the display.

getMosaickingTolerance

public double getMosaickingTolerance()
Returns the Mosaicking Tolerance parameter of this tool . This parameter is Double, controls whether resampling of the pixels takes place. If the difference in pixel alignment of the incoming dataset and the target dataset is less than the tolerance, no resampling is performed; instead, a shift is performed. The unit of tolerance is one pixel; the valid values range is 0 to 0.9999. This is an optional parameter.

Returns:
the Mosaicking Tolerance

setMosaickingTolerance

public void setMosaickingTolerance(double mosaickingTolerance)
Sets the Mosaicking Tolerance parameter of this tool . This parameter is Double, controls whether resampling of the pixels takes place. If the difference in pixel alignment of the incoming dataset and the target dataset is less than the tolerance, no resampling is performed; instead, a shift is performed. The unit of tolerance is one pixel; the valid values range is 0 to 0.9999. This is an optional parameter.

Parameters:
mosaickingTolerance - Double, controls whether resampling of the pixels takes place. If the difference in pixel alignment of the incoming dataset and the target dataset is less than the tolerance, no resampling is performed; instead, a shift is performed. The unit of tolerance is one pixel; the valid values range is 0 to 0.9999.

getOutRasterDataset

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

Returns:
the Output Raster Dataset

getMatchingMethod

public String getMatchingMethod()
Returns the Color Matching Method parameter of this tool . This is an optional parameter.

Returns:
the Color Matching Method

setMatchingMethod

public void setMatchingMethod(String matchingMethod)
Sets the Color Matching Method parameter of this tool . This is an optional parameter.

Parameters:
matchingMethod - null

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