Class SdeRasterCatalogTableClass
- Namespace
- ESRI.ArcGIS.DatasourcesRaster
- Assembly
- ESRI.Server.DatasourcesRaster.dll
[Guid("28EEFDC0-074B-11D4-8D75-00C04F5B87B2")]
[ClassInterface(ClassInterfaceType.None)]
public class SdeRasterCatalogTableClass : SdeRasterCatalogTable, IRasterCatalogTable, IGeoDataset
- Inheritance
-
SdeRasterCatalogTableClass
- Implements
- Inherited Members
Constructors
SdeRasterCatalogTableClass()
public SdeRasterCatalogTableClass()
Explicit Interface Implementations
Extent
The extent of the GeoDataset.
virtual IEnvelope Extent { get; }
Returns
Remarks
The IGeoDataset::Extent property returns an envelope representing the maximum extent of data which has been stored in the dataset.
Consider the following scenario. A new feature class has features added to it. The IGeoDataset::Extent is then requested and an envelope is returned. The extents of the envelope returned are represented by the red box in the image below.

If a portion of the features were then deleted and the extent is again requested an envelope with the exact same extents as during the first request would be returned (see image below). This is because the deletion of features does not shrink the extent. However all additions of features outside the red box would increase the envelope returned to encompass the newly added features.

If you would like to update the IGeoDataset::Extent property to reflect the current features in your dataset please see IFeatureClassManage::UpdateExtent (also see IFeatureClassLoad). In the image below the extent has been updated and a new envelope is being returned.

ESRI's GroupLayer implements this property differently from most other layer coclasses. When you instantiate a new GroupLayer, this property will return a valid envelope with zero height and width. With most other newly instantiated layers (for example FeatureLayer, RasterLayer, TinLayer), this property initally returns Nothing.
FieldBoundsLocation(out int, out int, out int, out int)
Bounds of the field location of the raster catalog.
virtual void FieldBoundsLocation(out int pLocXmin, out int pLocYmin, out int pLocXmax, out int pLocYMax)
Parameters
FieldNameLocation
Location of the field name of the raster catalog.
virtual int FieldNameLocation { get; }
Returns
OID[int]
OID of the ith raster in the raster catalog.
virtual int OID[int idx] { get; }
Parameters
idxint
Returns
RasterDataset[int]
Reference to the ith raster dataset in the raster catalog.
virtual IRasterDataset RasterDataset[int idx] { get; }
Parameters
idxint
Returns
Remarks
<P>The <STRONG>RasterDataset</STRONG> object represents a dataset on disk or in a database. It is composed of one or more persistent raster bands. The dataset provides access only to operations that apply to the entire dataset, with the <STRONG>RasterBand</STRONG> providing access to operations that occur on individual bands.</P> <P>The RasterDataset object performs basic dataset management functions, such as copy, rename, and delete. It can also instantiat RasterBand and <STRONG>Raster</STRONG> objects representing other aspects of the data. It can be used to examine dataset properties including different format, extent, spatial reference, and number of bands.</P> <P>The spatial reference of the raster raster dataset can be changed through interface <STRONG>IGeoDatasetSchemaEdit</STRONG>, but it does not project the dataset, only changes the coordinate system associated with the dataset.<BR>The pyramid of the raster dataset can be built or rebuilt to improve display performance for large raster datasets.</P>
RasterExtent[int]
Extent of the ith raster in the catalog.
virtual IEnvelope RasterExtent[int idx] { get; }
Parameters
idxint
Returns
Remarks
RasterCatalogTable created from raster catalog in file system and in the geodatabase has slightly different OIDs. The first starts from 0 and the later one starts from 1. To ensure your program work properly for both cases, pass OID, which can be obtained from IRasterCatalogTable::OID(index) to this property, instead of passing index directly.
RasterName[int]
Name of the ith raster in the raster catalog.
virtual string RasterName[int idx] { get; }
Parameters
idxint
Returns
Remarks
RasterCatalogTable created from raster catalog in file system and in the geodatabase has slightly different OIDs. The first starts from 0 and the later one starts from 1. To ensure your program work properly for both cases, pass OID, which can be obtained from IRasterCatalogTable::OID(index) to this property, instead of passing index directly.
Size
Number of rasters in the raster catalog.
virtual int Size { get; }
Returns
SpatialReference
The spatial reference of the GeoDataset.
virtual ISpatialReference SpatialReference { get; }
Returns
Remarks
This property is read only. For layers, when the first layer is added to ArcMap, its spatial reference is read by this property, and the map is set to this spatial reference.
Instances of the esriCarto.GroupLayer class will return null for this property, as a group layer can contain multiple datasets with different spatial references.
Modifications to a spatial reference returned by this property will not be persisted. To modify the spatial reference of a dataset, the IGeoDatasetSchemaEdit and IGeoDatasetSchemaEdit2 interfaces should be used.
Table
The table object underlying the raster catalog table.
virtual ITable Table { get; set; }
Returns
Update()
Updates the object after the table is changed.
virtual void Update()
WhereClause
A SQL expression limiting the list of rasters currently viewed.
virtual string WhereClause { get; set; }