Hi List,<br><br><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cjolni%5CLOKALE%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"><style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
@page Section1
        {size:612.0pt 792.0pt;
        margin:3.0cm 2.0cm 3.0cm 2.0cm;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<p class="MsoNormal"><span style="" lang="EN-GB">Help would
be sincerely appreciated:</span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"> </span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">We are
seeing artifacts when presenting WMS images based on a number of adjoining .vrt
files with overviews.</span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"> </span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">Background.</span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">We are
processing 47.000 files containing aerial photos of 1 km by 1 km each, at a resolution of 10 cm by 10 cm. These are to be
distributed as WMS through MapServer. Originally we planned to create one or
more vrt files with overviews for this.</span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">We observed
the processing efficiency of GDAL (gdaladdo) deteriorate as the number of image
files in the vrt increased. Therefore we create vrt files for every 100 photos
(10 km
by 10 km
area), build an external, jpeg-compressed overview for each, and then present
these 470 files together through MapServer. We build the jpeg-compressed
overviews with gdaladdo.<b style=""> </b></span></p>
<p class="MsoNormal"><b style=""><span style="" lang="EN-GB"> </span></b></p>
<p class="MsoNormal"><span style="" lang="EN-GB">The bug.</span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">Viewing the
output for a 2000 km2 test area, we see vertical black or white lines in parts
of the output. Normally, these lines only extend partially from top to bottom
in the image. The lines do not appear in all zoom levels. Changing width or
height by a pixel or two may make them go away. Panning in the image also may
make them go away. We never see the lines when zoomed in far enough to be
viewing the raw image files. The lines do not allways appear along the
’seamlines’ between the 10 by 10
km blocks – but mostly do though.</span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"> </span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">The
artifacts appear both when viewing the output from MapServer with Gaia and
through a browser.</span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"> </span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"> </span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">Any
thoughts on what might be causing this? </span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"> </span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"> </span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">For
reference, the gdaladdo command:</span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">gdaladdo
/data/file.vrt -r average -ro --config GDAL_CACHEMAX 1000 --config
COMPRESS_OVERVIEW JPEG --config JPEG_QUALITY_OVERVIEW 75 --config
PHOTOMETRIC_OVERVIEW YCBCR --config INTERLEAVE_OVERVIEW PIXEL --config
BIGTIFF_OVERVIEW YES 2 4 8 16 32 64 128 256 512 1024 2048</span></p>