[mapserver-users] Displaying layers based on zoom level

Adrian Popa adrian_gh.popa at romtelecom.ro
Fri Jun 6 03:21:10 PDT 2008


Thank you very much for your help. I made the changes (tweaked the 
values for MAXSCALE) and I'm happy with the results :)

Cheers!

David Martinez Morata wrote:
> Hi!
> The functions in LAYER object are
> MAXSCALE 'Value of Scale'
> MINSCALE 'Value of minimun Scale'
> Consult this http://mapserver.gis.umn.edu/docs/reference/mapfile/layer
> And at the end of the page you find some considerations for MINSCALE 
> AND MAXSCALE interpretation in MapServer
>
>
> 2008/6/6 Adrian Popa <adrian_gh.popa at romtelecom.ro 
> <mailto:adrian_gh.popa at romtelecom.ro>>:
>
>     Hello everybody,
>
>     I'm new to this mailing list, so forgive me if this question has
>     been asked before (I haven't been able to search the archives).
>
>     My question is this:
>     I have a map with several layers (including cities, roads,
>     villages) and I would like to automatically turn some layers on
>     when the user has zoomed in enough. I know I have read somewhere
>     that you can set a property to the layer to tell it when it should
>     be turned automatically on, but I can't find the property name or
>     an example to get me going.
>
>     So please, point me in the right direction.
>
>     Thank you!
>
>     PS. I'm using mapserver 4.1 (and msMap as a frontend).
>
>     -- 
>     Adrian Popa
>
>     Network Engineer
>     Romtelecom S.A.
>     Divizia Centrul National de Operare Retea
>     Departament Transport IP & Metro
>     Compartiment IP Core
>
>
>     _______________________________________________
>     mapserver-users mailing list
>     mapserver-users at lists.osgeo.org
>     <mailto:mapserver-users at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>


-- 
Adrian Popa

Network Engineer
Romtelecom S.A.
Divizia Centrul National de Operare Retea
Departament Transport IP & Metro
Compartiment IP Core


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080606/d5a8b78d/attachment.htm>


More information about the MapServer-users mailing list