Interface IRasterCatalogTable
- Namespace
- ESRI.ArcGIS.DatasourcesRaster
- Assembly
- ESRI.Server.DatasourcesRaster.dll
Provides access to members that control a raster catalog table.
[Guid("AC0E9740-0742-11D4-8D75-00C04F5B87B2")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IRasterCatalogTable
Remarks
The IRasterCatalogTable object 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 (Size) and Extent of the entire raster catalog.
You can also provide a table in the correct format to be used as the RasterCatalogTable (The counterpart for 8.x tyle ArcSDE raster catalog is SdeRasterCatalogTable). You must call the Update method after putting a table in the RasterCatalogTable.
Properties
FieldNameLocation
Location of the field name of the raster catalog.
int FieldNameLocation { get; }
Property Value
OID[int]
OID of the ith raster in the raster catalog.
int OID[int idx] { get; }
Parameters
idxint
Property Value
RasterDataset[int]
Reference to the ith raster dataset in the raster catalog.
IRasterDataset RasterDataset[int idx] { get; }
Parameters
idxint
Property Value
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.
IEnvelope RasterExtent[int idx] { get; }
Parameters
idxint
Property Value
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.
string RasterName[int idx] { get; }
Parameters
idxint
Property Value
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.
int Size { get; }
Property Value
Table
The table object underlying the raster catalog table.
ITable Table { get; set; }
Property Value
WhereClause
A SQL expression limiting the list of rasters currently viewed.
string WhereClause { get; set; }
Property Value
Methods
FieldBoundsLocation(out int, out int, out int, out int)
Bounds of the field location of the raster catalog.
void FieldBoundsLocation(out int pLocXmin, out int pLocYmin, out int pLocXmax, out int pLocYMax)
Parameters
Update()
Updates the object after the table is changed.
void Update()