Make Raster Catalog Layer (Data Management) |
|
Release 9.2
Last modified November 29, 2010 |
![]() ![]() ![]() Print all topics in : "Tools" |
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
To make your layer permanent, right-click the layer in the ArcMap table of contents and click Save As Layer File, or use the Save To Layer File tool.
When you are entering commands and their variables into the geoprocessing dialog box and you come to a variable you do not know how to enter, press F8. You may need to do this when entering the expression variable.
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 |
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 |
# 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()