Can anyone tell me what's wrong with my EXPRESSION below? I'm trying to
filter features from the National Hydrology Dataset based on scale
using SCALETOKEN and I can't seem to get it right. [Visibility] is a field
in the data that suggests the scale at which a feature should be shown.
Thanks!
LAYER
NAME "flowline"
TYPE line
DATA "shapefiles3857/nhd/flowline"
SCALETOKEN
NAME "%priority%"
VALUES
"0" "0"
"24000" "24000"
"50000" "50000"
"100000" "100000"
"250000" "250000"
"500000" "500000"
"1000000" "1000000"
"2000000" "2000000"
"5000000" "5000000"
END
END
CLASS
EXPRESSION ([Visibility] > %priority%)
STYLE
COLOR 158 196 255
MINSIZE 1
SIZE 3
MAXSIZE 6
END
END
END
--
Richard W. Greenwood
www.greenwoodmap.com
_______________________________________________
MapServer-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users