Today's CVS,
labels that follow street segments and antialias lines
Paul Spencer
pspencer at DMSOLUTIONS.CA
Tue Mar 21 15:43:07 EST 2006
oh yes, you need PNG24. Frank added a processing option(?) to allow
dithering of PNG24 to PNG8 which works quite nicely AFAIK (but I
haven't tried it yet, its on my todo list, I did it with PHP gd so I
assume it looks the same)
Cheers
Paul
On 21-Mar-06, at 3:23 PM, Stephen Woodbridge wrote:
> 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/|
>>> +-----------------------------------------------------------------+
>>>
>
> <tile.png>
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+
More information about the mapserver-dev
mailing list