[GRASS-user] How to import in GRASS .hdr?

Hi,

I have these files:

sa_asp.bil.gz
sa_asp.blw
sa_asp.hdr
sa_asp.stx

How can I import to grass?

OSX 10.6.8
GRASS 6.4.2

Thanks,

José Guerrero

################################################################
Dr. José Carlos Guerrero
Laboratorio de Desarrollo Sustentable y Gestión Ambiental del Territorio (LDSGAT)
Instituto de Ecología y Ciencias Ambientales (IECA)
Facultad de Ciencias
Universidad de la República
Montevideo-URUGUAY
################################################################

Hi,

bil files are a very common binary format that gdal should handle. But
you might have to unpack your file, since it has the .gz extension.

After unpacking the file, try to run r.in.gdal on it to import.
gdalinfo shuld also give you some more information

Cheers
Daniel

2012/3/21 José Carlos Guerrero Antúnez <jcgantunez@gmail.com>:

Hi,

I have these files:

sa_asp.bil.gz
sa_asp.blw
sa_asp.hdr
sa_asp.stx

How can I import to grass?

OSX 10.6.8
GRASS 6.4.2

Thanks,

José Guerrero
--
################################################################
Dr. José Carlos Guerrero
Laboratorio de Desarrollo Sustentable y Gestión Ambiental del Territorio
(LDSGAT)
Instituto de Ecología y Ciencias Ambientales (IECA)
Facultad de Ciencias
Universidad de la República
Montevideo-URUGUAY
################################################################

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

Hi,

I unpack the file .gz extension, and this is the error message when I import the file from r.in.gdal,

r.in.gdal -o input=`/Users/joseca/Documents/DOCUMENTOS/Biogeografia/UdelaR/Investigacion/Variables/South_America/sa/sa_aspect.bil’ not recognised as a supported file format.

ERROR 4: `/Users/joseca/Documents/DOCUMENTOS/Biogeografia/UdelaR/Investigacion/Variables/South_America/sa/sa_aspect.bil’ not recognised as a supported file format.

Cheers,

José

El 21 de marzo de 2012 18:24, Daniel Victoria <daniel.victoria@gmail.com> escribió:

Hi,

bil files are a very common binary format that gdal should handle. But
you might have to unpack your file, since it has the .gz extension.

After unpacking the file, try to run r.in.gdal on it to import.
gdalinfo shuld also give you some more information

Cheers
Daniel

2012/3/21 José Carlos Guerrero Antúnez <jcgantunez@gmail.com>:

Hi,

I have these files:

sa_asp.bil.gz
sa_asp.blw
sa_asp.hdr
sa_asp.stx

How can I import to grass?

OSX 10.6.8
GRASS 6.4.2

Thanks,

José Guerrero

################################################################
Dr. José Carlos Guerrero
Laboratorio de Desarrollo Sustentable y Gestión Ambiental del Territorio
(LDSGAT)
Instituto de Ecología y Ciencias Ambientales (IECA)
Facultad de Ciencias
Universidad de la República
Montevideo-URUGUAY
################################################################


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

On Thu, 22 Mar 2012, José Carlos Guerrero Antúnez wrote:

r.in.gdal -o
input=`/Users/joseca/Documents/DOCUMENTOS/Biogeografia/UdelaR/Investigacion/Variables/South_America/sa/sa_aspect.bil'
not recognised as a supported file format.

   The .bil file is data; put the .hdr filename on the command line and try
that.

Rich