[gdal-dev] Problems with gdalwarp re-projecting from lat-long to Lambert Conformal

Bill Hudspeth wbhk at unm.edu
Tue Mar 2 10:57:10 EST 2010


Thanks for responding. When I use gdalinfo --formats, I see that AAIGrid
is included in the list of acceptable formats. However, when I use

/usr/local/gdal/bin/gdalwarp -of AAIGrid -s_srs EPSG:4326 -t_srs
'+proj=lcc +lat_1=33n +lat_2=45n +lon_0=97w' mcd12_sep2109.asc

I get,

Output driver `AAIGrid' not recognised or does not support
direct output file creation.  The following format drivers are
and support direct output:
  VRT: Virtual Raster
  GTiff: GeoTIFF
  NITF: National Imagery Transmission Format
  HFA: Erdas Imagine Images (.img)
  MEM: In Memory Raster
  BMP: MS Windows Device Independent Bitmap
  PCIDSK: PCIDSK Database File
  ILWIS: ILWIS Raster Map
  HDF4Image: HDF4 Dataset
  PNM: Portable Pixmap Format (netpbm)
  ENVI: ENVI .hdr Labelled
  EHdr: ESRI .hdr Labelled
  PAux: PCI .aux Labelled
  MFF: Atlantis MFF Raster
  MFF2: Atlantis MFF2 (HKV) Raster
  BT: VTP .bt (Binary Terrain) 1.3 Format
  IDA: Image Data and Analysis
  RMF: Raster Matrix Format


On Tue, 2010-03-02 at 08:50 +0100, Markus Neteler wrote:
> On Mon, Mar 1, 2010 at 7:12 PM, Bill Hudspeth <wbhk at unm.edu> wrote:
> ...
> > When I try to re-project the exported AAIGrid to another projection, I
> > use:
> >
> > gdalwarp -s_srs EPSG:4326 -t_srs '+proj=lcc +lat__1=33n +lat_2=45n
> > +lon_0=97w' MODIS_output_latlong.asc MODIS_output_lambert.asc
> Note that without -of format] you generate a GeoTIFF file...
> > While the resultant projection information looks correct,
> >
> > Driver: GTiff/GeoTIFF
>    ^^^^^^^^^^^^^^^^^^^^^^^
> > The resultant text file has only the following on the top line:
> ... it is binary, not a text file. check
>  gdalwarp --formats
> for the available formats.
> Markus

More information about the gdal-dev mailing list