Class RasterCatalogTableClass

Namespace
ESRI.ArcGIS.DatasourcesRaster
Assembly
ESRI.Server.DatasourcesRaster.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("358E55F5-8A1A-487D-884A-8226147B6499")]
public class RasterCatalogTableClass : RasterCatalogTable, IRasterCatalogTable, IGeoDataset
Inheritance
RasterCatalogTableClass
Implements
Inherited Members

Constructors

RasterCatalogTableClass()

public RasterCatalogTableClass()

Explicit Interface Implementations

Extent

The extent of the GeoDataset.

virtual IEnvelope Extent { get; }

Returns

IEnvelope

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.

The red box represents the IGeoDataset extent

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.

The red box represents the IGeoDataset extent after some of the features have been deleted

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.

The red box represents the IGeoDataset extent after it has been updated

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

pLocXmin int
pLocYmin int
pLocXmax int
pLocYMax int

FieldNameLocation

Location of the field name of the raster catalog.

virtual int FieldNameLocation { get; }

Returns

int

OID[int]

OID of the ith raster in the raster catalog.

virtual int OID[int idx] { get; }

Parameters

idx int

Returns

int

RasterDataset[int]

Reference to the ith raster dataset in the raster catalog.

virtual IRasterDataset RasterDataset[int idx] { get; }

Parameters

idx int

Returns

IRasterDataset

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

idx int

Returns

IEnvelope

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

idx int

Returns

string

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

int

SpatialReference

The spatial reference of the GeoDataset.

virtual ISpatialReference SpatialReference { get; }

Returns

ISpatialReference

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

ITable

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; }

Returns

string