<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Paul,<br>
      <br>
        Have a read regarding TILEINDEXes
      (<a class="moz-txt-link-freetext" href="http://mapserver.org/optimization/tileindex.html">http://mapserver.org/optimization/tileindex.html</a>).  It may be
      useful to have one TILEINDEX (and one layer) per scale group (so a
      total of 6 layers).  The TILEINDEX will provide a spatial
      limitation [min/max x/y] per file.<br>
      <pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
      On 6/24/2014 11:36 PM, Malm Paul wrote:<br>
    </div>
    <blockquote
      cite="mid:1ffd85088ce343d39af61a9559b3ee7e@CORPAPPL840.corp.saab.se"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
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;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1856652114;
        mso-list-type:hybrid;
        mso-list-template-ids:-555690124 69009425 69009433 69009435 69009423 69009433 69009435 69009423 69009433 69009435;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">I’ve just started using
            Mapserver and have a question, that could help me to cut
            corners.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoListParagraph"
          style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><!--[if !supportLists]--><span
            lang="EN-US"><span style="mso-list:Ignore">1)<span
                style="font:7.0pt "Times New Roman"">     
              </span></span></span><!--[endif]--><span lang="EN-US">I
            have a lot of S57 charts in different scale groups 1-6.<o:p></o:p></span></p>
        <p class="MsoListParagraph"
          style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><!--[if !supportLists]--><span
            lang="EN-US"><span style="mso-list:Ignore">2)<span
                style="font:7.0pt "Times New Roman"">     
              </span></span></span><!--[endif]--><span lang="EN-US">It
            should be simple to maintain the map data (a lot of
            upgrades).<o:p></o:p></span></p>
        <p class="MsoListParagraph"
          style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><!--[if !supportLists]--><span
            lang="EN-US"><span style="mso-list:Ignore">3)<span
                style="font:7.0pt "Times New Roman"">     
              </span></span></span><!--[endif]--><span lang="EN-US">Of
            course, it should be fast.<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">Strategy of today:<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">I have the original data
            stored in the original format on ram disk. I have one map
            file that INCLUDEs all “layer” files (one per chart).<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">The layer files defines
            the all the interesting chart features (layers) and the max
            scale.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">I was thinking that I
            only shall use max scale, not min scale, because if I don’t
            have a chart with a larger scale a certain position when I
            zoom in, then I shall at least see a chart. Even if has a to
            small scale for this zoom. I don’t have any spatial
            restrictions on each layer or layer file, just for the map
            file -90, -180, 90, 180 (i.e no limits)<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Is it possible to have
            spatial limitations on a layer?<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">When I use this strategy
            the map server chokes then I zoom in too much.<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">I can see that the map
            configuration could be done in a lot of different ways,<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">How would your strategy
            be?<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">Kind regards,<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Paul<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>