[mapserver-dev] GAP with TTF symbols changed behavior in MapServer 5.0

Stephen Woodbridge woodbri at swoodbridge.com
Fri Jun 5 15:20:28 EDT 2009


If I recall correctly, 4.10 was wrong. Prior to 4.10, the behavior was 
the same as 5.0. I have not verified this as a fact, but that is my 
memory of this.

Regardless, this does not impact me either. Unless this is going to 
create major heartburn for a large site, I would opt to move forward 
with putting the ANGLE and GAP in the style object which I think 
provides for greater flexibility and more labeling options than we have 
today with cleaner code.

-Steve W

Daniel Morissette wrote:
> Thomas Bonfort wrote:
>> I'll take the blame for that one, I made that change to follow the
>> documentation (which doesn't state that the symbol stays top-up, but
>> that a 180 degree rotation is applied). Not sure this is ever used
>> though, as there have been no bugs filed on this in nearly two years.
>>
> 
> You're right that the documentation doesn't provide a good description 
> of the behavior (whether it's the old one or the new one)... but before 
> fixing it I wanted to make sure it was not me who had missed something.
> 
> I've created a ticket for the docs:
> http://trac.osgeo.org/mapserver/ticket/3045
> 
> 
>> I'm not against reeanbling the previous behavior, although this would
>> remove the possibility to specify a simple that repeats along a line
>> but does not follow its orientation. I guess this can be overcome in
>> future versions, where GAP is moved into the styleObj, and angle can
>> be AUTO.
>>
> 
> I'm not sure if we should re-enable the old behavior or not. I don't 
> have a need for it personally and a case can be made for a symbol with 
> no rotation too. At this point I am mostly concerned about getting the 
> docs right.
> 
> What do others think?
> 
> Daniel



More information about the mapserver-dev mailing list