This document is archived and information here might be outdated.  Recommended version.


IRasterWorkspaceEx.CreateRasterCatalog Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRasterWorkspaceEx.CreateRasterCatalog Method

Creates a new raster catalog.

[Visual Basic .NET]
Public Function CreateRasterCatalog ( _
    ByVal Name As String, _
    ByVal Fields As IFields, _
    ByVal ShapeFieldName As String, _
    ByVal RasterFieldName As String, _
    ByVal ConfigKeyword As String _
) As IRasterCatalog
[C#]
public IRasterCatalog CreateRasterCatalog (
    string Name,
    IFields Fields,
    string ShapeFieldName,
    string RasterFieldName,
    string ConfigKeyword
);
[C++]
HRESULT CreateRasterCatalog(
  BSTR Name,
  IFields* Fields,
  BSTR ShapeFieldName,
  BSTR RasterFieldName,
  BSTR ConfigKeyword,
  IRasterCatalog** Catalog
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR Fields [in]
Fields is a parameter of type IFields ShapeFieldName [in] ShapeFieldName is a parameter of type BSTR RasterFieldName [in] RasterFieldName is a parameter of type BSTR ConfigKeyword [in] ConfigKeyword is a parameter of type BSTR Catalog [out, retval]
Catalog is a parameter of type IRasterCatalog

Product Availability

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

Remarks

The CreateRasterCatalog method creates a new empty raster catalog in a Personal, File or ArcSDE geodatabase. At releases prior to 9.2, When you create a raster catalog, you need to set the x/y domain on the GeometryDef properly to cover the extents of all the rasters you will be loading to the raster catalog. If the extent of a raster dataset is beyond the specified x/y domain of the GeometryDef, it will not be loaded. Since 9.2, the x/y domain is optimized according to the spatial reference of the geometry column, so you do not need to set it manually.

See Also

IRasterWorkspaceEx Interface