blankblank blank




Converting E00 Vector Data To Shapefiles – A Free And Fairly Painless Approach



Shapefiles are the most common format for GIS vector data, and just about every GIS program, free or commercial, can open them. Unfortunately, older vector data is often in the ArcINFO interchange E00 format which, unlike shapefiles, isn’t a well-documented format. Many free GIS programs can’t open E00 files at all, and even those few that can often have problems handling them correctly. But there’s a fairly simple two-stage process that can accurately convert vector E00 files into shapefile format.

The first stage involves converting the E00 files into ArcINFO coverage format (aka ArcView coverages, or even ArcGIS coverages). ESRI, the company that created the E00 format, has a free program called Import71 (Windows) to convert E00 files into ArcINFO coverage. You can download the program directly from ESRI (registration required), but a Google Search will turn up other direct download locations. Install the program, and run it:

Convert E00 files to ArcInfo coverage
In the top box, enter the E00 file you wish to “Export” to ArcInfo coverages; use the browse button to select a file. For “Output Data Source”, enter a name for a folder that will hold the multiple coverage files; the default is to create it in the same directory that holds the E00 file. If you want to change the directory in which this folder is created, use the Browse button on the right. Click on OK, and the ArcINFO coverage files will be created in the specified folder.

If you’re a big fan of command-line interfaces, or if you run Linux, you might take a look at AVCImport, a free utility available in Windows and Linux flavors that converts E00 files to ArcINFO coverages. I’ve had mixed success with this utility, and if you’re running Linux, I’d guess that Import71 would probably install and run under the Wine emulator.

The second stage is to convert the ArcINFO coverages to shapefile format. For this, we’ll use ogr2ogr, one of the open source GDAL/OGR utilities written and maintained by Frank Warmerdam. The simplest way to get this utility, and many other useful ones, is to download and install the FWTools package for Windows, which contains ogr2ogr. As part of the installation package, FWTools creates a shell icon that you can use if you want to do the conversion process from a command line, following the syntax described in the ogr2ogr documentation page.

But the command line process involves a lot of typing, and you have to do it up to four times for every E00 file. That’s because E00 files can have four different kinds of vector data embedded within them, each of which needs to be converted into a separate shapefile:

LAB – Label point data, or isolated point data
CNT – Point data representing polygon centroids
ARC – Line data
PAL – Polygon/area data

Plus you have to type in the source and destination directories every time, which gets tedious very quickly for long filepaths. So I’ve written a simple Windows GUI front-end for ogr2ogr, that allows you to select the ArcINFO coverage directory graphically, and which converts all four types of coverage files at once; click on the link above to download it in zipped format. It’s called, oddly enough, ArcINFO2Shape GUI, and is a whopping 12KB download.

Unzip the program into the “bin” subdirectory of the FWTools directory, and either run it from there or make a shortcut to it on your Start Menu or Desktop. The following elaborate GUI will show up:

arcinfo-to-shapefile-gui
Use the drive and directory boxes on the right to select the ArcINFO coverage folder you created with Import71. Next, enter a Shapefile ID name into the lower box; this ID will be used in creating the shapefile names during the conversion. Click on “Execute Conversion”, and ogr2ogr will be invoked to convert the LAB, CNT, ARC and PAL coverages into shapefiles, opening and closing command shell windows for each individual process. If any coverages are not found, no file will be created. ArcINFO2Shape will assign names to the shapefiles based on both the ID you entered and the type of coverage. For example, if you entered “test” for the Shapefile ID, and there are only ARC and PAL coverages in the folder, the shapefiles created will be a line shapefile called “test_ARC.shp” and an area shapefile called “test_PAL.shp”. All shapefiles are created in the same folder as the ArcView coverages, and overwrite any older shapefiles with the same name. There is some minimal error testing: error message boxes pop up if you haven’t selected a directory or entered a shapefile ID; if it doesn’t find any ArcINFO coverages in the directory you’ve selected, it will let you know. If you come across any bugs or quirks, drop me a line.

ogr2ogr and FWTools are also available for Linux, and you can use ogr2ogr in command-line mode to do a conversion as well. ArcInfo2Shape GUI might run under Wine if you have the VB6 run-time libraries installed; no guarantees.

In addition to the three standard files in the shapefile format (*.shp, *.shx, and *.dbf), a *.prj file will be created containing information about the native coordinate system for the shapefile (projection and datum). You can open this *.prj file in any standard text editor, and it should be fairly easy to figure out what the coordinate system and datum is from the text in the file. Some GIS programs can use this .prj file to re-project the shapefile “on-the-fly”, while others require you to re-project the shapefile data separately to conform to the desired coordinate system, one that matches your other data. I’ll talk about a program that can easily re-project your shapefiles into another coordinate system in an upcoming post.

