[mapserver-users] BUG (??) in CGI variable substitution. COLOR change occurs up too high in the hierarchy of Mapfile
Lime, Steve D (MNIT)
Steve.Lime at state.mn.us
Mon Dec 15 08:49:34 PST 2014
Which version are you running?
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Basques, Bob (CI-StPaul)
Sent: Saturday, December 13, 2014 9:35 PM
To: mapserver-users at osgeo.org
Subject: [mapserver-users] BUG (??) in CGI variable substitution. COLOR change occurs up too high in the hierarchy of Mapfile
All,
Using this CGI fragment:
. . .?map_layer[Points].class[0].LABEL[0].STYLE[0]=color+0+255+0& . . .
and I'm trying to set the color in this mapfile fragment inside of the STYLE (inside of the LABEL bloc):
NAME "GPS History"
TEXT "[seq]"
LABEL
# OUTLINECOLOR 255 255 255
COLOR 255 255 254
FONT "arial-bold"
TYPE truetype
SIZE 9
POSITION cc
#PARTIALS false
FORCE true
STYLE
GEOMTRANSFORM labelpoly
COLOR 255 0 0
#OUTLINECOLOR 0 0 0
OUTLINECOLOR 0 0 0
WIDTH 1
END
END
The change is occurring however at the COLOR value in the LABEL (text-color), not at the STYLE level (background polygon color). I assume this is something that hasn't been run into by anyone since the background label polys were implemented, and there being two different levels where the COLOR value can be set inside a single code block, or am I missing something?
Thanks
bobb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20141215/235b4f2c/attachment.htm>
More information about the MapServer-users
mailing list