[Geomoose-users] Mapbook Tidy up question

Carl Burn burnsy at northcountrywoods.co.uk
Fri Feb 11 11:38:20 EST 2011


Yep,

spot on thanks Mark

Best

Carl

On Fri, Feb 11, 2011 at 4:34 PM, Mark Volz <MarkVolz at co.lyon.mn.us> wrote:

> Carl,
>
> I think you might be talking about what we are doing on our site
> http://geomoose.lyonco.org
>
> If so the configuration could look like this:
>
> ....
> <map-source name="StandardBackground" type="mapserver" reference="false">
>        <file>./Background/StandardBackground.map</file>
>        <layer name="all"/>
> </map-source>
> ....
> <catalog>
>        <layer title="Standard Background" src="StandardBackground/all"
> status="on"/>
> </catalog>
>
> ###
> Your mapfile could look like this:
>
>
> LAYER
>        NAME WFS1
>        MINSCALEDENOM 30000
>        #MAXSCALEDENOM
>        ...
> END #LAYER
> LAYER
>        NAME WFS2
>        MINSCALEDENOM 15000
>        MAXSCALEDENOM 30000
>        ...
> END #LAYER
> LAYER
>        NAME WFS3
>        #MINSCALEDENOM
>        MAXSCALEDENOM 15000
>        ...
> END #LAYER
>
>
> Mark Volz
> GIS Specialist
>
>
> #############################################################################
> ##
>
>
> Hi Bobb,
>
> 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.
>
> 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 "Background".
>
> 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.
>
> Does that make sense?
>
> I set up the mapsource as a single wms source and used "all" 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:
>
> <catalog>
> <layer title="background" src="mywmsservice/all" status="on" fade="true"
> unfade="true"/>
> </catalog>
>
> But I dont think this is going to work, in fact having tried it it doesnt
> seem to ...or is that just me.
>
> Carl
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20110211/71ff2414/attachment.html


More information about the Geomoose-users mailing list