[Marble-devel] Re: altitude profiles

Niko Sams niko.sams at gmail.com
Sun Oct 3 16:54:16 CEST 2010


On Mon, Sep 27, 2010 at 20:20, Bernhard Beschow
<bbeschow at cs.tu-berlin.de> wrote:
>
> If you're looking for a conversion tool, there is gdal, which should be part of your distribution. To convert a single file, issue:
>
> gdal_translate -ot UInt16 -of GIF SRTM_fB03_n051e013.tif SRTM_fB03_n051e013.gif
>
> Note that converting to PNG didn't deliver correct results for me. Gdal also provides a retiling utility, which I didn't try, though.
>
I successfully converted the file to a 16 Bit PNG (gif doesn't support 16 bit).
But I can't read it with QImage as that doesn't support 16 Bit.
So I think using TileLoader and TextureTile is problematic - or do you
know a way
to solve this issue?

Niko


More information about the Marble-devel mailing list