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 


_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to