[gdal-dev] Reading the TerrainBase 1995 dataset (.BIN + .HDR) with gdal?

Even Rouault even.rouault at spatialys.com
Fri May 15 00:08:27 PDT 2015


> Where do the fine digits +0.041666666 (for x and y) come from, as the
> reference corner coordinates are -26.0, 40.0?

>From "grid_cell_registration  = center of cell". GDAL convention for
registration is upper left corner of uppler left pixel, so you have to shift the
reference corner coordinates of the HDR by a half pixel to the north west.


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list