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...

Export Raster Catalog Paths

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

Summary

Creates a table listing the paths to the raster datasets contained in an unmanaged raster catalog or a mosaic dataset. The table can display all the file paths, or just the ones that are broken.

Usage

  • The output of this tool is a table, either in a geodatabase or a .DBF file.

Syntax

ExportRasterCatalogPaths_management (in_raster_catalog, export_mode, out_table)
ParameterExplanationData Type
in_raster_catalog

The input unmanaged raster catalog or mosaic dataset.

Raster Catalog Layer; Mosaic Dataset; Group Layer; Composite Layer
export_mode

Choose what paths to output to the table. You can choose to output all the file paths, or just the ones that are broken.

Choose the repair mode you would like to use.

  • BROKEN —This option will export only the broken paths to the table.
  • ALL —This option will export all the paths to the table.
String
out_table

The output table. This table can be created as a DBF file or within a geodatabase.

The output table will have a field that lists the Source OID. This is the OID of the row in the original raster catalog table.

Table

Code sample

ExportRasterCatalogPaths example (Python window)

This is a Python sample of the ExportRasterCatalogPaths tool.

import arcpy
arcpy.ExportRasterCatalogPaths_management("c:/data/ExportRC.gdb/bkrnlinks",
                                          "BROKEN", "c:/data/brokenpath.dbf")
ExportRasterCatalogPaths example 2 (stand-alone script)

This is a Python script sample of the ExportRasterCatalogPaths tool.

##====================
##Export Raster Catalog Paths
##Usage: ExportRasterCatalogPaths_management in_raster_catalog BROKEN | ALL out_table

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

##Export broken path in FGDB Unmanaged Raster Catalog to dbf table
arcpy.ExportRasterCatalogPaths_management("ExportRC.gdb\\Unmanaged", "BROKEN", "brokenpath.dbf")

Environments

This tool does not use any geoprocessing environments

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

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