[OSM-dev] Contours, hillshading and void filling

Andy Allan gravitystorm at gmail.com
Mon Mar 1 10:48:00 GMT 2010


On Mon, Mar 1, 2010 at 10:14 AM, Steve Hill <steve at nexusuk.org> wrote:

>        cp $TILE.hgt $TILE.bil
>        gdal_translate -ot Int16 $TILE.bil $TILE.tif
>
> Can anyone shed some light onto this?

I'm pretty sure that gdal_translate here is using the .hdr and .prj
files - otherwise where is the location information coming from? The
hgt file has nothing in it other than the grid of values, and the
location information is purely found in the name of the hgt file and
the (external) maths required to convert that into coordinates.

Cheers,
Andy




More information about the dev mailing list