ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Workspace To New Raster Catalog

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

Creates a new raster catalog and loads all the raster datasets in the input workspace, or geodatabase, to the raster catalog. The spatial reference of both the raster column and the geometry column are taken from the first raster dataset in the input workspace. The x,y domain of the geometry column is calculated with the union extents of all the raster dataset inputs. There must be a spatial reference attached to the raster datasets for the tool to run.

Legacy:
This tool has been deprecated. For more information, see An overview of the Samples toolbox.

Usage

  • The input workspace, or geodatabase, should contain all the raster datasets you put into the raster catalog.

  • There must be a spatial reference attached to the raster datasets for the tool to run.

  • Raster catalog items in a geodatabase can be handled in two ways: managed or unmanaged by the geodatabase. Having the raster catalog managed by the geodatabase means that the raster datasets will be stored in the geodatabase. When a row is deleted from the catalog, it is deleted from the geodatabase. When your raster catalog is unmanaged, there will only be a pointer connecting the raster catalog row to the raster dataset. All raster datasets loaded into an unmanaged raster catalog must be a file on disk. Geodatabase raster datasets can only be loaded into raster catalogs that are managed.

  • When creating a raster catalog in an enterprise geodatabase, the new raster catalog name cannot contain spaces; use underscores to separate words.

  • This sample tool was created using Python. The code can be viewed and edited to help you write your own scripts.

  • The Raster Analysis Environments are not valid for this tool.

Syntax

arcpy.samples.WorkspaceToNewRasterCatalog(input_workspace, output_location, raster_catalog_name, {configuration_keyword}, {management_type})
ParameterExplanationData Type
input_workspace

The input workspace can be a directory or a geodatabase.

Folder | Workspace
output_location

The output location is the geodatabase where the new raster catalog will be created.

Folder | Workspace
raster_catalog_name

The name of the raster catalog to be created.

String
configuration_keyword
(Optional)

Specifies the storage parameters (configuration) for a geodatabase. Configuration keywords are set up by your database administrator.

String
management_type
(Optional)

Raster datasets in raster catalogs can be managed in two ways: managed or unmanaged (by the geodatabase).

  • MANAGED —With a managed raster catalog, the raster datasets in the raster catalog will be physically stored in the geodatabase. When a row (or raster) is deleted from the catalog, it is deleted from the geodatabase.
  • UNMANAGED —With an unmanaged raster catalog, the raster catalog only contains links or pointers connecting a row to a raster dataset stored outside the geodatabase. All raster datasets loaded into an unmanaged raster catalog must be a file on disk.
String

Code sample

import arcgisscripting
gp = arcgisscripting.create()
 
gp.WorkspaceToNewRasterCatalog_samples("D:\\temp\\tempws", "Database Connections\\raster.sde", "wrksp_to_new_rc", "#", "Managed")

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal