|
|||||||||
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.CreateRasterDataset
public class CreateRasterDataset
Creates a raster dataset as a file or in a geodatabase. The Create Raster Dataset tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
CreateRasterDataset()
Creates the Create Raster Dataset tool with defaults. |
|
CreateRasterDataset(Object outPath,
String outName,
String pixelType,
int numberOfBands)
Creates the Create Raster Dataset tool with the required parameters. |
Method Summary | |
---|---|
double |
getCellsize()
Returns the Cellsize parameter of this tool . |
Object |
getCompression()
Returns the Compression parameter of this tool . |
String |
getConfigKeyword()
Returns the Configuration Keyword parameter of this tool . |
int |
getNumberOfBands()
Returns the Number of Bands parameter of this tool . |
String |
getOutName()
Returns the Raster Dataset Name with Extension parameter of this tool . |
Object |
getOutPath()
Returns the Output Location parameter of this tool . |
Object |
getOutRasterDataset()
Returns the Output Raster Dataset parameter of this tool (Read only). |
String |
getPixelType()
Returns the Pixel Type parameter of this tool . |
Object |
getPyramidOrigin()
Returns the Pyramid Reference Point parameter of this tool . |
Object |
getPyramids()
Returns the Create pyramids parameter of this tool . |
Object |
getRasterSpatialReference()
Returns the Spatial Reference for Raster parameter of this tool . |
Object |
getTileSize()
Returns the Tile size 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 |
setCompression(Object compression)
Sets the Compression parameter of this tool . |
void |
setConfigKeyword(String configKeyword)
Sets the Configuration Keyword parameter of this tool . |
void |
setNumberOfBands(int numberOfBands)
Sets the Number of Bands parameter of this tool . |
void |
setOutName(String outName)
Sets the Raster Dataset Name with Extension parameter of this tool . |
void |
setOutPath(Object outPath)
Sets the Output Location parameter of this tool . |
void |
setPixelType(String pixelType)
Sets the Pixel Type parameter of this tool . |
void |
setPyramidOrigin(Object pyramidOrigin)
Sets the Pyramid Reference Point parameter of this tool . |
void |
setPyramids(Object pyramids)
Sets the Create pyramids parameter of this tool . |
void |
setRasterSpatialReference(Object rasterSpatialReference)
Sets the Spatial Reference for Raster parameter of this tool . |
void |
setTileSize(Object tileSize)
Sets the Tile size 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 CreateRasterDataset()
Initializes the array of tool parameters with the default values specified when the tool was created.
public CreateRasterDataset(Object outPath, String outName, String pixelType, int numberOfBands)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
outPath
- the output location to contain the raster dataset.outName
- the name 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.pixelType
- specifies the data type of the cell values. The default value for this is 8-bit unsigned integer. not all data types are supported by all raster formats. Check the Supported raster dataset file formats help topic to be sure the format you are using will support the data type you need.numberOfBands
- the number of bands to be contained by the raster dataset.Method Detail |
---|
public Object getOutPath()
public void setOutPath(Object outPath)
outPath
- the output location to contain the raster dataset.public String getOutName()
public void setOutName(String outName)
outName
- the name 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.public double getCellsize()
public void setCellsize(double cellsize)
cellsize
- the cell size for the new raster dataset.public String getPixelType()
public void setPixelType(String pixelType)
pixelType
- specifies the data type of the cell values. The default value for this is 8-bit unsigned integer. not all data types are supported by all raster formats. Check the Supported raster dataset file formats help topic to be sure the format you are using will support the data type you need.public Object getRasterSpatialReference()
public void setRasterSpatialReference(Object rasterSpatialReference)
rasterSpatialReference
- the coordinate system for the raster dataset. if this is not specified, the coordinate system set in the environment settings will be used.public int getNumberOfBands()
public void setNumberOfBands(int numberOfBands)
numberOfBands
- the number of bands to be contained by the raster dataset.public String getConfigKeyword()
public void setConfigKeyword(String configKeyword)
configKeyword
- specifies the storage parameters (configuration) for a file geodatabase and an ArcSDE geodatabase. Personal geodatabases do not use configuration keywords. arcSDE configuration keywords are set up by your database administrator.public Object getPyramids()
public void setPyramids(Object pyramids)
pyramids
- use this option to create pyramids. for Pyramid Levels, choose a number of -1 or higher. A value of 0 will not build any pyramids, and a value of -1 will automatically choose the correct number of pyramid layers to create. the Pyramid Resampling Technique defines how the data will be resampled when building the pyramids. the Pyramid Compression Type defines the method used when compressing the pyramids.public Object getTileSize()
public void setTileSize(Object tileSize)
tileSize
- the tile width controls the number of pixels you can store in each tile. This is specified as a number of pixels in x. The default tile width is 128. the tile height controls the number of pixels you can store in each tile. This is specified as a number of pixels in y. The default tile height is 128. only file geodatabases and ArcSDE geodatabases use tile size.public Object getCompression()
public void setCompression(Object compression)
compression
- this defines the type of data compression that will be used to store the raster dataset. the JPEG and JPEG 2000 compression quality can range from 1 to 100. A higher number means better image quality but less compression.public Object getPyramidOrigin()
public void setPyramidOrigin(Object pyramidOrigin)
pyramidOrigin
- this is the origination location of the raster pyramid. It is recommended that you specify this point if you plan on building large mosaics in a file geodatabase or an ArcSDE geodatabase, especially if you are plan on mosaicking to them over time (for example, for updating). the pyramid reference point should be set to the upper left corner of your raster dataset. in setting this point for a file geodatabase or an ArcSDE geodatabase, partial pyramiding will be used when updating with a new mosaicked raster dataset. Partial pyramiding updated the parts of the pyramid that do not exist due to the new mosaicked datasets. Therefore, it is good to set your pyramid reference point so that your entire raster mosaic will be below and to the right of this point. However, a pyramid reference point should not be set too large either.public Object getOutRasterDataset()
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 |