[Gdal-dev] Bathymetry data...

Frank Warmerdam warmerdam at pobox.com
Thu Mar 25 10:03:19 EST 2004


Frank Warmerdam wrote:
> So, I think the easiest thing would just be to write a .aux file for this.
> Likely something like:
> 
> --- start of topo_8.2.aux ---
> AuxilaryTarget: topo_8.2.img
> RawDefinition: 10800 6336 1
> ChanDefinition-1: 16U 0 2 21600 Unswapped
> --- end of .aux file ---
> 
> I found the projection information kind of confusing, so I didn't try to
> replicate that.

Folks,

Following up my own post, I found the data is actually signed so you need to
use 16S instead of 16U for the data type.  Also, I added the map information
and it seems to sort of work.  Not sure if it is accurate though.

AuxilaryTarget: topo_8.2.img
RawDefinition: 10800 6336 1
ChanDefinition-1: 16S 0 2 21600 Unswapped
UpLeftX: 0
UpLeftY: 72.006
LoRightX: 360
LoRightY: -72.006
MapUnits: LAT D000

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list