1) I use average as well.  No problems or complaints so far.<div><br></div><div>2) I use uncompressed TIFs when I can and not worry about file sizes unless necessary.   If compression is necessary, I use LZW first, then JPEG (75 - 90) if more compression is needed.  They all work fine. </div>
<div><br></div><div>3) Also have never heard of those processing directives.</div><div><br clear="all"><div>- John</div><div><br></div><div><br></div><br>
<br><br><div class="gmail_quote">On Tue, May 29, 2012 at 10:43 AM, Rahkonen Jukka <span dir="ltr"><<a href="mailto:Jukka.Rahkonen@mmmtike.fi" target="_blank">Jukka.Rahkonen@mmmtike.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>






<div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span>Hi,</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span>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" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span>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" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span>3) Never heard about such processing directives, need to test some day.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span>-Jukka Rahkonen-</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span></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" align="left">
<hr>
<font face="Tahoma"><b>Lähettäjä:</b> <a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>]
<b>Puolesta </b>Mark Volz<br>
<b>Lähetetty:</b> 29. toukokuuta 2012 17:18<br>
<b>Vastaanottaja:</b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<b>Aihe:</b> [mapserver-users] optimize raster for mapserver - gdal geoTIFF source<br>
</font><br>
</div><div><div class="h5">
<div></div>
<font 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>
</span></font></div></div></blockquote>

</div>

<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br></div>