Import from E00 (Conversion)

Summary

Imports an ArcInfo interchange file (.e00). An interchange file is used to transport coverages, INFO tables, text files such as AML macros, and other ArcInfo files. For coverages, grids, and tins, it contains all information, including appropriate INFO table information. Interchange files are designated with the .e00 file suffix. This is the ArcView 3.x version of the utility for importing .e00 files.

Usage

Syntax

ImportFromE00_conversion (Input_interchange_file, Output_folder, Output_name)
ParameterExplanationData Type
Input_interchange_file

ArcInfo Workstation interchange file to convert. The name of this file cannot contain spaces.

File
Output_folder

The location in which the output will be created.

Folder
Output_name

The name of the output. This string cannot contain any spaces. If this output already exists, the tool will not overwrite it, even if the geoprocessing overwrite output setting is set to true.

String

Code Sample

ImportFromE00 example (Python window)

The following Python window script demonstrates how to use the ImportFromE00 tool in immediate mode to import a coverage.

import arcpy
from arcpy import env
env.workspace = "C:/data"
arcpy.ImportFromE00_conversion("citylim.e00", "C:/output", "citylim")
ImportFromE00 example 2 (stand-alone script)

The following stand-alone script demonstrates how to import a file from an ArcInfo interchange file.

In this example, the .e00 file contains an aml, and an aml with the same name already exists in the output folder. The script first detects and deletes the existing aml and then replaces it by importing it from the .e00 file.

# Name: ImportFromE00_Example2.py
# Description: Imports an e00 file that is known to contain an aml file.
# Requirements: ArcInfo Workstation

# Import system modules
import arcpy
from arcpy import env
import os

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

# Set local variables
importE00File = "flowaml.e00"
outDirectory = "C:/output"
outName = "flowtool.aml"

# Delete pre-existing output
if env.overwriteOutput :
    if os.path.exists(outName):
        os.remove(outName)

# Execute ImportFromE00
arcpy.ImportFromE00_conversion(importE00File, outDirectory, outName)

Environments

Related Topics

Licensing Information

ArcView: Yes
ArcEditor: Yes
ArcInfo: Yes

11/14/2011