[GRASS-user] How to import .img format file?
Hamish
hamish_b at yahoo.com
Tue Dec 18 01:39:17 EST 2007
Rei Hayashi wrote:
> I have a problem in importing raster files that are ".img" format. I
> though r.in.gdal does work for this task, but I have failed so far.
>
> Does anyone know how to import raster files in .img format? Please
> give me some advice.
check if your copy of GDAL was built with support for Erdas Imagine.
$ gdalinfo --formats | grep -i erdas
HFA (rw+): Erdas Imagine Images (.img)
LAN (ro): Erdas .LAN/.GIS
If that's there, then r.in.gdal should be able to load it.
also try
$ gdalinfo filename.img
I successfully imported a .img file with r.in.gdal last week.
What are the command line options and exact error message you get?
Hamish
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
More information about the grass-user
mailing list