com.esri.arcgis.geodatabase
Interface IRasterCatalog

All Superinterfaces:
Serializable
All Known Implementing Classes:
IRasterCatalogProxy, RasterCatalog

public interface IRasterCatalog
extends Serializable

Provides access to members that control the behavior and properties of a raster catalog.

Remarks

The IRasterCatalog interface provides access to the Raster field properties of the RasterCatalog.

The CanAlterRasterSpatialReference property indicates whether the spatial reference of the raster column in the RasterCatalog can be altered.

The IsRasterDataset property indicates whether the raster column in the RasterCatalog has a flag of RasterDataset, if true the raster column of the RasterCatalog is the type of RasterDataset.

The RasterFieldName property returns the field name of its raster column.

The RasterFieldIndex property returns the field index of its raster column.

The RasterFieldIndex property returns the spatial reference of its raster column

The AlterRasterSpatialReference method sets the spatial reference of the raster column.

Product Availability

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

See Also:
IRasterCatalogItem, RasterCatalog

Method Summary
 void alterRasterSpatialReference(ISpatialReference spatialReference)
          Alters the default Raster field spatial reference.
 int getNameFieldIndex()
          The index of Name field.
 int getRasterFieldIndex()
          The index of the default Raster field.
 String getRasterFieldName()
          The name of the default Raster field.
 ISpatialReference getRasterSpatialReference()
          The default Raster field spatial reference.
 boolean isCanAlterRasterSpatialReference()
          Indicates if the default Raster field spatial reference can be altered.
 

Method Detail

getRasterFieldName

String getRasterFieldName()
                          throws IOException,
                                 AutomationException
The name of the default Raster field.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getRasterFieldIndex

int getRasterFieldIndex()
                        throws IOException,
                               AutomationException
The index of the default Raster field.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getNameFieldIndex

int getNameFieldIndex()
                      throws IOException,
                             AutomationException
The index of Name field.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getRasterSpatialReference

ISpatialReference getRasterSpatialReference()
                                            throws IOException,
                                                   AutomationException
The default Raster field spatial reference.

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.

isCanAlterRasterSpatialReference

boolean isCanAlterRasterSpatialReference()
                                         throws IOException,
                                                AutomationException
Indicates if the default Raster field spatial reference can be altered.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

alterRasterSpatialReference

void alterRasterSpatialReference(ISpatialReference spatialReference)
                                 throws IOException,
                                        AutomationException
Alters the default Raster field spatial reference.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
spatialReference - 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.