OK, I missed this in documents: The first class that matches the its min/max scale constraints and its EXPRESSION <https://www.mapserver.org/mapfile/expressions.html#expressions> check for the current feature will be used for rendering.
Kyle Qian <kyleq...@gmail.com> 于2022年2月19日周六 18:22写道: > Hi, I would like to find a way to display different features in different > map scale ranges, but some features may be displayed in multiple scale > ranges. I know that CLASS can set EXPRESSION, MINSCALEDENOM and > MAXSCALEDENOM, it seems that using multiple CLASS does the trick. When a > Feature matches the expression of a CLASS but the scale range of the CLASS > is inconsistent with the current map, will MapServer continue to evaluate > whether the Feature belongs to other CLASS? Because if MapServer does not > continue to evaluate, this Feature cannot be displayed. > > Or is there any other way to achieve what I want? Thanks. >
_______________________________________________ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users