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

Export To Interchange File

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

Summary

Converts a coverage to an interchange file for transfer to another platform.

Learn more about how Export to Interchange File works

Usage

  • When exporting a coverage, all associated INFO tables are written to the interchange file. For example, if the coverage name specified for input data is Forest, an INFO table named Forest.LABEL would be saved in the interchange file. A table named Forest1.LABEL, however, would not be saved in the interchange file.

  • Export files created with the Compression type parameter set to FULL can be significantly smaller than export files created with the PARTIAL or NONE options.

  • Exporting a grid can result in an export file much larger than the original grid, even when FULL compression is used. This is because each grid cell must be represented in the export file in ASCII format, which is less efficient than the grid's binary format. Also, integer grids are stored in a compressed format, which cannot be maintained in the export file.

    The best solution is not to export large grids. To create a single file for transfer, a utility, such as PKZIP (or "tar" on UNIX systems), can be used to place the workspace containing the grid into a single file. Versions of PKZIP and tar are available on both UNIX and PC systems. Warning: Do not PKZIP or tar just the grid, because you'll lose the INFO tables. If you don't want to transfer all the grids in your workspace, create a temporary workspace and copy the grids to be transferred into it.

  • Coverages to be exported must not contain edit masks. In other words, do not export an uncleaned cover. Run the Build or Clean tool to remove edit masks (msk.adf file in the coverage directory).

  • Export has a limit of -999999999 on negative User-IDs.

  • Export files for coverages with nondefault text alignment will have data loss if imported to a version prior to 8.0.1.

  • When exporting text files, the FULL and PARTIAL compression options support line lengths up to 300 characters. Longer line lengths will get truncated. The NONE option supports up to 80 characters per line.

Syntax

arcpy.arc.Export(feature_type, in_dataset, interchange_file, {compression_type}, {max_lines})
ParameterExplanationData Type
feature_type

The data type to be exported.

  • COVER —a coverage, associated INFO files, and any index files.
  • FONT —an IGL font file.
  • GRID —an integer or floating-point grid.
  • INFO —an INFO file.
  • LINESET —a lineset file.
  • MAP —a map composition created with the ARCPLOT map composer.
  • MARKERSET —a markerset file.
  • PLOT —a plotfile or graphics file.
  • SHADESET —a shadeset file.
  • STACK —a stack.
  • STACKALL —a stack and all of the grids associated with that stack.
  • TEXT —any ASCII text file.
  • TEXTSET —a textset file.
  • TIN —a tin.
String
in_dataset

The dataset or file to export.

Data Element
interchange_file

The prefix name of the interchange file or files to be created by Export. A volume ID of E00 will be appended to the file name of the first interchange file, E01 to the second file, and so on. Each subsequent file is created when the {max_lines} for each file is reached.

File
compression_type
(Optional)

Specifies how numbers and blanks will be compressed in the export file. There are three options:

  • NONE —No compression is performed. This option can also produce an export file that can be listed on your terminal or line printer. This is the default and the preferred method for creating export files.
  • PARTIAL —Compresses blanks but does not compress numbers.
  • FULL —Compresses both blanks and numbers using ASCII compression characters. This option requires the least amount of storage space (on tape or disk).
String
max_lines
(Optional)

Maximum number of lines for each volume (for example, disk file) of an Export To Interchange File file. A volume has the extension .E00 through .E99. Only one export file is created if this is not specified.

Long

Code sample

Export example (stand-alone script)

The following stand-alone script demonstrates how to export a coverage to an interchange file.

# Name: Export_Example.py
# Description: Exports a coverage to ArcInfo interchange format
# Requirements: ArcInfo Workstation

# Import system modules
import arcpy
from arcpy import env

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

# Set local variables
featureType = "COVER"
inDataset = "stand"
interchangeFile = "C:/output/stand.e00"
compressionType = "NONE"

#Execute Export
arcpy.Export_arc(featureType, inDataset, interchangeFile, compressionType, "")

Environments

  • Current Workspace
  • Level Of Comparison Between Projection Files
  • Precision For Derived Coverages
  • Precision For New Coverages
  • Scratch Workspace

Licensing information

  • Basic: No
  • Standard: No
  • Advanced: Requires ArcInfo Workstation installed

Related topics

  • An overview of the From Coverage toolset
  • Import From Interchange File
  • Build
  • Clean

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