Export To Interchange File (Coverage)

License Level:BasicStandardAdvanced

Summary

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

Learn more about how Export to Interchange File works

Usage

Syntax

Export_arc (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

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: No
ArcGIS for Desktop Advanced: Requires ArcInfo Workstation installed
6/18/2012