<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="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=IT link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>You could use
gdal_translate (</span></font><a href="http://www.gdal.org/gdal_translate.html"><font
color=black><span lang=EN-GB style='color:windowtext;text-decoration:none'>http://www.gdal.org/gdal_translate.html</span></font></a><span
lang=EN-GB>) </span><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>to decrease rasters
resolution, and then gdal_merge (</span></font><a
href="http://www.gdal.org/gdal_merge.html"><font color=black><span lang=EN-GB
style='color:windowtext;text-decoration:none'>http://www.gdal.org/gdal_merge.html</span></font></a><span
lang=EN-GB>)</span><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'> to create mosaic. The
process could be scripted (but in Windows some gdal commands does not accept
jolly characters).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>You iterate this process
some times and at every step you create a tile index. Every tile index is a Mapserver
LAYER, and all of the layers belong to the same GROUP, which will be used as &#8220;the&#8221;
layer in the query to Mapserver. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Does this help u ?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'> Piero<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
UMN MapServer Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Rahkonen Jukka<br>
<b><span style='font-weight:bold'>Sent:</span></b> giovedì 13 dicembre 2007
9.53<br>
<b><span style='font-weight:bold'>To:</span></b> MAPSERVER-USERS@LISTS.UMN.EDU<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [UMN_MAPSERVER-USERS]
ECW Pyramid</span></font><span lang=EN-US><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Hi,</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>To my understandment and experience it is
unnecessary to have anything like ECW pyramids if you mean by that the same
thing as with Geotiffs, for example.&nbsp; That is, downsampled versions of
individual image files.&nbsp; ECW&nbsp;has&nbsp;a wavelet based&nbsp;internal
system for getting the same effect and&nbsp;it works fine.</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Another thing is that if you are looking
your site through tile index and you have zoomed out very far&nbsp;then pyramid
layers (or overviews or whatever they are called)&nbsp;do not help very
much.&nbsp; In this case MapServer has to open a bunch of physical&nbsp;files
from the file system, perhaps tens of image files, and that will ineviatably
slow down the response time.&nbsp; What will help in this case is a
separate,&nbsp;radically downsampled image that covers large area of your imagery.&nbsp;
For example,&nbsp;we have often&nbsp;sites which&nbsp;are 50 km by 50 km in
size and they hold&nbsp;100 aerial&nbsp;images with&nbsp;0.5 metre pixel
size.&nbsp; Zooming to whole site through tile index means that all the 100
files must be opened and it is for sure always slow with any file format and
whether we have&nbsp;fine internal pyramids or not.&nbsp; Pyramids do help a
bit but the key to the speed&nbsp;is to avoin opening so&nbsp;many&nbsp;files
from disk.&nbsp; What we use to do is to create a quick look image with
something like 10 metre pixel size and use that until the user has zoomed in so
close that the resolution is not good enough.&nbsp; At that moment only 1-4
original images must be opened through tileindex and that goes fast.&nbsp; </span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>A&nbsp;simple way to create a&nbsp;quick
look image is to define Geotiff outputformat in the mapfile and ask MapServer
to send the image with whole site extents with some reasonable width and
height.</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>-Jukka Rahkonen-</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabIndex=-1>

</span></font></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>Lähettäjä:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> UMN
MapServer Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <b><span
style='font-weight:bold'>Puolesta </span></b>José Ramón López<br>
<b><span style='font-weight:bold'>Lähetetty:</span></b> 12. joulukuuta 2007
14:09<br>
<b><span style='font-weight:bold'>Vastaanottaja:</span></b>
MAPSERVER-USERS@LISTS.UMN.EDU<br>
<b><span style='font-weight:bold'>Aihe:</span></b> [UMN_MAPSERVER-USERS] ECW
Pyramid</span></font><o:p></o:p></p>

<blockquote style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi List.<br>
<br>
I have populated a raster layer using a Tileindex made from ECW Files. This
layer is visible 1:1000 scale with MAXSCALE parameter.<br>
As is not possible to create ECW pyramids. Whe have got another raster layer
resampling these ECW files. <br>
We would like to populate a single raster layer that uses one tile index
created from the resampled ECW, visible at 1:10000 scale (and smaller), and
another tileindex from the original ECW files visible at bigger scales. <br>
Is it possible? If not, please tell me how could I do something similar.<br>
<br>
Tnaks.<o:p></o:p></span></font></p>

</blockquote>

</div>

</body>

</html>