[gdal-dev] Reading the TerrainBase 1995 dataset (.BIN + .HDR) with gdal?
Even Rouault
even.rouault at spatialys.com
Thu May 14 07:27:18 PDT 2015
Selon Nikos Alexandris <nik at nikosalexandris.net>:
> Hi gdalers,
>
> has anyone read the TerrainBase data set (NOOA, 1995) using gdal tools?
>
> The link to the relevant CD is:
> http://webapp1.dlib.indiana.edu/virtual_disk_library/index.cgi/6081153/FID3260
>
> (see for example inside the DATA directory)
Nikos,
The .HDR file contains the same information as in the ESRI .HDR format, but with
a different format, so it is not automatically recognized.
>From the info in the .HDR you can build a VRT file (
http://gdal.org/gdal_vrttut.html ) referencing the .BIN. For example for
AFRICA.BIN :
<VRTDataset rasterXSize="984" rasterYSize="900">
<SRS>WGS84</SRS>
<GeoTransform>-26.041666666,0.08333333,0,40.041666666,0,-0.08333333</GeoTransform>
<VRTRasterBand dataType="Int16" band="1" subClass="VRTRawRasterBand">
<SourceFilename relativeToVRT="1">AFRICA.BIN</SourceFilename>
</VRTRasterBand>
</VRTDataset>
Otherwise you can find free DEMs as GeoTIFF at http://srtm.csi.cgiar.org/ (at a
much higher resolution)
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list