[GRASS-user] Problems getting gdawarp to recognize an AAIGrid output by r.out.gdal

William Hudspeth bhudspeth at edac.unm.edu
Thu Apr 8 12:28:39 EDT 2010


Hello,

I am using an older version of GRASS (v. 6.0) and r.out.gdal to export
an ArcAscii file. This works with no problem. However, when I try to
project the ArcAscii file (with file extension *.asc) into a different
projection, I get an error. The gdalinfo --formats (GDAL 1.3.1) command
shows that AAIGrid is supported. Yet when I run gdalwarp, as below

gdalwarp -of VRT -s_srs EPSG:4326 -t_srs '+proj=lcc +lat__1=33n
+lat_2=45n +lon_0=97w' f48.asc f48_lambert.vrt

I get the following error:

ERROR 4: `f48.asc' not recognised as a supported file format.

I realize that these are older versions of GRASS and GDAL, but I can't
easily change them at this time.

Thanks, Bill




More information about the grass-user mailing list