com.esri.arcgis.datasourcesraster
Interface IRasterSdeStorage2

All Superinterfaces:
Serializable
All Known Implementing Classes:
BasicRasterSdeLoader

public interface IRasterSdeStorage2
extends Serializable

Provides access to members that control RasterSDE storage.

Remarks

The CompressionType property selects the compression type used for the new dataset. At ArcGIS 8.1, only LZ77 compression is supported. By default, the data is uncompressed.

The PyramidOption property specifies how pyramids will be built. Pyramids will be built by default.

The PyramidResampleType determines which resampling method will be used to compute the pyramids. For categorical data, nearest neighbor resampling is best, while for continuous data, bilinear interpolation or cubic convolution are appropriate.

The SpatialReference property determines the coordinate system that will be defined for the new raster. Rasters inserted into the database will not be reprojected during loading.

The TileHeight and TileWidth properties determine the size of the stor-age block inserted into the database. The default tile size is 128 x 128.

The Keyword property allows you to specify a configuration keyword in a dbtune file to optimize the performance of your database for raster retrievals.

The MosaicingTolerance property specifies the offset between the output raster cell corners and input raster cell corners. By default, the tolerance is 0, which means that if the input raster is not perfectly aligned with the output raster in x and y, data loading will fail. At ArcGIS 8.1, this property has no effect.

This interface is not recommended for use in 9.x

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
IRasterSdeServerOperation

Method Summary
 int getCompressionQuality()
          The compression quality.
 int getCompressionType()
          The compression type.
 String getKeyword()
          The keyword.
 int getPyramidOption()
          The option for building pyramids.
 int getPyramidResampleType()
          The resampling method.
 ISpatialReference getSpatialReference()
          The SpatialReference.
 int getTileHeight()
          The tile height.
 int getTileWidth()
          The tile width.
 void setCompressionQuality(int value)
          The compression quality.
 void setCompressionType(int type)
          The compression type.
 void setKeyword(String keyword)
          The keyword.
 void setMosaicingTolerance(IPoint rhs1)
          The mosaicing tolerance.
 void setPyramidOption(int option)
          The option for building pyramids.
 void setPyramidResampleType(int method)
          The resampling method.
 void setSpatialReferenceByRef(ISpatialReference spRef)
          The SpatialReference.
 void setTileHeight(int height)
          The tile height.
 void setTileWidth(int width)
          The tile width.
 

Method Detail

setTileWidth

void setTileWidth(int width)
                  throws IOException,
                         AutomationException
The tile width.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
width - The width (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTileWidth

int getTileWidth()
                 throws IOException,
                        AutomationException
The tile width.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The width
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTileHeight

void setTileHeight(int height)
                   throws IOException,
                          AutomationException
The tile height.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
height - The height (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTileHeight

int getTileHeight()
                  throws IOException,
                         AutomationException
The tile height.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The height
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPyramidResampleType

void setPyramidResampleType(int method)
                            throws IOException,
                                   AutomationException
The resampling method.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
method - A com.esri.arcgis.geodatabase.rstResamplingTypes constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPyramidResampleType

int getPyramidResampleType()
                           throws IOException,
                                  AutomationException
The resampling method.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A com.esri.arcgis.geodatabase.rstResamplingTypes constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

ISpatialReference getSpatialReference()
                                      throws IOException,
                                             AutomationException
The SpatialReference.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReferenceByRef

void setSpatialReferenceByRef(ISpatialReference spRef)
                              throws IOException,
                                     AutomationException
The SpatialReference.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
spRef - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPyramidOption

void setPyramidOption(int option)
                      throws IOException,
                             AutomationException
The option for building pyramids.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
option - A com.esri.arcgis.datasourcesraster.esriRasterSdePyramidOptEnum constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPyramidOption

int getPyramidOption()
                     throws IOException,
                            AutomationException
The option for building pyramids.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A com.esri.arcgis.datasourcesraster.esriRasterSdePyramidOptEnum constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCompressionType

void setCompressionType(int type)
                        throws IOException,
                               AutomationException
The compression type.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
type - A com.esri.arcgis.geodatabase.esriRasterSdeCompressionTypeEnum constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCompressionType

int getCompressionType()
                       throws IOException,
                              AutomationException
The compression type.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A com.esri.arcgis.geodatabase.esriRasterSdeCompressionTypeEnum constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setKeyword

void setKeyword(String keyword)
                throws IOException,
                       AutomationException
The keyword.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
keyword - The keyword (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getKeyword

String getKeyword()
                  throws IOException,
                         AutomationException
The keyword.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The keyword
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMosaicingTolerance

void setMosaicingTolerance(IPoint rhs1)
                           throws IOException,
                                  AutomationException
The mosaicing tolerance.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCompressionQuality

void setCompressionQuality(int value)
                           throws IOException,
                                  AutomationException
The compression quality.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCompressionQuality

int getCompressionQuality()
                          throws IOException,
                                 AutomationException
The compression quality.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.