ArcINFO2Shape GUI is freely redistributable in unaltered form, and is free for any use, personal or commercial. Other free utilities can be found on the Downloads page. If you find this or any of my other utilities particularly useful and would like to show your appreciation, donations of any amount are gratefully accepted via PayPal.

Note: Edited to incorporate the suggestion in the comments to use the term “ArcINFO coverage” instead of “ArcView coverage”. Also edited to emphasize that this is only for vector E00 files, not raster E00 files (e.g. DEMs).


Looking for something else? Enter some keywords below, then click "Search".    




6 Responses to “Converting E00 Vector Data To Shapefiles – A Free And Fairly Painless Approach”


  1. 1 Android

    Leszek:
    Great blog and so far lots of worthwhile information about how to get by on the cheap.

    A point of usage – rather than say “ArcView coverages” it would be more accurate and understandable if they were refered to as “ArcINFO coverages”. ArcView introduced the shapefile and shapefiles (and Avenue) were the AV language – AV could display covers, but it wasn’t very good at doing anything else with them.

    The “71” in the utility name refers to the ArcINFO release (now sometimes refered to as “ArcGIS workstation”) – version 7.1 – when the utility was explicitly released by ESRI.

    Cheers and keep up the good work.

  2. 2 Leszek Pawlowicz

    Nuts – you mean I gotta change all those references ? ;-)

    I’ve heard it referred to as ArcView coverages, ArcInfo coverages, even ArcGIS coverages. I picked one, but looks like I picked the wrong one. I’ll revise the post (and the utility) to reflect that. Thanks for the clarification.

  3. 3 Leszek Pawlowicz

    From an email by John Dougherty:

    “Import71 does install and run under the Wine emulator.

    After a bit of debugging I was able to get ArcINFO2Shape GUI to run too.
    I simply had to get a copy of MSVBVM60.DLL into my wine c:\windows\system32 directory.

    Import71 created two directories.

    First I ran Import71 against cdaroads.e00 (from http://www.fs.fed.us/ipnf/eco/yourforest/gis/roads/cdaroads.zip)

    This produced

    aat.adf arx.adf dbltic.adf par.adf road.rat
    arc.adf dblbnd.adf log prj.adf road.sec

    in a directory I called “71out”
    and also created a directory “info” containing:

    arc0000.dat arc0001.dat arc0002.dat arc0003.dat arc0004.dat arc.dir
    arc0000.nit arc0001.nit arc0002.nit arc0003.nit arc0004.nit

    ArcINFO2Shape GUI output:

    cdaroads_ARC.prj cdaroads_ARC.shx cdaroads_ARC.dbf cdaroads_ARC.shp

    I am just curious to know about Import71 generating the info directory because I recall no mention of it,
    and share my experience with ArcINFO2Shape GUI running under wine 0.9.58 on Fedora 7.

    thank you Leszek!

    John”

  4. 4 Robert L

    I’m having a problem doing the conversion, though I’m hesitant to post a comment asking for help. I think the basis of my question has some educational/informational value though, so here goes:

    I’ve been trying to utilize a set of geology data from the USGS. It provides ARC/INFO coverage which I should easily be able to convert to shapefile with ogr2ogr and ArcINFO2Shape GUI. When I run the GUI it cannot find coverage. I’m pretty sure this is because there are no file extensions on the files in dataset folder once I have untarred and unzipped them. What should a set of complete file extensions look like?

    All that I can discern from google searches is that ARC/INFO coverage is “.adf.” The folder for each layer of data contains a file called aat, arc, arx, bnd, cnt, cnx, lab, log, pal, pat, pax, tic, & tol. Adding “.adf” does not work with ArcINFO2Shape GUI.

    I also know that the “info” folder is important, which is filled with many folders numbered arc000dat, arcoo1nit, …arc00Xdat, arc00Xnit, etc.

    Any information on this would be greatly appreciated.
    Thank you?

  5. 5 Leszek Pawlowicz

    Try opening the E00 file with a program that can read/display them (like the TatukGIS viewer or fGIS) to see if the file is readable or not.

  6. 6 Brooke Reams

    Thanks for explaining how to do the conversion and for the free GUI front end for the ogr2ogr utility! If you are looking to do the conversion and you have ArcGIS Desktop, you can use a couple GP tools for this. Check it out here: http://www.geospatialanalyst.com/2009/09/how-to-convert-arcinfo-interchange.html

    -Brooke

Comments are currently closed; feel free to contact me with questions/issues.