mapserver/mapserver — pull request #4621 by tbonfort (2013-04-02 18:04:14+00:00)
Title: cgi label changing issues

With Mapserver 6.2 I'm experiencing the following issue when changing the label color in the URL. Mapserver is applying both the map file value and the value passed through the URL. Commenting out "type truetype" it will work as expected.

![tmpmap136491287820916](https://f.cloud.github.com/assets/4038841/329374/18e7a560-9bb1-11e2-977d-d6542bbcdbad.jpg)

http://localhost/cgi-bin/mapserv.exe?mode=map&map_resolution=120&map=103113b.map&map_size=300%20300&map.layer[bdrtemp].class[0]=LABEL+COLOR+255+0+0+END&layers=bdrtemp&map_projection=init=epsg:26914&mapext=617211%205312389%20618156%205313315&map_imagetype=AGG_JPEG

MAP
NAME "test"
CONFIG "PROJ_LIB" "c:/mapserver/proj-4.4.9/nad/"
EXTENT 617199 5311581 618965 5313346
FONTSET "C:\mapserver\fonts\fonts.txt"
IMAGETYPE "AGG_JPEG"
PROJECTION
"init=epsg:26914"
END
SIZE 500 500
UNITS METERS
OUTPUTFORMAT
NAME "AGG_JPEG"
DRIVER "AGG/JPEG"
IMAGEMODE "RGB"
END
LAYER
NAME "bdrtemp"
TYPE POLYGON
STATUS OFF
CLASS
LABEL
TYPE TRUETYPE
COLOR 0 255 0
FONT arial
SIZE 10
END
STYLE
OUTLINECOLOR 255 255 0
WIDTH 3
END
END
DATA "border"
LABELITEM "bdr_acres"
PROJECTION
"proj=latlong"
"ellps=GRS80"
"datum=NAD83"
END
END
END