Today's CVS, labels that follow street segments and antialias lines

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Tue Mar 21 15:23:16 EST 2006


Also added TRANSPARENCY ALPHA to the LAYER, but still not AA.
Do I need to define a special output format?

Also MINDISTANCE does not seem to be working with ANGLE FOLLOW.

I will recheck everything on this end and make sure everything is built 
corectly.

-Steve W

Stephen Woodbridge wrote:
> Steve Lime wrote:
> 
>> There haven't been any recent changes that I know of that would
>> cause problems along these lines.
>>
>> 1a) Benj's last patch was applied several weeks ago as mentioned in 
>> comment #31 of bug 1620.
>> 1b) I'm running brand new CVS code here and MINDISTANCE is working as 
>> usual
>>
>> 2) Paul's right, the most naive style would be:
>>
>>        STYLE
>>          COLOR 170 153 34
>>          WIDTH 5
>>          ANTIALIAS TRUE
>>        END
> 
> 
> OK, changing the mapfile to look like this, but reading the threads on 
> this I thought you could use SYMBOL "circle" with SIZE n also.
> 
> How to I get dashed AA lines?
> 
> Thanks,
>   -Steve W
> 
>> 3) I'll work up a test case for you. What should work is setting 2 
>> styles: 1 for the fill and the second
>> for the outline. E.g.:
>>
>> STYLE COLOR 255 0 0 END
>> STYLE
>>    COLOR 170 153 34
>>    WIDTH 5
>>    ANTIALIAS TRUE
>> END
>>
>> Steve
>>
>>
>>>>> Paul Spencer <pspencer at DMSOLUTIONS.CA> 3/21/2006 12:39:50 PM >>>
>>
>>
>> Steve,
>>
>> re 1) the latest cvs had working labels following lines (more or  
>> less) when I last did it.  I didn't check mindistance though.  And  
>> there are still some outstanding issues I think (unless this is the  
>> un-committed patch?)
>>
>> re 2) you need to change SYMBOL "circle" to SYMBOL 0, SIZE 3 to WIDTH  
>> 3 and set TRANSPARENCY ALPHA at the LAYER level.
>>
>> re 3) I'd like to know the same thing.  I never got polygons working :(
>>
>> Cheers
>>
>> Paul
>>
>>
>>
>> On 21-Mar-06, at 1:21 PM, Stephen Woodbridge wrote:
>>
>>
>>> Hi all,
>>>
>>> I grabbed today CVS and I'm testing it with ka-map. I have a couple  
>>> questions/issues:
>>>
>>> 1) labels that follow street segments
>>>   a) Benj has a patch that need to get integrated when ever he is  ready
>>>      I didn't get it built into my test version yet.
>>>   b) MINDISTANCE on labels is not working
>>>
>>> 2) Fuzzy brushes / antialiasing does not seem to be working. I'm  
>>> using png output and the mapfile fragment looks like:
>>>
>>>    CLASS
>>>      NAME "Interstate Highways"
>>>      EXPRESSION "1"
>>>      STYLE
>>>        SYMBOL "circle"
>>>        COLOR 170 153 34
>>>        SIZE 5
>>>        ANTIALIAS TRUE
>>>      END
>>>      STYLE
>>>        SYMBOL "circle"
>>>        COLOR 238 187 34
>>>        SIZE 3
>>>        ANTIALIAS TRUE
>>>      END
>>>    END
>>>
>>> 3) How should I define a polygon layer so I can fill the polygon  and 
>>> outline it with antialiased?
>>>
>>> Thanks,
>>>  -Steve W
>>
>>
>>
>> +-----------------------------------------------------------------+
>> |Paul Spencer                           pspencer at dmsolutions.ca   |
>> +-----------------------------------------------------------------+
>> |Applications & Software Development                              |
>> |DM Solutions Group Inc                 http://www.dmsolutions.ca/| 
>> +-----------------------------------------------------------------+
>>
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tile.png
Type: image/png
Size: 5051 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20060321/2014ece2/tile.png


More information about the mapserver-dev mailing list