<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-15"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Simon,<br>
<br>
I often have to deal with large tiff-files and publishing them to the
web. To gain speed I split them into tiles with e.g.<br>
<font face="Courier New">gdal_translate -of GTiff -co TFW=YES -co
INTERLEAVE=PIXEL -co TILED=YES -srcwin 0 0 5000 5000 .\input\bpl24.tif
.\output\bpl24_00.tif</font><br>
<br>
Then I reduce the color depth (if the resulting quality is yet
satisfying):<br>
<font face="Courier New">call rgb2pct.bat -pct .\input\palette.vrt -of
GTiff .\output\bpl24_00.tif .\output\bpl8_00.tif</font><br>
<br>
Finally I add overviews:<br>
<font face="Courier New">gdaladdo -r average .\output\bpl8_00.tif 2 4 8
16 32 64 128 256 512</font><br>
<br>
If you only intend to add overviews from time to time you could use a
graphical tool I wrote for this
(<a class="moz-txt-link-freetext"
 href="http://www.indigomap.de/assets/downloads/gdaladdoGUI_1.0.5.zip">http://www.indigomap.de/assets/downloads/gdaladdoGUI_1.0.5.zip</a>).
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Greetings,
Falk Krusche

--------
MapConcept Ltd. - Kartographie und Geodatendienste
indigomap - Geoinformatik &amp; Softwareentwicklung

04105 Leipzig, Gohliser Straße 13
fon +49 341 5614756
mobil +49 173 9146691
fax +49 341 5614758

<a class="moz-txt-link-abbreviated" href="http://www.mapconcept.de">www.mapconcept.de</a>
<a class="moz-txt-link-abbreviated" href="http://www.indigomap.de">www.indigomap.de</a>
<a class="moz-txt-link-abbreviated" href="http://www.kartenblatt.de">www.kartenblatt.de</a> 
--------</pre>
Simon Cropper schrieb:
<blockquote
 cite="mid:201009150845.34261.scropper@botanicusaustralia.com.au"
 type="cite">
  <meta name="qrichtext" content="1">
  <style type="text/css">
p, li { white-space: pre-wrap; }
  </style>
  <p style="margin: 0px; text-indent: 0px;">On Wednesday 15 September
2010 1:38:23 am Falk Krusche wrote:</p>
  <p style="margin: 0px; text-indent: 0px;">&gt; add an appropriate
amount of overviews to it</p>
  <p style="margin: 0px; text-indent: 0px;">Falk,</p>
  <p style="margin: 0px; text-indent: 0px;">How would you do this with
gdal_translate? Use TILED like this...</p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="font-family: 'Courier New,courier';">gdal_translate -of GTiff
-co "TILED=YES" utm.tif utm_tiled.tif</span></p>
  <p style="margin: 0px; text-indent: 0px;">-- </p>
  <p style="margin: 0px; text-indent: 0px;">Cheers Simon</p>
  <p style="margin: 0px; text-indent: 0px;"> Simon Cropper</p>
  <p style="margin: 0px; text-indent: 0px;"> Botanicus Australia Pty Ltd</p>
  <p style="margin: 0px; text-indent: 0px;"> PO Box 160 Sunshine 3020</p>
  <p style="margin: 0px; text-indent: 0px;"> P: 03 9311 5822. M: 041
830 3437</p>
  <p style="margin: 0px; text-indent: 0px;"> W:
  <a class="moz-txt-link-freetext"
 href="http://www.botanicusaustralia.com.au">http://www.botanicusaustralia.com.au</a></p>
</blockquote>
<br>
</body>
</html>