Opened 5 years ago

Closed 5 years ago

#4302 closed defect (fixed)

gdalinfo does not recognize many prj.adf parameters

Reported by: ysid Owned by: warmerdam
Priority: normal Milestone: 1.9.0
Component: OGR_SRS Version: 1.8.0
Severity: normal Keywords:
Cc: abarton


I have an ArcInfo binary grid in a Lambert Azimuthal equal area projection, with WGS84 datum and centered on the North Pole. All of this is obvious if I open the prj.adf file that comes with the grid:

Datum         WGS84
Spheroid      WGS84
Units         METERS
Zunits        NO
Xshift        0.0
Yshift        0.0
   0  0  0.0 /* longitude of center of projection
  90  0  0.0 /* latitude of center of projection
0.0 /* false easting (meters)
0.0 /* false northing (meters)

Unfortunately, gdalinfo only recognizes the tags "LAMBERT_AZIMUTHAL" and "METERS". I believe it is not even interpreting the projection type properly, as it just copies the projection name verbatim in caps:

Driver: AIG/Arc/Info Binary Grid
Files: .
Size is 22329, 25088
Coordinate System is:
Origin = (-3276263.146375657500000,-265313.493476867210000)
Pixel Size = (90.000000000000000,-90.000000000000000)
Corner Coordinates:
Upper Left  (-3276263.146, -265313.493)
Lower Left  (-3276263.146,-2523233.493)
Upper Right (-1266653.146, -265313.493)
Lower Right (-1266653.146,-2523233.493)
Center      (-2271458.146,-1394273.493)
Band 1 Block=256x4 Type=Float32, ColorInterp=Undefined
  Min=-4302.042 Max=0.000
  NoData Value=-3.4028234663852886e+038

It would be great if GDAL could recognize the tags in these files, including the projection parameters listed at the bottom. At the very least (since I have this particular data type), it would be nice to have this particular projection covered.

Change History (2)

comment:1 Changed 5 years ago by ysid

Cc: abarton added

comment:2 Changed 5 years ago by Even Rouault

Component: defaultOGR_SRS
Milestone: 1.9.0
Resolution: fixed
Status: newclosed

r23261 /trunk/gdal/ogr/ogr_srs_esri.cpp: Add support for old style (Arc/Info? 7.x) LAMBERT_AZIMUTHAL projection (#4302)

Note: See TracTickets for help on using tickets.