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
On Thu, Apr 8, 2010 at 6:28 PM, William Hudspeth <bhudspeth@edac.unm.edu> wrote:
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.
please post
g.proj -p
and
head f48.asc
Perhaps there is something fishy in the header?
I realize that these are older versions of GRASS and GDAL, but I can't
easily change them at this time.
No problem, we''ll try to figure it out.
Markus