Raster Format Conversion Using gdal translate: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 56:
<li> Convert to an "EHdr" raster. This example assumes the input file is a GeoTIFF.
<pre>gdal_translate.exe -of EHdr DEM_M01_5m.tif DEM_M01_5m.flt</pre>
<li> The output ".flt" is identical to the "FLT" supported by TUFLOW so no updates to this file are required. The ".hdr" however is slightly different and requires manual updating.<br>
The output ".hdr" will look something like below:<br>
<pre>
BYTEORDER I
LAYOUT BIL
NROWS 2137
NCOLS 1895
NBANDS 1
NBITS 32
BANDROWBYTES 7580
TOTALROWBYTES 7580
PIXELTYPE FLOAT
ULXMAP 292786.5
ULYMAP 6178454.5
XDIM 0.5
YDIM 0.5
NODATA -9999
</pre>
</ol>