Hi,
Visibility by scale is controlled with MAXSCALEDENOM and MINSCALEDENOM at LAYER
level. Pretty easy. I am never trying to calculate at which scale the change
happens, it is much faster just to try and check the behaviour with a WMS
client. For example, for rendering a layer between nominal scales 1:10 and
1:100 use
LAYER
...
MAXSCALEDENOM 100
MINSCALEDENOM 10
...
-Jukka Rahkonen-
Michael G. wrote:
>
> Hello everyone,
>
> I would like to render a layer only on closer zoomlevels. I am using
> OpenLayers that requests the map via WMS. I assume a zoom-level is not
> passed via WMS, so I would have to use the extends of a tile, which is
> fine, too.
>
> Can I somehow use these values in the EXPRESSION statement of classes?
>
> Best wishes,
> Michael
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> ___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users