[gdal-dev] image header UL,LL,UR,LR

Shawn Gong SGONG at mdacorporation.com
Thu Feb 24 16:16:36 EST 2011


Hi list,

I have a flat binary image "HH.img" and a HH.aux header

The header file looks like:
AuxiliaryTarget: HH.img
RawDefinition: 1492 1680 1
ChanDefinition-1: 32R 0 4 5968 Unswapped
ChanDesc-1: HH intensity
SegDesc-1-0: Contents Not Specified
MapUnits: LONG/LAT    D-04
UpLeftX: -5.601451
UpLeftY: 36.098471
UpRightX: -5.305277
UpRightY: 36.148817
LoLeftX: -5.522707
LoLeftY: 35.800948
LoRightX: -5.227759
LoRightY: 35.851245
ProjParms: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4

gdalinfo does not give the right corner coordinates.
what changes do I have to make for gdal to ingest?
(I can use gdal_translate, but try to avoid that route)

Thanks,
Shawn


More information about the gdal-dev mailing list