[mapserver-users] Attribute binding on STYLE's WIDTH
Brent Fraser
bfraser at geoanalytic.com
Mon May 3 14:07:54 PDT 2010
I'm trying to use attribute binding on WIDTH (doc'ed at the bottom of
http://mapserver.org/mapfile/style.html) in v5.2.1:
CLASS
STYLE # Polygon fill
SYMBOL [sSymbol] # hatch
COLOR [sColor]
ANGLE [sAngle]
SIZE [sWidth] # e.g Hatching gap
WIDTH [sSize] # Hatching line thickness ERRROR!
END
END
But I get a parsing error:
<HEAD><TITLE>MapServer Message</TITLE></HEAD>
<!-- MapServer version 5.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=PDF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE
SUPPORTS=WMS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG
INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
<BODY BGCOLOR="#FFFFFF">
getInteger(): Symbol definition error. Parsing error near (sSize):(line 218)
</BODY>
Has anyone used this feature? Is it supposed to work?
Thanks!
Brent Fraser
More information about the MapServer-users
mailing list