[Mapserver-users] How to link maps with different scales
Bart van den Eijnden
bartvde at xs4all.nl
Sun Nov 16 05:21:16 PST 2003
Hi Johan,
you should make your layers scale dependent in the map file and then GROUP
them. Put them all in one mapfile.
For scale dependency you use MINSCALE and MAXSCALE.
To group layers together use GROUP "group_name".
See for more elaborate info:
http://mapserver.gis.umn.edu/doc40/mapfile-reference.html
Best regards,
Bart
On Sun, 16 Nov 2003 14:04:53 +0100, Johan Antonsson <johan at antonsson.com>
wrote:
> Hi all,
>
> Newbie question: I have three sets of maps, all showing the same area
> but with different scales, 50 000, 100 000 and 250 000. I want MapServer
> to automatically switch between those map sets when the user zooms in or
> out to a certain extent. Right now I have one mapfile per map set. Does
> MapServer support this or do I have to keep track of the current scale
> and map sets myself? Does anyone have an example of how to solve this
> problem?
>
> TIA
>
> /Johan
>
> ------------------------------------------------------------
> Johan Antonsson
> johan at antonsson.com
> ------------------------------------------------------------
>
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
--
More information about the MapServer-users
mailing list