<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font face="Times New Roman, Times, serif">Can anyone tell me wath
      is happening here? I have a large three-band raster (3.8G) looking
      like this:</font><br>
    <br>
    <font face="Times New Roman, Times, serif"><a class="moz-txt-link-freetext" href="http://mapserver.sara.nl/map2a.png">http://mapserver.sara.nl/map2a.png</a></font><br>
    <br>
    <font face="Times New Roman, Times, serif">I compress it (from
      information from this list a few days ago) with:<br>
      <br>
      gdal_translate -co COMPRESS=JPEG -co PHOTOMETRIC=YCBCR big.tif
      small.tif<br>
      gdaladdo --config COMPRESS_OVERVIEW JPEG --config
      PHOTOMETRIC_OVERVIEW YCBCR -ro -r gauss small.tif 2 4 8 16 32 64<br>
      <br>
      and get a file of 37M, which is nice. However, the map has all
      kinds of rubbish at the borders. It looks like this:<br>
      <br>
      <a class="moz-txt-link-freetext" href="http://mapserver.sara.nl/map2b.png">http://mapserver.sara.nl/map2b.png</a><br>
      <br>
      The equivalent pictures of a small part of the map look like this:<br>
      <br>
      <a class="moz-txt-link-freetext" href="http://mapserver.sara.nl/map1a.png">http://mapserver.sara.nl/map1a.png</a><br>
      <a class="moz-txt-link-freetext" href="http://mapserver.sara.nl/map1b.png">http://mapserver.sara.nl/map1b.png</a> <br>
      <br>
      Can anyone help me?<br>
      <br>
      Jan<br>
    </font>
  </body>
</html>