com.esri.arcgis.geodatabase
Interface IRasterDef

All Superinterfaces:
Serializable
All Known Subinterfaces:
IRasterDef2
All Known Implementing Classes:
RasterDef

public interface IRasterDef
extends Serializable

Provides access to members that control raster column definition.

Remarks

The IRasterDef interface provides access to the properties of a raster column in the geodatabase, it allows you to specify the general attributes that apply to the whole raster column.

The Description property allows you to define the descriptive information about the raster column.

The IsManaged property indicates whether the raster column is managed by the geodatabase, if false, the raster column is not managed by the geodatabase but by the file system, which means that deleting or updating the RasterValue will not affect the raster file it references. This property only applies to RasterCatalog in the Personal and File Geodatabases.

The SpatialReference property controls the spatial reference of the raster column. At ArcGIS 9.0, a raster column of a RasterCatalog in the ArcSDE geodatabase does not support spatial reference per raster dataset, so all the raster datasets in the RasterCatalog share the same spatial reference that has been defined for the raster column. For a RasterCatalog in the personal geodatabase, each raster dataset in the RasterCatalog can have its own spatial reference. The spatial reference of the raster column only serves as a default spatial reference for any raster dataset with no spatial reference, or an unknown spatial reference. At ArcGIS 9.2, we support spatial reference per raster dataset in a raster catalog in any type of geodatabase including Personal, File and ArcSDE geodatabases.

Product Availability

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

See Also:
IRasterCatalog

Method Summary
 String getDescription()
          The raster column description.
 ISpatialReference getSpatialReference()
          The SpatialReference of the raster.
 boolean isManaged()
          Indicates if the Raster column value is to be managed by GeoDatabase.
 void setDescription(String descrption)
          The raster column description.
 void setIsManaged(boolean isManaged)
          Indicates if the Raster column value is to be managed by GeoDatabase.
 void setSpatialReferenceByRef(ISpatialReference spref)
          The SpatialReference of the raster.
 

Method Detail

setDescription

void setDescription(String descrption)
                    throws IOException,
                           AutomationException
The raster column description.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getDescription

String getDescription()
                      throws IOException,
                             AutomationException
The raster column description.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getSpatialReference

ISpatialReference getSpatialReference()
                                      throws IOException,
                                             AutomationException
The SpatialReference of the raster.

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 of the raster.

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.

isManaged

boolean isManaged()
                  throws IOException,
                         AutomationException
Indicates if the Raster column value is to be managed by GeoDatabase.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setIsManaged

void setIsManaged(boolean isManaged)
                  throws IOException,
                         AutomationException
Indicates if the Raster column value is to be managed by GeoDatabase.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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