Thxs for all.<br><br>I will do the last reply of Piero Cavalieri.<br><br>Thxs again.<br><br><div class="gmail_quote">On Dec 14, 2007 11:28 AM, Piero Cavalieri &lt;<a href="mailto:Piero.Cavalieri@heidi.it">Piero.Cavalieri@heidi.it
</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="IT">

<div>

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

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">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 "the"
layer in the query to Mapserver. </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Does this help u ?</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;Piero</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;</span></font></p>

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">

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

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

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;" lang="EN-US">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="EN-US">

UMN MapServer Users List [mailto:<a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU" target="_blank">MAPSERVER-USERS@LISTS.UMN.EDU</a>] <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> <a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU" target="_blank">MAPSERVER-USERS@LISTS.UMN.EDU</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [UMN_MAPSERVER-USERS]
ECW Pyramid</span></font><span lang="EN-US"></span></p>

</div><div><div></div><div class="Wj3C7c">

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p><font color="blue" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: blue;">Hi,</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p><font color="blue" face="Arial" size="2"><span style="font-size: 10pt; 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></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p><font color="blue" face="Arial" size="2"><span style="font-size: 10pt; 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></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p><font color="blue" face="Arial" size="2"><span style="font-size: 10pt; 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></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p><font color="blue" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: blue;">-Jukka Rahkonen-</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

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

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

<p style="margin-bottom: 12pt;"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">Lähettäjä:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
 UMN
MapServer Users List [mailto:<a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU" target="_blank">MAPSERVER-USERS@LISTS.UMN.EDU</a>] <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>
<a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU" target="_blank">MAPSERVER-USERS@LISTS.UMN.EDU</a><br>
<b><span style="font-weight: bold;">Aihe:</span></b> [UMN_MAPSERVER-USERS] ECW
Pyramid</span></font></p>

<blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; margin: 5pt 0cm 5pt 3.75pt; padding: 0cm 0cm 0cm 4pt;">


<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">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.</span></font></p>

</blockquote>

</div></div></div>

</div>


</blockquote></div><br>