antialiasing stuff

Sean Gillies sgillies at FRII.COM
Sat Jan 14 11:15:05 EST 2006


IMO, that's more control than people need. How about a few flavors of  
antialiasing like "soft" and "hard".

Sean

On Jan 14, 2006, at 8:56 AM, Paul Spencer wrote:

> Would it make sense to change the meaning of the antialias tag in the
> style and change it to a 0-100 value instead of a true/false?  If you
> don't want to antialias a layer, then you wouldn't put ANTIALIAS
> FALSE, you'd just remove it altogether.  So in the case of using
> antialias as an integer value, it would make sense.
>
> Paul
>
> On 13-Jan-06, at 4:38 PM, Yewondwossen Assefa wrote:
>
>> I have not seen an equivalent term in the sld specs.
>>
>> Steve Lime wrote:
>>
>>> I think in the next version we could expose the hardness setting
>>> to mapfile
>>> tweaking... What's the equivalent terminiology in something like  
>>> SLD?
>>>
>>> Steve
>>>
>>>
>>>>>> Paul Spencer <pspencer at DMSOLUTIONS.CA> 01/13/06 2:43 PM >>>
>>>>>>
>>> cool, thanks :)  I hadn't tried it, thought I would ask first.
>>> I've  managed to achieve almost the desired effect by jacking the
>>> hardness  to 0.95 and fixing the gd bug for 1 pixel lines since I
>>> asked so  maybe we won't end up going this route.
>>>
>>> Cheers
>>>
>>> Paul
>>>
>>> PS: any chance of having a HARDNESS keyword at the style level?
>>>
>>> On 13-Jan-06, at 2:55 PM, Steve Lime wrote:
>>>
>>>
>>>> This should be doable "as is". Just set TRANSPARENCY ALPHA and  
>>>> point
>>>> to the right image in your style or symbol definition. All the
>>>> fuzzy brush
>>>> support does is do this programatically.
>>>>
>>>> I believe I've tested this before using an image or two that
>>>> Sean  had created
>>>> while fixing another bug.
>>>>
>>>> Have you tried it and it doesn't work?
>>>>
>>>> Steve
>>>>
>>>>
>>>>>>> Paul Spencer <pspencer at DMSOLUTIONS.CA> 01/13/06 12:59 PM >>>
>>>>>>>
>>>> Steve,
>>>>
>>>> what would it take to support rendering lines with custom symbols
>>>> that have alpha transparency in them?  We would like to be able to
>>>> make our own brushes that work in the same way that fuzzy brushes
>>>> work, but we pre-render them and access them as symbols.  This  
>>>> would
>>>> allow finer control over styling without having to tweak mapserver
>>>> code to get the desired effect :)
>>>>
>>>> Cheers
>>>>
>>>> Paul
>>>>



More information about the mapserver-dev mailing list