[Gdal-dev] gdal_translate ESRI grid question
Frank Warmerdam
fwarmerdam at gmail.com
Fri Feb 25 14:41:09 EST 2005
On Wed, 23 Feb 2005 21:41:42 -1000, Juliana Lo <juliana at pdc.org> wrote:
> # cat T_02160000.hdr
> ncols 321
> nrows 225
> cellsize 2500.000000
> xllcorner -17973801.662435
> yllcorner 2041811.701239
> byteorder msbfirst
Juliana,
I found the problem. It seems that the code was checking to
see if the first character of byteorder is 'M', and 'm' failed
to match. The workaround is that you hand edit your .hdr
file and change msbfirst to MSBFIRST.
I have modified the code in CVS to be case insensitive.
Thanks for reporting this problem.
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