IRasterCatalogTable Interface

Provides access to members that control a raster catalog table.

Description

A raster catalog is a table in any supported table format (including INFO, dbf, access, text, and others) that contains a list of raster datasets and their geographic extents.

The first five columns of the table must be called "Image", "Xmin", "Ymin", "Xmax", and "YMax" for the table to be identified as a raster catalog. The first column contains the path to a dataset on disk, while the next four contain the bounding box of the dataset. Additional fields in the table are allowed but will have no effect on the display of the raster catalog.

Members

Name Description
Read-only property FieldBoundsLocation Bounds of the field location of the raster catalog.
Read-only property FieldNameLocation Location of the field name of the raster catalog.
Read-only property OID OID of the ith raster in the raster catalog.
Read-only property RasterDataset Reference to the ith raster dataset in the raster catalog.
Read-only property RasterExtent Extent of the ith raster in the catalog.
Read-only property RasterName Name of the ith raster in the raster catalog.
Read-only property Size Number of rasters in the raster catalog.
Read/write property Table The table object underlying the raster catalog table.
Method Update Updates the object after the table is changed.
Read/write property WhereClause A SQL expression limiting the list of rasters currently viewed.

IRasterCatalogTable.FieldBoundsLocation Property

Bounds of the field location of the raster catalog.

Public Sub FieldBoundsLocation ( _
    ByRef pLocXmin As Integer, _
    ByRef pLocYmin As Integer, _
    ByRef pLocXmax As Integer, _
    ByRef pLocYMax As Integer _
)
public void FieldBoundsLocation (
    ref int pLocXmin,
    ref int pLocYmin,
    ref int pLocXmax,
    ref int pLocYMax
);

IRasterCatalogTable.FieldNameLocation Property

Location of the field name of the raster catalog.

Public ReadOnly Property FieldNameLocation As Integer
public int FieldNameLocation {get;}

IRasterCatalogTable.OID Property

OID of the ith raster in the raster catalog.

Public Function get_OID ( _
    ByVal idx As Integer _
) As Integer
public int get_OID (
    int idx
);

IRasterCatalogTable.RasterDataset Property

Reference to the ith raster dataset in the raster catalog.

Public Function get_RasterDataset ( _
    ByVal idx As Integer _
) As IRasterDataset
public IRasterDataset get_RasterDataset (
    int idx
);

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.

IRasterCatalogTable.RasterExtent Property

Extent of the ith raster in the catalog.

Public Function get_RasterExtent ( _
    ByVal idx As Integer _
) As IEnvelope
public IEnvelope get_RasterExtent (
    int idx
);

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.

IRasterCatalogTable.RasterName Property

Name of the ith raster in the raster catalog.

Public Function get_RasterName ( _
    ByVal idx As Integer _
) As String
public string get_RasterName (
    int idx
);

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.

IRasterCatalogTable.Size Property

Number of rasters in the raster catalog.

Public ReadOnly Property Size As Integer
public int Size {get;}

IRasterCatalogTable.Table Property

The table object underlying the raster catalog table.

Public Property Table As ITable
public ITable Table {get; set;}

IRasterCatalogTable.Update Method

Updates the object after the table is changed.

Public Sub Update ( _
)
public void Update (
);

IRasterCatalogTable.WhereClause Property

A SQL expression limiting the list of rasters currently viewed.

Public Property WhereClause As String
public string WhereClause {get; set;}

Classes that implement IRasterCatalogTable

Classes Description
RasterCatalogTable A special type of table used to display multiple rasters simultaneously.
SdeRasterCatalogTable A class for managing 8.x ArcSDE RasterCatalogs.

Remarks

The IRasterCatalogTableobject allows you to access information about a raster catalog including the extent and name for each dataset in the catalog and the number of datasets (Siz_e) and _Extent of the entire raster catalog.

You can also provide a table in the correct format to be used as the RasterCatalogTabl**e (The counterpart for 8.x tyle ArcSDE raster catalog is SdeRasterCatalogTable). You must call the _Update_ method after putting a table in the RasterCatalogTabl**e.

``

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.