<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="MSHTML 8.00.6001.19190">
<!-- converted from rtf --><style>.EmailQuote {
        BORDER-LEFT: #800000 2px solid; PADDING-LEFT: 4pt; MARGIN-LEFT: 1pt
}
</style>
</head>
<body>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="742553714-29052012">Hi,</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="742553714-29052012"></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="742553714-29052012">1) I am using average and our users have not complaint. But it is simple to test, you can create external overviews with -ro switch and try all the alternatives
 within on hour or faster. It will be nice to read about your experience. Take some timings too.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="742553714-29052012"></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="742553714-29052012">2) Jpeg in tiff suits pretty well for Mapserver, both for the images and overviews.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="742553714-29052012"></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="742553714-29052012">3) Never heard about such processing directives, need to test some day.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="742553714-29052012"></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="742553714-29052012">-Jukka Rahkonen-</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="742553714-29052012"></span></font> </div>
<br>
<blockquote style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px" dir="ltr">
<div dir="ltr" lang="fi" class="OutlookMessageHeader" align="left">
<hr tabindex="-1">
<font size="2" face="Tahoma"><b>Lähettäjä:</b> mapserver-users-bounces@lists.osgeo.org [mailto:mapserver-users-bounces@lists.osgeo.org]
<b>Puolesta </b>Mark Volz<br>
<b>Lähetetty:</b> 29. toukokuuta 2012 17:18<br>
<b>Vastaanottaja:</b> mapserver-users@lists.osgeo.org<br>
<b>Aihe:</b> [mapserver-users] optimize raster for mapserver - gdal geoTIFF source<br>
</font><br>
</div>
<div></div>
<font size="2" face="Calibri"><span style="FONT-SIZE: 11pt">
<div>Hello,</div>
<div> </div>
<div>I added a GeoTIFF to one of my .map files.  When zoomed in the image appears fine.  When I zoom out the image appears grainy, especially when looking at dirt fields.  I assume the problem is that I built the overviews with the wrong resampling method when
 I built overviews with gdaladdo.</div>
<div> </div>
<div>Question 1)  Does anyone have any recommendations for resampling air photos when I create an image using gdal?
<i>{nearest (default),average,gauss,cubic,average_mp,average_magphase,mode}</i></div>
<div> </div>
<div>Question 2) I am using a compressed geoTIFF with built in overviews.  I am happy with this format as the file size is small, and the speed is fast.  I am wondering if this is format for having a fast raster while keeping a relatively small file.  Does
 anyone else have any other suggestions?  </div>
<div> </div>
<div>Question 3)  I have seen several Mapserver snippets of code concerning GDAL_FORCE_CACHING and GDAL_ONE_BIGREAD.   If I am not reprojecting my imagery which processing directive(s) would be better for a compressed GeoTIFF with overviews?</div>
<div> </div>
<div> </div>
<div>LAYER</div>
<div>…</div>
<div>  PROCESSING "GDAL_FORCE_CACHING = YES" </div>
<div>Or:</div>
<div>  PROCESSING "GDAL_ONE_BIGREAD = YES" </div>
<div>…</div>
<div>END # Air Photo Layer</div>
<div> </div>
<div> </div>
<div>Thank You</div>
<div> </div>
<div>Mark Volz</div>
<div>GIS Specialist</div>
<div> </div>
<div> </div>
</blockquote>
</span></font>
</body>
</html>