Yep,<div><br></div><div>spot on thanks Mark</div><div><br></div><div>Best</div><div><br></div><div>Carl<br><br><div class="gmail_quote">On Fri, Feb 11, 2011 at 4:34 PM, Mark Volz <span dir="ltr"><<a href="mailto:MarkVolz@co.lyon.mn.us">MarkVolz@co.lyon.mn.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Carl,<br>
<br>
I think you might be talking about what we are doing on our site<br>
<a href="http://geomoose.lyonco.org" target="_blank">http://geomoose.lyonco.org</a><br>
<br>
If so the configuration could look like this:<br>
<br>
....<br>
<map-source name="StandardBackground" type="mapserver" reference="false"><br>
<file>./Background/StandardBackground.map</file><br>
<layer name="all"/><br>
</map-source><br>
....<br>
<catalog><br>
<layer title="Standard Background" src="StandardBackground/all"<br>
status="on"/><br>
</catalog><br>
<br>
###<br>
Your mapfile could look like this:<br>
<br>
<br>
LAYER<br>
NAME WFS1<br>
MINSCALEDENOM 30000<br>
#MAXSCALEDENOM<br>
...<br>
END #LAYER<br>
LAYER<br>
NAME WFS2<br>
MINSCALEDENOM 15000<br>
MAXSCALEDENOM 30000<br>
...<br>
END #LAYER<br>
LAYER<br>
NAME WFS3<br>
#MINSCALEDENOM<br>
MAXSCALEDENOM 15000<br>
...<br>
END #LAYER<br>
<br>
<br>
Mark Volz<br>
GIS Specialist<br>
<br>
#############################################################################<br>
##<br>
<br>
<br>
Hi Bobb,<br>
<br>
thanks, I have stuck the data all into one file and have the<br>
maxscaledenom/minscaledenom values set in the mapfile and that all seems to<br>
work fine.<br>
<br>
The bit I am struggling with is the map book set up in geomoose, I need to<br>
simply have one catalog entry for all of the layers so that the user only<br>
sees a single layer in the catalog called say "Background".<br>
<br>
When this background layer is switched on I need the user to see whichever<br>
of the raster layers is most appropriate for the level of zoom they<br>
have....so that the users do not need to know different layers are set up<br>
for different scales the system does the switching for them.<br>
<br>
Does that make sense?<br>
<br>
I set up the mapsource as a single wms source and used "all" to simply bring<br>
in all of the four layers (not naming each one) I think I need to do a<br>
catalog entry in the map book like this:<br>
<br>
<catalog><br>
<layer title="background" src="mywmsservice/all" status="on" fade="true"<br>
unfade="true"/><br>
</catalog><br>
<br>
But I dont think this is going to work, in fact having tried it it doesnt<br>
seem to ...or is that just me.<br>
<br>
Carl<br>
<br>
<br>
</blockquote></div><br></div>