|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geoprocessing.AbstractGPTool
com.esri.arcgis.geoprocessing.tools.datamanagementtools.Mosaic
public class Mosaic
Mosaics multiple input rasters into an existing raster dataset. The Mosaic tool is contained in the Data Management Tools tool box.
Software restrictions: none

| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
|---|
vals |
| Constructor Summary | |
|---|---|
Mosaic()
Creates the Mosaic tool with defaults. |
|
Mosaic(Object inputs,
Object target)
Creates the Mosaic 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 . |
Object |
getInputs()
Returns the Input Rasters 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 |
getOutput()
Returns the Output Raster parameter of this tool (Read only). |
Object |
getTarget()
Returns the Target Raster 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 |
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 |
setInputs(Object inputs)
Sets the Input Rasters 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 . |
void |
setTarget(Object target)
Sets the Target Raster 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 Mosaic()
Initializes the array of tool parameters with the default values specified when the tool was created.
public Mosaic(Object inputs,
Object target)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inputs - Raster layer, the input raster datasets.target - Raster dataset, this raster dataset must already exist. The Target layer is considered the first raster in the list of Input Rasters.| Method Detail |
|---|
public Object getInputs()
public void setInputs(Object inputs)
inputs - Raster layer, the input raster datasets.public Object getTarget()
public void setTarget(Object target)
target - Raster dataset, this raster dataset must already exist. The Target layer is considered the first raster in the list of Input Rasters.public String getMosaicType()
public void setMosaicType(String mosaicType)
mosaicType - String, help topic.public String getColormap()
public void setColormap(String colormap)
colormap - String, help topic.public double getBackgroundValue()
public void setBackgroundValue(double backgroundValue)
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.public double getNodataValue()
public void setNodataValue(double nodataValue)
nodataValue - Double, all the pixels with the specified value will be set to NoData in the output raster dataset.public String getOnebitToEightbit()
public void setOnebitToEightbit(String onebitToEightbit)
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.public double getMosaickingTolerance()
public void setMosaickingTolerance(double mosaickingTolerance)
mosaickingTolerance - Double, for example, the source and target pixels have a misalignment of 0.25. If the mosaicking tolerance is set to 0.2, resampling will take place, since the pixel misalignment is greater than the tolerance. If the mosaicking tolerance is set to 0.3, the pixels will be shifted.public Object getOutput()
public String getMatchingMethod()
public void setMatchingMethod(String matchingMethod)
matchingMethod - nullpublic String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||