[GRASSLIST:1041] gdal problem

Keith J. Forbes listsemail at gmx.net
Wed Aug 27 10:19:59 EDT 2003


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.

Thanks in advance,
Keith

........what happens when I run r.in.gdal....................
GRASS:/usr/local/share/applications > r.in.gdal

OPTION:   Bin raster file to be imported
     key: input
required: YES
enter option > /home/keith/grass5/datasrc/hadrm/a2c_con/etp/w001001x.adf

You have chosen:
  input=/home/keith/grass5/datasrc/hadrm/a2c_con/etp/w001001x.adf
Is this correct? (y/n) [y]

OPTION:   Band to select (default is all bands)
     key: band
required: NO
enter option >

OPTION:   Name for resultant raster map
     key: output
required: YES

Enter raster file name
Enter 'list' for a list of existing raster files
Hit RETURN to cancel request
> testadf
<testadf>

OPTION:   Name of location to read projection from for GCPs transformation
     key: target
required: NO
enter option >

OPTION:   Title for resultant raster map
     key: title
  format: "phrase"
required: NO
enter option >

OPTION:   Name for new location to create
     key: location
required: NO
enter option >

FLAG: Set the following flag?
    Override projection (use locations projection)?(y/n) [n]

FLAG: Set the following flag?
    Extend location extents based on new dataset.?(y/n) [n]
Segmentation fault


-- 
k|J|f




More information about the grass-user mailing list