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, avoid using an output parameter that contains spaces, or has a name longer than 13 characters. INFO table names should be 32 characters or less. Other coverage name limitations are listed in How To: Import an ArcInfo interchange file (E00) in ArcGIS.
When importing INFO tables, you do not need to use the ! naming convention when setting the output parameter. Set the parameter to include the path to the target workspace and the name of the table. 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.
Syntax
arcpy.conversion.ImportFromE00(Input_interchange_file, Output_folder, Output_name)
Parameter | Explanation | Data Type |
Input_interchange_file | The ArcInfo Workstation interchange file to convert. The name of this file cannot contain spaces. | File |
Output_folder | The location where the output will be created. | Folder |
Output_name | The name of the output. This string cannot contain spaces. If this output already exists, the tool will not overwrite it, even if the geoprocessing overwrite output setting is set to true. | String |
Derived Output
Name | Explanation | Data Type |
E00OutputPath | The catalog path to the output. | String |
Code sample
ImportFromE00 example 1 (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.
# 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
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes