Import from E00 (Conversion)
Summary
Imports an ArcInfo Workstation 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 GIS version of the utility for importing .e00 files.
Usage
-
This tool does not enforce ArcInfo Workstation dataset naming limitations. If your .e00 file contains a coverage, grid, or tin, you should avoid using an output parameter that contains spaces, or has a name longer than 13 characters. INFO table names should be 32 characters or shorter. Other coverage name limitations are listed in Knowlege Base article 21052.
-
When importing INFO tables, you do not need to use the ! naming convention when setting the output parameter. Simply set the parameter to include the path to the target workspace and the name of the table you desire. The table will be created in that workspace's INFO database. For example, instead of using D:/workspace/INFO!sometable, use D:/workspace/sometable.
-
If you have an ArcInfo license and have installed ArcInfo Workstation, you can also use the Import_From_Interchange_File tool, which has more advanced capabilities.
This tool is only available in ArcGIS for Desktop. It is not available in ArcGIS for Server.
This tool does not honor the geoprocessing overwrite output setting. You must delete any expected output before importing a .e00 file.
Syntax
Parameter | Explanation | Data 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
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")
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.
# 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)