[Geomoose-users] Mapbook tidy up question
Bob Basques
Bob.Basques at ci.stpaul.mn.us
Fri Feb 11 10:42:30 EST 2011
Carl,
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.
Each layer in the MapFile can source it's information from a different dataset.
bobb
>>> Carl Burn <burnsy at northcountrywoods.co.uk> wrote:
Hello All,
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.
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.
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.
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 "all" 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.
Feels like I have tackled this the wrong way, any ideas?
Best
Carl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20110211/7faa4710/attachment.html
More information about the Geomoose-users
mailing list