[Marble-devel] Re: altitude profiles

Niko Sams niko.sams at gmail.com
Tue Sep 28 08:35:40 CEST 2010


On Mon, Sep 27, 2010 at 20:20, Bernhard Beschow
<bbeschow at cs.tu-berlin.de> wrote:
>> My only reason for directly using the existing files it just that I
>> don't have to
>> think about a new format. Could you give me some hints on where to
>> find examples how this could be implemented...
>
> 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.

Ok, I get it - with that all the tile loading stuff can be reused.
I'll look into that - thanks.

Niko


More information about the Marble-devel mailing list