<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (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:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:"Lucida Sans";
        panose-1:2 11 6 2 4 5 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Lucida Sans","sans-serif";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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-NZ link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'>Mohamad,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'>I have assumed that each level of images is the same area, but at a
different scale.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'>So using the gdaltindex tool (in the \ms4w\tools\gdal-ogr
directory), you can create a tile index shape file. This file can be used
in the MAP file to load the appropriate image. Then using the MINSCALE
and MAXSCALE setting in the MAP file you can turn the different levels on and
off at the appropriate scale.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'>Each of your imagery levels 1 - 6 will require its own entry in the
MAP file and have its own tile index shape file.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'>An Example is:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'>LAYER<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> NAME
linz_orthos<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> GROUP
"IMAGERY"<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> TILEINDEX
/gis-data/linz-ortho/linz-ortho<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> TILEITEM
"LOCATION"<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> TYPE
RASTER<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> DUMP
TRUE<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> MAXSCALE
500000<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> MINSCALE
3000<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> PROJECTION<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> "init=epsg:27200"<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> END<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> STATUS
OFF<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> CLASS<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> NAME
"LINZ Aerial Photos"<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> END<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'>END<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'>LAYER<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> NAME
ncc_orthos<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> GROUP
"IMAGERY"<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> TILEINDEX
/gis-data/orthos/napier_2009<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> TILEITEM
"LOCATION"<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> TYPE
RASTER<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> DUMP
FALSE<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> MAXSCALE
3000<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> PROJECTION<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> "init=epsg:27200"<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> END <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> STATUS
OFF<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> CLASS<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> NAME
"NCC 2009 Aerial Photography"<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'> END <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'>END <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'>Cheers Ian<o:p></o:p></span></p>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'>______________________<br>
<b>Ian Tidy</b><br>
<b>GIS Analyst / Developer</b><br>
Works Asset Department<br>
Napier City Council<br>
Skype ian.tidy.ncc<br>
<a href="mailto:iant@napier.govt.nz">mailto:iant@napier.govt.nz</a><br>
<a href="http://www.napier.govt.nz/">http://www.napier.govt.nz</a> | <a
href="http://maps.napier.govt.nz/">http://maps.napier.govt.nz</a></span><span
style='color:blue'> </span><span style='color:blue'><o:p></o:p></span></p>
</div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Lucida Sans","sans-serif";
color:blue'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Mohamad [mailto:Klay@intellitrac.com.au] <br>
<b>Sent:</b> Thursday, August 27, 2009 6:15 PM<br>
<b>To:</b> Ian Tidy; ms4w-users@lists.maptools.org<br>
<b>Subject:</b> RE: [MS4W-Users] Maps from images<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Thanks Ian for your
answer,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Can you explain your
idea a little bit more?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Thanks<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Regards<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Mohamad<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> ms4w-users-bounces@lists.maptools.org
[mailto:ms4w-users-bounces@lists.maptools.org] <b>On Behalf Of </b>Ian Tidy<br>
<b>Sent:</b> Thursday, August 27, 2009 1:11 PM<br>
<b>To:</b> Mohamad; ms4w-users@lists.maptools.org<br>
<b>Cc:</b> Ian Tidy<br>
<b>Subject:</b> Re: [MS4W-Users] Maps from images<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>I guess these are images at
different scales and pixel size.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>I would create a tile index for
each level and then turn each level on and off at the appropriate scale.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Regards Ian<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Lucida Sans","sans-serif";color:#1F497D'>______________________<br>
<b>Ian Tidy</b> <br>
<b>GIS Analyst / Developer</b><br>
<b>Phone +64-6-835-7579 Ext. 8115</b> <br>
Fax +64-6-834-4195<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Lucida Sans","sans-serif";color:#1F497D'>Skype:ian.tidy.ncc <br>
mailto:iant@napier.govt.nz<br>
http://www.napier.govt.nz | http://maps.napier.govt.nz <o:p></o:p></span></p>
</div>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> ms4w-users-bounces@lists.maptools.org
[mailto:ms4w-users-bounces@lists.maptools.org] <b>On Behalf Of </b>Mohamad<br>
<b>Sent:</b> Thursday, August 27, 2009 2:56 PM<br>
<b>To:</b> ms4w-users@lists.maptools.org<br>
<b>Subject:</b> [MS4W-Users] Maps from images<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=EN-US>Hi Guys,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>We have Australia Maps updated as images, they
are from level 1 to level 6:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Level 1 = 24 images<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>a1_1_1.gif<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>a1_2_1.gif<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>…<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>…<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>a4_6_1.gif<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Level 2 = 586 images<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>a1_4_2.gif<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>…<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>…<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>a21_30_2.gif<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Level 6 = 2190 images<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>a686_1809_6.gif<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>…<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>…<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>a1172_1503_6.gif<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Any ideas how to use those images with
Map Server?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Please ask for any kind of clarification<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Regards<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>
<div class=MsoNormal align=center style='text-align:center'><span lang=EN-US
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'>This
e-mail message has been scanned for Viruses and Content and cleared by <strong><span
style='color:#400080'>MailMarshal </span></strong><o:p></o:p></span></p>
<div class=MsoNormal align=center style='text-align:center'><span lang=EN-US
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>
<hr size=2 width="100%" align=center>
</span></div>
<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>This
e-mail message has been scanned for Viruses and Content and cleared by <strong><span
style='color:#400080'>MailMarshal </span></strong><o:p></o:p></span></p>
<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Times New Roman","serif"'>######################################################################<br>
Attention: <br>
This e-mail message and accompanying data may contain information that<br>
is confidential and subject to legal privilege. Any information<br>
provided is given in good faith. However unless specifically stated to<br>
the contrary, Napier City Council accepts no liability for the<br>
content of this e-mail or for the consequences of any action taken on<br>
the basis of the information provided, unless that information is<br>
subsequently confirmed in writing. If you are not the intended recipient,<br>
you are notified that any use, dissemination, distribution or copying<br>
of this message or data is prohibited. If you received this e-mail<br>
message in error, please notify us immediately and erase all copies<br>
of this message and attachments. Thank you. </span><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
<div class=MsoNormal align=center style='text-align:center'><span lang=EN-US
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'>This
e-mail message has been scanned for Viruses and Content and cleared by <strong><span
style='color:#400080'>MailMarshal </span></strong><o:p></o:p></span></p>
<div class=MsoNormal align=center style='text-align:center'><span lang=EN-US
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>
<hr size=2 width="100%" align=center>
</span></div>
</div>
<HR>
This e-mail message has been scanned for Viruses and Content and cleared by
<FONT color=#400080><STRONG>MailMarshal </STRONG></FONT>
<HR>
<FONT
size=1>######################################################################<BR>Attention:
<BR>This e-mail message and accompanying data may contain information that<BR>is
confidential and subject to legal privilege. Any information<BR>provided is
given in good faith. However unless specifically stated to<BR>the contrary,
Napier City Council accepts no liability for the<BR>content of this e-mail or
for the consequences of any action taken on<BR>the basis of the information
provided, unless that information is<BR>subsequently confirmed in writing. If
you are not the intended recipient,<BR>you are notified that any use,
dissemination, distribution or copying<BR>of this message or data is prohibited.
If you received this e-mail<BR>message in error, please notify us immediately
and erase all copies<BR>of this message and attachments. Thank you.
</FONT>
</body>
</html>