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

Uncompress File Geodatabase Data

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

Summary

Uncompresses all the contents in a geodatabase, all the contents in a feature dataset, or an individual stand-alone feature class or table.

Usage

  • When you uncompress a geodatabase, all feature classes and tables within it uncompress.

  • When you uncompress a feature dataset, all its feature classes uncompress.

  • You cannot individually compress or uncompress a feature class in a feature dataset to produce a mixed state where some feature classes are compressed and others are not. Compressed feature datasets allow you to add an uncompressed feature class through operations such as creating a new, empty feature class, copying and pasting, and importing. However, you cannot edit the uncompressed feature class if there are compressed feature classes in the same feature dataset. Once you've finished adding one or more uncompressed feature classes, you can recompress or uncompress the feature dataset so all its feature classes are either compressed or uncompressed.

Syntax

arcpy.management.UncompressFileGeodatabaseData(in_data, {config_keyword})
ParameterExplanationData Type
in_data

The geodatabase, feature dataset, feature class, or table to uncompress.

Workspace; Feature Dataset; Table View; Raster Layer; Geometric Network
config_keyword
(Optional)

The configuration keyword defining how the data will store once uncompressed

String

Derived Output

NameExplanationData Type
out_data

The uncompressed input data.

Workspace; Feature Dataset; Table View; Raster Layer; Geometric Network

Code sample

UncompressFileGeodatabaseData example 1 (Python window)

The following example demonstrates how to use the UncompressFileGeodatabaseData function in the Python window.

import arcpy
arcpy.env.workspace = "C:/data"
arcpy.UncompressFileGeodatabaseData_management("london.gdb")
UncompressFileGeodatabaseData example 2 (stand-alone script)

The following example demonstrates how to use the UncompressFileGeodatabaseData function in a standalone Python script.

# Name: UncompressFileGeodatabaseData.py
# Description: Use the UncompressFileGeodatabaseData tool to uncompress a geodatabase

# import system modules 
import arcpy

# Set environment settings
arcpy.env.workspace = "C:/data"

# Set local variables
geodatabase = "london.gdb"

# Process: Compress the data
arcpy.UncompressFileGeodatabaseData_management(geodatabase)

Environments

  • Current Workspace

Licensing information

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

Related topics

  • Compress file geodatabase data
  • An overview of the File Geodatabase toolset

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