[GRASSLIST:708] Re: problem reading adf files from srtm

Guillermo Felipe gfmb at tutopia.com
Sat Jul 12 11:49:32 EDT 2003


Hello Frank, I got the zip file from the srtm and....

 

GRASS:~/grass/srtm/prueba > ls

06594167.zip

 

GRASS:~/grass/srtm/prueba > unzip 06594167.zip

Archive:  06594167.zip

   creating: 06594167/06594167/

  inflating: 06594167/06594167.AUX

   creating: 06594167/INFO/

  inflating: 06594167/METADA~1.HTM

 extracting: 06594167/06594167/DBLBND.ADF

  inflating: 06594167/06594167/HDR.ADF

  inflating: 06594167/06594167/PRJ.ADF

  inflating: 06594167/06594167/STA.ADF

  inflating: 06594167/06594167/W001001.ADF

  inflating: 06594167/06594167/W001001X.ADF

  inflating: 06594167/INFO/ARC.DIR

  inflating: 06594167/INFO/ARC0000.DAT

  inflating: 06594167/INFO/ARC0000.NIT

  inflating: 06594167/INFO/ARC0001.DAT

  inflating: 06594167/INFO/ARC0001.NIT

 

 later I checked the files 



GRASS:~/grass/srtm/prueba/06594167 > gdalinfo 06594167.AUX

Driver: HFA/Erdas Imagine Images (.img)

Size is 405, 465

Coordinate System is `'

Origin = (0.000000,0.000000)

Pixel Size = (1.000000,1.000000)

Corner Coordinates:

Upper Left  (   0.0000000,   0.0000000)

Lower Left  (       0.000,     465.000)

Upper Right (     405.000,       0.000)

Lower Right (     405.000,     465.000)

Center      (     202.500,     232.500)

Band 1 Block=405x4 Type=Float32, ColorInterp=Undefined

 

If a use gdalinfo with any other file, I got the next message:

 

GRASS:~/grass/srtm/prueba/06594167/06594167 > gdalinfo W001001.ADF

ERROR 4: `W001001.ADF' not recognised as a supported file format.

 

GDALOpen failed - 4

`W001001.ADF' not recognised as a supported file format.

 

so I did,

 

GRASS:~/grass/srtm/prueba/06594167 > r.in.gdal input=06594167.AUX output=dem

PROJ_INFO file not found for location dem

PROJ_UNITS file not found for location dem

ERROR 1: Can't find RasterDMS field in Eimg_Layer with block list.

 

[A lot of times]

 

ERROR 1: Can't find RasterDMS field in Eimg_Layer with block list.

 

 100%

CREATING SUPPORT FILES FOR dem



I don´t know if I´m doing the things in the correct way,



Thank you



felipe

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20030712/21f701ff/attachment.html


More information about the grass-user mailing list