Hi Bobb,<div><br></div><div>thanks, I have stuck the data all into one file and have the maxscaledenom/minscaledenom values set in the mapfile and that all seems to work fine.<br><br></div><div>The bit I am struggling with is the map book set up in geomoose, I need to simply have one catalog entry for all of the layers so that the user only sees a single layer in the catalog called  say &quot;Background&quot;. </div>
<div><br></div><div>When this background layer is switched on I need the user to see whichever of the raster layers is most appropriate for the level of zoom they have....so that the users do not need to know different layers are set up for different scales the system does the switching for them.</div>
<div><br></div><div>Does that make sense?</div><div><br></div><div>I set up the mapsource as a single wms source and used &quot;all&quot; to simply bring in all of the four layers (not naming each one) I think I need to do a catalog entry in the map book like this:</div>
<div><br></div><div>&lt;catalog&gt;</div><div>&lt;layer title=&quot;background&quot; src=&quot;mywmsservice/all&quot; status=&quot;on&quot; fade=&quot;true&quot; unfade=&quot;true&quot;/&gt;</div><div>&lt;/catalog&gt;</div>
<div><br></div><div>But I dont think this is going to work, in fact having tried it it doesnt seem to ...or is that just me.</div><div><br></div><div>Carl</div><div><br></div><div><br></div><div><br><div class="gmail_quote">
On Fri, Feb 11, 2011 at 3:42 PM, Bob Basques <span dir="ltr">&lt;<a href="mailto:Bob.Basques@ci.stpaul.mn.us">Bob.Basques@ci.stpaul.mn.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

  

  
  <div style="margin-right:4px;margin-top:4px;margin-bottom:1px;line-height:normal;font-variant:normal;margin-left:4px">
    <p style="margin-top:0;margin-bottom:0">
      <font size="3" face="Comic Sans MS">Carl,</font>    </p>
<br>      
    <p style="margin-top:0;margin-bottom:0">
      <font size="3" face="Comic Sans MS">In this situation you want to use a single MapFile, with multiple layer definitions.  You can control the display thresholding on each layer based on view scaling with the MINSCALEDEMON,MAXSCALEDENOM settings.</font>    </p>

<br>      
    <p style="margin-top:0;margin-bottom:0">
      <font size="3" face="Comic Sans MS">Each layer in the MapFile can source it&#39;s information from a different dataset.</font>    </p>
<br>      
    <p style="margin-top:0;margin-bottom:0">
      <font size="3" face="Comic Sans MS">bobb</font>    </p>
<br>      <br>
    <p style="margin-top:0;margin-bottom:0">
      <br>
      <br>
      &gt;&gt;&gt; Carl Burn &lt;<a href="mailto:burnsy@northcountrywoods.co.uk" target="_blank">burnsy@northcountrywoods.co.uk</a>&gt; wrote:<br>    </p>
    <table bgcolor="#f3f3f3" border="0" style="margin-right:0;font-size:1em;margin-top:0;margin-bottom:0;margin-left:15px">
      <tbody><tr>
        <td>
          <div style="border-left:solid 1px #050505;padding-left:7px">
            <p style="margin-top:0;margin-bottom:0">
              Hello All,            </p>
            <div>
              <p style="margin-top:0;margin-bottom:0">
                <br>
                              </p>
            </div>
            <div>
              <p style="margin-top:0;margin-bottom:0">
                I have a tidy up task to do and am not sure how to tackle it. I have four raster layers in mapbook all being drawn from wms sources which specify a min/max scale in their mapserver map files.              </p>

            </div>
            <div>
              <p style="margin-top:0;margin-bottom:0">
                <br>
                              </p>
            </div>
            <div>
              <p style="margin-top:0;margin-bottom:0">
                Currently I have these four layers as individual entries in the catalog meaning that the user has to select one of them and then when they zoom in they have to select a different raster option manually.              </p>

            </div>
            <div>
              <p style="margin-top:0;margin-bottom:0">
                I would like to be able to simply have one entry in the catalog which once selected would allow the user to zoom in and use the raster layer appropriate to the level of zoom.              </p>
            </div>
            <div>
              <p style="margin-top:0;margin-bottom:0">
                <br>
                              </p>
            </div>
            <div>
              <p style="margin-top:0;margin-bottom:0">
                I have access to the mapserver so I have put all of the raster layers into one mapfile, so the mapsource in my mapbook is now a single wms source with 4 layers - so I can call them all in together by simply using &quot;all&quot; as the layer name. However I cant see a way of doing the same in the catalog so that only one layer is displayed to the users.              </p>

            </div>
            <div>
              <p style="margin-top:0;margin-bottom:0">
                <br>
                              </p>
            </div>
            <div>
              <p style="margin-top:0;margin-bottom:0">
                Feels like I have tackled this the wrong way, any ideas?              </p>
            </div>
            <div>
              <p style="margin-top:0;margin-bottom:0">
                <br>
                              </p>
            </div>
            <div>
              <p style="margin-top:0;margin-bottom:0">
                Best              </p>
            </div>
            <div>
              <p style="margin-top:0;margin-bottom:0">
                <br>
                              </p>
            </div>
            <div>
              <p style="margin-top:0;margin-bottom:0">
                Carl              </p>
            </div>
            <div>
              <p style="margin-top:0;margin-bottom:0">
                <br>
              </p>
            </div>
          </div>
        </td>
      </tr>
    </tbody></table>
  </div>

</blockquote></div><br></div>