|
|||||||||
| 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.CopyRaster
public class CopyRaster
Make a copy of a raster dataset or loads raster datasets into a raster catalog. The Copy Raster 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 | |
|---|---|
CopyRaster()
Creates the Copy Raster tool with defaults. |
|
CopyRaster(Object inRaster,
Object outRasterdataset)
Creates the Copy Raster tool with the required parameters. |
|
| Method Summary | |
|---|---|
double |
getBackgroundValue()
Returns the Ignore Background Value parameter of this tool . |
String |
getColormapToRGB()
Returns the Colormap to RGB parameter of this tool . |
String |
getConfigKeyword()
Returns the Configuration Keyword parameter of this tool . |
Object |
getInRaster()
Returns the Input Raster 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 . |
String |
getPixelType()
Returns the Pixel Type 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 |
setColormapToRGB(String colormapToRGB)
Sets the Colormap to RGB parameter of this tool . |
void |
setConfigKeyword(String configKeyword)
Sets the Configuration Keyword parameter of this tool . |
void |
setInRaster(Object inRaster)
Sets the Input Raster 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 |
setOutRasterdataset(Object outRasterdataset)
Sets the Output Raster Dataset parameter of this tool . |
void |
setPixelType(String pixelType)
Sets the Pixel Type 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 CopyRaster()
Initializes the array of tool parameters with the default values specified when the tool was created.
public CopyRaster(Object inRaster,
Object outRasterdataset)
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 - Raster layer, the name and location of the raster dataset to be copied.outRasterdataset - Raster dataset | Raster catalog, when storing your raster dataset to a JPEG file, a JPEG 2000 file, or a geodatabase, you can specify a compression type and compression quality.| Method Detail |
|---|
public Object getInRaster()
public void setInRaster(Object inRaster)
inRaster - Raster layer, the name and location of the raster dataset to be copied.public Object getOutRasterdataset()
public void setOutRasterdataset(Object outRasterdataset)
outRasterdataset - Raster dataset | Raster catalog, when storing your raster dataset to a JPEG file, a JPEG 2000 file, or a geodatabase, you can specify a compression type and compression quality.public String getConfigKeyword()
public void setConfigKeyword(String configKeyword)
configKeyword - String, arcSDE configuration keywords are set up by your database administrator.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 dataset 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 String getColormapToRGB()
public void setColormapToRGB(String colormapToRGB)
colormapToRGB - String, if the input raster dataset has a colormap, the output raster dataset can be converted to a three-band output raster dataset. This is useful when mosaicking rasters with different colormaps.public String getPixelType()
public void setPixelType(String pixelType)
pixelType - String, there will be no rescaling of the raster values when a different pixel type is chosen. If the pixel type is demoted (lowered), the raster values outside the valid range for that pixel depth will be truncated and lost.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 | ||||||||