Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Data Management toolbox > Layers and Table Views toolset > Tools

Make Raster Catalog Layer (Data Management)

Release 9.2
Last modified November 29, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

Makes a temporary raster catalog layer that will be available to select as a variable while working in the same ArcMap or ArcCatalog session.


Usage tips

Command line syntax
An overview of the Command Line window
MakeRasterCatalogLayer_management <in_raster_catalog> <layer_name> {where_clause} {workspace} {field_info}

Parameter Explanation Data Type
<in_raster_catalog>

The raster catalog containing one or more raster catalog items (raster datasets).

Raster Catalog Layer
<layer_name>

Name of the temporary raster catalog layer.

Raster Catalog Layer
{where_clause}

An SQL expression used to select a subset of raster catalog items.

The syntax for the expression differs slightly depending on the data source. For example, if you're querying file or ArcSDE geodatabases, enclose field names in double quotes:

"MY_FIELD"

If you're querying personal geodatabases, enclose fields in square brackets:

[MY_FIELD].

For more information on SQL syntax and how it differs between data sources, see SQL Reference.

SQL Expression
{workspace}

The input workspace used to validate the field names. If the input is from a file or personal geodatabase and the output workspace is an ArcSDE geodatabase, the field names may be truncated, since some database fields can only have names of ten characters or less. The new names may be reviewed and altered using the Field Information control.

Workspace
{field_info}

Specifies which fields from the input table to rename and make visible in the output table view.

Field Info
Data types for geoprocessing tool parameters


Command line example

MakeRasterCatalogLayer C:/data/seattle.mdb/orthos_catalog Seattle_catalog

Scripting syntax
About getting started with writing geoprocessing scripts
MakeRasterCatalogLayer_management (in_raster_catalog, layer_name, where_clause, workspace, field_info)

Parameter Explanation Data Type
in_raster_catalog (Required)

The raster catalog containing one or more raster catalog items (raster datasets).

Raster Catalog Layer
layer_name (Required)

Name of the temporary raster catalog layer.

Raster Catalog Layer
where_clause (Optional)

An SQL expression used to select a subset of raster catalog items.

The syntax for the expression differs slightly depending on the data source. For example, if you're querying file or ArcSDE geodatabases, enclose field names in double quotes:

"MY_FIELD"

If you're querying personal geodatabases, enclose fields in square brackets:

[MY_FIELD].

For more information on SQL syntax and how it differs between data sources, see SQL Reference.

SQL Expression
workspace (Optional)

The input workspace used to validate the field names. If the input is from a file or personal geodatabase and the output workspace is an ArcSDE geodatabase, the field names may be truncated, since some database fields can only have names of ten characters or less. The new names may be reviewed and altered using the Field Information control.

Workspace
field_info (Optional)

Specifies which fields from the input table to rename and make visible in the output table view.

Field Info

Data types for geoprocessing tool parameters


Script example

# MakeRasterCatalogLayer_sample.py
# Description: makes a raster catalog layer.
# Requirements: None
# Author: ESRI
# Date: 12/01/03

# Create the Geoprocessor object
import arcgisscripting
gp = arcgisscripting.create()

try:
    # Set local variables
    InRaster = "C:/data/seattle.mdb/orthos_catalog"

    # Process: FeatureToRaster_conversion
    gp.MakeRasterCatalogLayer_management(InRaster,"Seattle_Catalog")

except:
    # Print error message if an error occurs
    gp.GetMessages()

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.