Hi Akos,

gdaladdo doesn't generate any extra files - it just stores the pyramids 
in the original tiff file. if you issue the command for the first time 
you will notice an increased file size.

cheers,
matthias

Am 14.11.2011 14:35, schrieb Ákos Maróy:
> Matthias,
>
>> This gdal command mosaics all SRTM-Tiles into on bi geotiff. This is
>> what I use for SRTM-Display. Performance is good (equla to using tiles),
>> and you don't need to care about managing all the tiles on your server:
>>
>>
>> gdal_merge -of GTiff -co "TILED=YES" -co "COMPRESS=LZW" -co
>> "BIGTIFF=YES" -ot Int16 -n -32768 -v -o srtm41.tif tiff/*.tif
>>
>>
>> Make sure, you have all your srtm tiles downloaded and stored in ./tiff.
>
> thanks for the tip, this worked (after initiall converting the original
> .hgt.zip files into GeoTIFF). I got a large GeoTIFF file, which is a
> BigTIFF file, thus I can't look at it using conventional Linux tools
> (like eog or gimp) as they all complain about not having BigTIFF support :)
>
>> The command created a 16-bit image, compresses it, applies tiling and
>> all the good stuff.
>>
>>
>> You also want to build overviews for display speed, so issue this
>> command subsequently:
>>
>> gdaladdo -r cubic srtm41.tif 4 8 16 32 64 128 256 512
>>
>> This will create the image pyramids srtm41.tif .
>
> this does not seem to work for me - simply doesn't generate any files:
>
> $ ls
> srtm41.tif
> $ gdaladdo -r cubic srtm41.tif 4 8 16 32 64 128 256 512
> 0...10...20...30...40...50...60...70...80...90...100 - done.
> $ ls
> srtm41.tif
>
> I'm using gdal 1.7.3:
>
> $ gdaladdo --version
> GDAL 1.7.3, released 2010/11/10
>
> would I need a newer version?
>
>
> Akos
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to