Add to Raster Catalog (tabular)

Adds rasters to an existing Tabular Raster Catalog. A Tabular Raster Catalog is like an ArcInfo Image Catalog.

Command line syntax

AddtoRasterCatalog_tabular <Input_raster_catalog> <Rasters;Rasters...>

Parameters

Expression Explanation
<Input_raster_catalog>

The input raster catalog.

The specifed Rasters will be added to this catalog.

<Rasters;Rasters...>

The rasters that are to be added to the Input Raster Catalog.

Separate the names of multiple rasters with a semicolon.

If any duplicate rasters are specified, they will not be added to the catalog.

Command Line Example

workspace c:\docume~1\dchatfie\mydocu~1\test
Set c:\docume~1\dchatfie\mydocu~1\test into workspace

AddtoRasterCatalog_tabular mthood_cat cooper_doq;elliot_doq
Executing (AddtoRasterCatalog_tabular_5): AddtoRasterCatalog_tabular "C:\Documents and Settings\dchatfie\My Documents\test\mthood_cat.dbf" 'C:\Documents and Settings\dchatfie\My Documents\test\cooper_doq';'C:\Documents and Settings\dchatfie\My Documents\test\elliot_doq'
Start Time: Wed May 10 19:05:40 2006
Running script AddtoRasterCatalog_tabular...
Completed script AddtoRasterCatalog_tabular...
Executed (AddtoRasterCatalog_tabular_5) successfully.
End Time: Wed May 10 19:06:06 2006 (Elapsed Time: 26.00 secs)

Scripting syntax

AddtoRasterCatalog_tabular (Input_raster_catalog, Rasters)

Parameters

Expression Explanation
Input raster catalog (Required)

The input raster catalog.

The specifed Rasters will be added to this catalog.

Rasters (Required)

The rasters that are to be added to the Input Raster Catalog.

Separate the names of multiple rasters with a semicolon.

If any duplicate rasters are specified, they will not be added to the catalog.

Script Example

# Import modules.
import sys, string, os, win32com.client

# Create the Geoprocessor object
gp = win32com.client.Dispatch('esriGeoprocessing.GpDispatch.1')

# Load DV Region toolbox.
gp.AddToolbox('C:/Documents and Settings/dchatfie/Application Data/ESRI/ArcToolbox/My Toolboxes/' + \
                         'DV Data Management Tools.tbx')

# Set workspace.
gp.workspace = 'c:/docume~1/dchatfie/mydocu~1/test'

# Run Add to Tabular Raster Catalog tool.
gp.addtorastercatalog_tabular('htmood_cat', 'cooper_doq;elliot_doq')