|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRasterStorageDef
Provides access to members that control raster storage properties.
The IRasterStorageDef interface provides
access to the storage parameters of a
RasterValue or a
RasterDataset , it allows you to set parameters
used to store raster data.
The CompressionQuality property specifies the
compression quality if the compression type is JPEG or JPEG 2000,
the valid range is 5 to 95 where 95 is the best quality. By
default, the compression quality is 75.
The CompressionType is an enumeration type of
property. It specifies the compression method to be used to
compress the raster data, LZ77 (lossless) and JPEG (lossy), and
JPEG 2000 compression types are supported. By default, the data is
compressed with LZ77.
The PyramidLevel property specifies the number of
pyramid layers to be built for the raster dataset. If you want the
geodatabase to build full pyramids with appropriate levels, use a
value of –1. If you do not want the pyramid to be built, use
0, or you can specify the level you see fit your dataset. By
default, the geodatabase builds full pyramid.
The PyramidResampleType determines which
resampling method will be used to compute the pyramid layers. For
categorical data, nearest neighbor resampling is best, while for
continuous data, bilinear interpolation or cubic convolution are
appropriate. By default, nearest neighbor resampling method is
used.
The TileHeight and TileWidth
properties determine the size of the storage block unit. The size
must be multiple of 16, such as 128 or 256. The default tile size
is 128 x 128 and it is good for most cases. For saving out a tiled
TIFF, IRaterStorageDef2:Tiled needs to set to be True.
The Origin property only applies for
enterprise geodatabase raster data. The origin is for pyramid
storage reference, so if mosaicking raster data to the lower-right
of the origin, the pyramids of the mosaic dataset will be built
partially instead of fully. This is not the origin of the
raster dataset extent.
The CellSize property applies to Personal, File
and ArcSDE geodatabases. Once it is set, any new data that are
mosaicked to it will be resampled to the specified cellsize. If not
set, the cellsize of the first raster dataset mosaicked to it will
be the cellsize of the mosaicked raster.
IRasterCatalogItem
,
RasterValue
,
RasterCatalog
,
RasterCatalogItem
Method Summary | |
---|---|
IPnt |
getCellSize()
The cell size of the raster to be stored. |
int |
getCompressionQuality()
The compression quality (in case of JPEG compression) to be applied to the raster being stored. |
int |
getCompressionType()
The compression type to be applied on the raster being stored. |
IPoint |
getOrigin()
The origin of the raster to be stored. |
int |
getPyramidLevel()
The number of pyramid levels. |
int |
getPyramidResampleType()
The method used for pyramid resampling. |
int |
getTileHeight()
The raster storage tile height. |
int |
getTileWidth()
The raster storage tile width. |
void |
setCellSizeByRef(IPnt cellSize)
The cell size of the raster to be stored. |
void |
setCompressionQuality(int value)
The compression quality (in case of JPEG compression) to be applied to the raster being stored. |
void |
setCompressionType(int type)
The compression type to be applied on the raster being stored. |
void |
setOriginByRef(IPoint origin)
The origin of the raster to be stored. |
void |
setPyramidLevel(int level)
The number of pyramid levels. |
void |
setPyramidResampleType(int method)
The method used for pyramid resampling. |
void |
setTileHeight(int height)
The raster storage tile height. |
void |
setTileWidth(int width)
The raster storage tile width. |
Method Detail |
---|
void setTileWidth(int width) throws IOException, AutomationException
width
- The width (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getTileWidth() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTileHeight(int height) throws IOException, AutomationException
height
- The height (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getTileHeight() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPyramidResampleType(int method) throws IOException, AutomationException
method
- A com.esri.arcgis.geodatabase.rstResamplingTypes constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPyramidResampleType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPyramidLevel(int level) throws IOException, AutomationException
level
- The level (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPyramidLevel() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCompressionType(int type) throws IOException, AutomationException
type
- A com.esri.arcgis.geodatabase.esriRasterCompressionType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getCompressionType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCompressionQuality(int value) throws IOException, AutomationException
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getCompressionQuality() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOriginByRef(IPoint origin) throws IOException, AutomationException
origin
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPoint getOrigin() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCellSizeByRef(IPnt cellSize) throws IOException, AutomationException
cellSize
- A reference to a com.esri.arcgis.geodatabase.IPnt (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPnt getCellSize() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |