[Gdal-dev] Problem importing Arc Binary Grid data

Frank Warmerdam warmerdam at pobox.com
Thu Jul 12 12:14:37 EDT 2007


Decarlo, Thomas R. (LARC-B702)[NCI INFORMATION SYSTEMS] wrote:
> I’ve been given a directory full of DEM data that I’m supposed to import 
> for use in an osgdem terrain model build. I think, based on the file 
> names, that the data is in Arc/Info Binary Grid format (AIG). The 
> problem is that I don’t think I was given everything that I need to 
> interpret the data. The contents of the directory looks like this:
> 
>  
> 
> 07/11/2007  10:07 AM    <DIR>          .
> 
> 07/11/2007  10:07 AM    <DIR>          ..
> 
> 10/26/2006  11:21 AM               104 tdenv.adf
> 
> 10/26/2006  11:21 AM        15,135,552 tedg.adf
> 
> 10/26/2006  11:21 AM             4,624 thul.adf
> 
> 10/26/2006  11:21 AM           157,792 tmsk.adf
> 
> 10/26/2006  11:21 AM               116 tmsx.adf
> 
> 10/26/2006  11:21 AM        15,135,552 tnod.adf
> 
> 10/26/2006  11:21 AM        10,090,416 tnxy.adf
> 
> 10/26/2006  11:21 AM         2,522,604 tnz.adf
> 
>  
> 
> I’m using FWTools v1.3.4, and I don’t see how to import this stuff. Does 
> anyone out there know what this is and how I can bring it into Imagine 
> format? The GDAL Supported Formats page says that AIG format uses the 
> *.adf extension and is supported for reading, but I cannot even get a 
> successful gdalinfo from any of these adf files.

Thom,

I think this looks more like an arc/info binary vector coverage ... likely
specifically a TIN.  Grids would look more like:

warmerda at amd64[50]% ls -l demgrd/
total 216
-rw-r--r--  1 warmerda users     32 2006-07-13 06:36 dblbnd.adf
-rw-r--r--  1 warmerda users    308 2006-07-13 06:36 hdr.adf
-rw-r--r--  1 warmerda users    165 2006-07-13 06:36 log
-rw-r--r--  1 warmerda users     32 2006-07-13 06:36 sta.adf
-rw-r--r--  1 warmerda users   7112 2006-07-13 06:36 vat.adf
-rw-r--r--  1 warmerda users 182586 2006-07-13 06:36 w001001.adf
-rw-r--r--  1 warmerda users   4596 2006-07-13 06:36 w001001x.adf

Vector coverages might be supported by ogr (try ogrinfo on the
directory name) but I *think* the vector coverage driver requires
an associate (parallel) info directory.  If you don't have that,
you might have problems reading the data.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list