[GRASS-user] can't ingest an E00 file using r.in.gdal, or anything else?

I’m not sure why this is not working, and I’m having a little trouble getting a satisfactory answer on the web.

I’m trying to import an e00 file (arc/info grid) using r.in.gdal. For example,

GRASS 6.4.0svn (himom):~/Documents/rufus/incoming/wadnr > r.in.gdal input=lewis_dem30.e00 output=lewisdem location=himom2 --verbose
ERROR 4: `lewis_dem30.e00’ not recognised as a supported file format.

from outside GRASS,

Jeff-Hamanns-MacBook-Pro:lewis_dir hamannj$ gdalinfo lewis_dem30.e00

ERROR 4: `lewis_dem30.e00’ not recognised as a supported file format.

gdalinfo failed - unable to open ‘lewis_dem30.e00’.
Jeff-Hamanns-MacBook-Pro:lewis_dir hamannj$

and the file looks like this:

Jeff-Hamanns-MacBook-Pro:lewis_dir hamannj$ head lewis_dem30.e00
EXP 0 /AM/PROCESS/DATASERVICES/LEWIS_DIR/LEWIS_DEM30.E00
GRD 2
4860 1539 1-0.21474836470000E+10
0.10435500000000E+03 0.10435500000000E+03
0.91924128086325E+06 0.38480838058312E+06
0.14264065808632E+07 0.54541072558312E+06
-2147483647 -2147483647 -2147483647 -2147483647 -2147483647
-2147483647 -2147483647 -2147483647 -2147483647 -2147483647
-2147483647 -2147483647 -2147483647 -2147483647 -2147483647
-2147483647 -2147483647 -2147483647 -2147483647 -2147483647
Jeff-Hamanns-MacBook-Pro:lewis_dir hamannj$

Any hints? What kind of file is this, really?

Thanks,
Jeff.

Jeff Hamann, PhD
PO Box 1421
Corvallis, Oregon 97339-1421
541-754-2457
jeff.hamann[at]forestinformatics[dot]com
http://www.forestinformatics.com

Hey Jeff,

This is a valid file, though not well supported by software other than ESRI. E00 files most commonly hold vector formats, but can be used to contain raster data also. AFAIK, there is no way to import these directly into GRASS, it only supports the vector version with v.in.e00

For this reason, I keep a little ESRI utility around just in case:

http://www.esri.com/apps/products/download/?downloadid=175

It’s a Windows binary, and requires registration, but it works. I’ve successfully run it using Wine on Linux, probably will work on a Mac also. I reads the e00 file and dumps an arcinfo binary grid where you specify.

Hope this helps.

Jamie

On Sat, Oct 17, 2009 at 8:07 AM, Jeff Hamann <jeff.hamann@forestinformatics.com> wrote:

I’m not sure why this is not working, and I’m having a little trouble getting a satisfactory answer on the web.

I’m trying to import an e00 file (arc/info grid) using r.in.gdal. For example,

GRASS 6.4.0svn (himom):~/Documents/rufus/incoming/wadnr > r.in.gdal input=lewis_dem30.e00 output=lewisdem location=himom2 --verbose
ERROR 4: `lewis_dem30.e00’ not recognised as a supported file format.

from outside GRASS,

Jeff-Hamanns-MacBook-Pro:lewis_dir hamannj$ gdalinfo lewis_dem30.e00

ERROR 4: `lewis_dem30.e00’ not recognised as a supported file format.

gdalinfo failed - unable to open ‘lewis_dem30.e00’.
Jeff-Hamanns-MacBook-Pro:lewis_dir hamannj$

and the file looks like this:

Jeff-Hamanns-MacBook-Pro:lewis_dir hamannj$ head lewis_dem30.e00
EXP 0 /AM/PROCESS/DATASERVICES/LEWIS_DIR/LEWIS_DEM30.E00
GRD 2
4860 1539 1-0.21474836470000E+10
0.10435500000000E+03 0.10435500000000E+03
0.91924128086325E+06 0.38480838058312E+06
0.14264065808632E+07 0.54541072558312E+06
-2147483647 -2147483647 -2147483647 -2147483647 -2147483647
-2147483647 -2147483647 -2147483647 -2147483647 -2147483647
-2147483647 -2147483647 -2147483647 -2147483647 -2147483647
-2147483647 -2147483647 -2147483647 -2147483647 -2147483647
Jeff-Hamanns-MacBook-Pro:lewis_dir hamannj$

Any hints? What kind of file is this, really?

Thanks,
Jeff.

Jeff Hamann, PhD
PO Box 1421
Corvallis, Oregon 97339-1421
541-754-2457
jeff.hamann[at]forestinformatics[dot]com
http://www.forestinformatics.com


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user