<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:Z="urn:schemas-microsoft-com:" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Can you let me download the image you are having issues with?
You want to have a pyramid of files that are varying levels. Ideally they
should be a factor of 2, i.e… 2, 4, 8, 16, 32 , 64, 128, 256, 512, 1024, 2048,
4096, … . What is the gsd of your base image?<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'>Martin<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Roger André
[mailto:randre@gmail.com] <br>
<b>Sent:</b> Friday, May 02, 2008 2:54 PM<br>
<b>To:</b> mchapman@texelinc.com<br>
<b>Cc:</b> gdal-dev-bounces@lists.osgeo.org; gdal-dev@lists.osgeo.org<br>
<b>Subject:</b> Re: [gdal-dev] What options for display of high-quality ortho's
via WMS?<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>Well, generating overviews of
the 8-bit data produced pretty awful looking results. gdaladdo did warn
me, so I can't blame it. ;) Also changing the resampling to
bilinear did not improve the matter.<br>
<br>
Is it better to create large, single-image overviews, or to create many tiles
of varying resolution levels?<br>
--<br>
<br>
<br>
<o:p></o:p></p>
<div>
<p class=MsoNormal>On Thu, May 1, 2008 at 11:37 PM, <<a
href="mailto:mchapman@texelinc.com">mchapman@texelinc.com</a>> wrote:<o:p></o:p></p>
<p class=MsoNormal>Maybe try generating an overview<br>
(.ovr) file for the image. Perhaps the resampling will be better. Also see if
you can specify in mapserver the resampling method to cubic convolution or
something other than nearest neighbor.<br>
<br>
Martin<br>
<br>
<br>
Sent via BlackBerry by AT&T<o:p></o:p></p>
<div>
<div>
<p class=MsoNormal><br>
-----Original Message-----<br>
From: "Roger André" <<a href="mailto:randre@gmail.com">randre@gmail.com</a>><br>
<br>
Date: Thu, 1 May 2008 21:20:04<br>
<a href="mailto:To%3Agdal-dev@lists.osgeo.org">To:gdal-dev@lists.osgeo.org</a><br>
Subject: [gdal-dev] What options for display of high-quality ortho's via WMS?<br>
<br>
<br>
Throwing out a general question to this list because I know that many of us use
a variety of different applications to "get the job done", but use the
GDAL tools as the common unifier (at least I like to think so). I'm
putting together a Mapserver-driven web map that uses OpenLayers to get data
via WMS. It's all working quite nicely, except for my aerial photo layer,
which I am not incredibly pleased with. Despite using every tweak I could
find (convert from RGB to 8-bit with pct2rgb.py, use OUTPUTFORMAT with
GD/PNG, and use "DITHER=YES" in mapfile, I cannot get a very
high quality rendition of the photo layer in my WMS output. It looks
grainy in areas with solid color and generally a bit "pixelly".
So I have a couple of questions.<br>
<br>
1. Is some loss of image quality an unavoidable side-effect of using
Mapserver?<br>
<br>
2. If not 1, then are there other tweaks that can be done to further improve
the quality of my output? (Note that I intend to use Tilecache, so maybe
slow initial performance may is an acceptable trade off, I dunno.)<br>
<br>
3. If yes to 1, then what other open source tools do a better job of rendering
photo data? (I intend to test some of the data in GeoServer, but I
haven't done so yet.)<br>
<br>
Thanks in advance for your feedback.<br>
<br>
Roger<o:p></o:p></p>
</div>
</div>
<p class=MsoNormal>-- _______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><o:p></o:p></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>