ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for 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
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Copy Raster Catalog Items

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

Summary

Makes a copy of a raster catalog, including all of its contents, or a subset of its contents if there is a selection.

Usage

  • The input and output of this tool is a geodatabase raster catalog.

  • You can copy your output raster catalog to any type of geodatabase: personal, file, or ArcSDE.

  • When using ArcMap, you can use the Selection tool to choose which raster catalog items to copy.

  • The properties of the output raster catalog are the same as the input raster catalog, as well as the properties of the raster datasets in the raster catalog.

Syntax

CopyRasterCatalogItems_management (in_raster_catalog, out_raster_catalog, {config_keyword}, {spatial_grid_1}, {spatial_grid_2}, {spatial_grid_3})
ParameterExplanationData Type
in_raster_catalog

The name and location of the raster catalog to be copied.

Raster Catalog Layer
out_raster_catalog

The name and location of the output raster catalog.

You can copy your output raster catalog to any type of geodatabase: personal, file, or ArcSDE.

Raster Catalog
config_keyword
(Optional)

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

String
spatial_grid_1
(Optional)

The Output Spatial Grid 1, 2, and 3 parameters apply only to file geodatabases and ArcSDE geodatabases. If you are unfamiliar with setting grid sizes, leave these options as 0,0,0 and ArcGIS will compute optimal sizes for you. For more information about this parameter, refer to the Add Spatial Index tool documentation.

Double
spatial_grid_2
(Optional)

Cell size of the second spatial grid. Leave the size at 0 if you only want one grid. Otherwise, set the size to at least three times larger than Spatial Grid 1.

Double
spatial_grid_3
(Optional)

Cell size of the third spatial grid. Leave the size at 0 if you only want two grids. Otherwise, set the size to at least three times larger than Spatial Grid 2.

Double

Code sample

CopyRasterCatalogItems example 1 (Python Window)

This is a Python sample for CopyRasterCatalogItems.

import arcpy
arcpy.CopyRasterCatalogItems_management("c:/data/CopyRC.mdb/RC1",
                                        "c:/data/OutRC.gdb/RC2" ,
                                        "" , "" , "" , "")
CopyRasterCatalogItems example 2 (stand-alone script)

This is a Python script sample for CopyRasterCatalogItems.

##=========================
##Copy Raster Catalog Items
##Usage: CopyRasterCatalogItems_management in_raster_catalog out_raster_catalog {config_keyword} {spatial_grid_1} 
##                                         {spatial_grid_2} {spatial_grid_3}

import arcpy
arcpy.env.workspace = r"C:\PrjWorkspace"

##Copy FGDB Unmanaged Raster Catalog to PGDB Unmanaged Raster Catalog
arcpy.CopyRasterCatalogItems_management("CopyRC.gdb\\Unmanaged","output\\CopyRC.mdb\\Unmanaged", "", "3000", "", "")

##Copy PGDB Unmanaged Raster Catalog to FGDB Unmanaged Raster Catalog
arcpy.CopyRasterCatalogItems_management("CopyRC.mdb\\Unmanaged","output\\CopyRC.gdb\\Unmanaged", "MAX_FILE_SIZE_4GB", "1000", "3000", "9000")

##Copy FGDB Managed Raster Catalog to SDE Managed Raster Catalog
arcpy.CopyRasterCatalogItems_management("CopyRC.gdb\\Managed","output\\SDE94.sde\\Managed","DEFAULTS","2000","6000","18000")

Environments

  • Current Workspace
  • Scratch Workspace
  • Output CONFIG Keyword
  • Output Spatial Grid 1
  • Output Spatial Grid 2
  • Output Spatial Grid 3

Licensing information

  • ArcGIS for Desktop Basic: Yes
  • ArcGIS for Desktop Standard: Yes
  • ArcGIS for Desktop Advanced: Yes

Related topics

  • An overview of the Raster toolset
  • Environment settings for raster data
  • Exploring mosaic datasets and raster catalogs in ArcCatalog
  • An overview of spatial indexes in the geodatabase

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal