[GRASSLIST:1046] Re: gdal problem

Keith J. Forbes listsemail at gmx.net
Wed Aug 27 11:59:30 EDT 2003


On Wednesday 27 August 2003 03:52 pm, Frank Warmerdam wrote:
> Keith J. Forbes wrote:
> > Hi. I am trying to import what I am pretty sure is an Arcinfo binary grid
> > formatted file. The file was created from a grid of points in Arcview
> > using the inverse distance weighting method. Specifically the command
> > from Arcview was Theme|Convert to Grid. The file name is w001001x.adf.
> >
> > I installed Grass from sources but recall having difficulties installing
> > gdal. I don't recall if I ever installed it or not. The only folder I
> > have with gdal is the following:
> >
> > (/usr/local/share/gdal)
> >
> > [keith at siam1 gdal]$ ls -al
> > total 568
> > drwxr-xr-x    2 root     root         4096 Jun  6 13:20 .
> > drwxr-xr-x   15 root     root         4096 Jul 22 17:20 ..
> > -rw-r--r--    1 root     root        73770 Jun  6 13:20 datum.csv
> > -rw-r--r--    1 root     root        10735 Jun  6 13:20 ellipsoid.csv
> > -rw-r--r--    1 root     root        22351 Jun  6 13:20 gcs.csv
> > -rw-r--r--    1 root     root          533 Jun  6 13:20 gdalicon.png
> > -rw-r--r--    1 root     root       332781 Jun  6 13:20 pcs.csv
> > -rw-r--r--    1 root     root         1599 Jun  6 13:20
> > prime_meridian.csv -rw-r--r--    1 root     root         7254 Jun  6
> > 13:20 s57attributes.csv -rw-r--r--    1 root     root        20885 Jun  6
> > 13:20 s57expectedinput.csv -rw-r--r--    1 root     root        30680 Jun
> >  6 13:20 s57objectclasses.csv -rw-r--r--    1 root     root         9216
> > Jun  6 13:20 seed_2d.dgn -rw-r--r--    1 root     root        10315 Jun 
> > 6 13:20 stateplane.csv -rw-r--r--    1 root     root        15266 Jun  6
> > 13:20 unit_of_measure.csv
> >
> >
> > When I run r.in.gdal (accepting all defaults), I always get "Segmentation
> > fault" as an error.
> >
> > QUESTIONS:
> > Do I need to reinstall gdal? If not, why are my attempts at importing
> > arcinfo binary grids (w001001x.adf) not working. Would appreciate any
> > help.
>
> Keith,
>
> Arc/Info binary grid formats requires a directory of files including the
> w001001x.adf file.  I would suggest trying to run gdalinfo against the
> file to see if the problem is general to GDAL or specific to the way it is
> being used in GRASS.
>
> If it crashes gdalinfo then you could either try to debug it via gdalinfo
> (if you have the inclination) or you will need to file a bug report
> including making the data available.  if the bug is reproducable with
> gdalinfo please file the bug report in GDAL's Bugzilla. If it only occurs
> in the context of GRASS's r.in.gdal command, you should likely file it
> against GRASS.
>
> Best regards,


Hi Frank,

I ran gdalinfo. Results:

 > gdalinfo w001001x.adf
ERROR 4: `w001001x.adf' not recognised as a supported file format.

GDALOpen failed - 4
`w001001x.adf' not recognised as a supported file format.

any idea??


thanks,
Keith

-- 
k|J|f




More information about the grass-user mailing list