[mapserver-users] PHP MapScript inserting extra parameters into.map file

Steve Lime Steve.Lime at dnr.state.mn.us
Wed Apr 8 17:40:24 EDT 2009


2004? Nope, but I would imagine it had to with rendering arcs in GD. Before Thomas added charting
support you could (and can still) create  a poor-mans pie chart using stacked styles and angles with 
ellipse symbols. In that world a full circle would be represented by a 360 degree arc. Best guess...

Steve

>>> On 4/8/2009 at 3:32 PM, in message <49DD09D9.1050009 at mapgears.com>, Daniel
Morissette <dmorissette at mapgears.com> wrote:
> Ian wrote:
>> I'm using PHP MapScript to change layers' DATA parameters as the user
>> selects options in an OpenLayers 2.7/MapServer 5.2 WMS setting. This
>> is working fine however I just noticed that extra undefined/unwanted
>> information is being appended to the map file when my script runs.
>> Specifically:
>> 
>> STYLE
>>      ANGLE 360
>>      OPACITY 100
>>      SYMBOL 0
>> END
>> 
> 
> I think most of these could be avoided in a future release. Could you 
> please file a enhancement ticket about this?
> 
> The case of ANGLE 360 is the one that surprised me the most. I checked 
> and it seems that the default was changed from 0 to 360 by Steve in 
> r4253: http://trac.osgeo.org/mapserver/changeset/4253 
> 
> Steve: do you remember why that change was made?
> 
> Daniel



More information about the mapserver-users mailing list