[Mapserver-dev] Draw line with antialias

Steve Lime steve.lime at dnr.state.mn.us
Fri Jun 13 12:10:18 EDT 2003


Since you're using an ellipse (a brush) the output cannot be antialiased
with GD as it sits now.

Steve

>>> <andrea.rogges at virgilio.it> 06/13/03 10:55AM >>>
Here is my mapfile definition...

>-- Messaggio originale --
>Date: Fri, 13 Jun 2003 10:50:42 -0500
>From: "Steve Lime" <steve.lime at dnr.state.mn.us>
>To: <assefa at dmsolutions.ca>,<andrea.rogges at virgilio.it>
>Cc: <mapserver-dev at lists.gis.umn.edu>
>Subject: Re: [Mapserver-dev] Draw line with antialias
>
>
>Send your mapfile definition. You can tell if it's working by the
time
>it takes to generate a
>map. Antialiasing is SLOOOOWWWW.
>
>There are also some caveats to the GD support- these are GD issues,
not
>MapServer issues.
>For example, styled symbols (i.e. dashes) cannot be antialiased, nor
>can brushed lines. Overall
>I was pretty disappointed with the support as it sits now. I'm sure
it
>will bet better over time.
>
>Steve
>
>>>> <andrea.rogges at virgilio.it> 06/13/03 10:17AM >>>
>It doesn't work :-(...I use a shapefile layer only with lines...the
>problem
>can be in SYMBOL definition?
>
>
>>-- Messaggio originale --
>>Date: Fri, 13 Jun 2003 11:10:01 -0400
>>From: Yewondwossen Assefa <assefa at dmsolutions.ca>
>>To: andrea.rogges at virgilio.it 
>>CC: mapserver-dev <mapserver-dev at lists.gis.umn.edu>
>>Subject: Re: [Mapserver-dev] Draw line with antialias
>>
>>
>> From what I can see it the code you have to specify antilaias TRUE
>in
>
>>the Style object :
>>
>> CALSS
>>   ...
>>     Style
>>        ....
>>        ANTIALIAS TRUE
>>        ...
>>      END
>>
>>andrea.rogges at virgilio.it wrote:
>>
>>>Sorry for my previous message, taking order of dll's now it works
>;-)
>>>
>>>But the question now is: how can I draw line with antialias ?
>>>
>>>  
>>>
>>>>-- Messaggio originale --
>>>>Date: Fri, 13 Jun 2003 09:27:05 -0400
>>>>From: Yewondwossen Assefa <assefa at dmsolutions.ca>
>>>>To: andrea.rogges at virgilio.it 
>>>>CC: mapserver-dev at lists.gis.umn.edu 
>>>>Subject: Re: [Mapserver-dev] Draw line with antialias
>>>>
>>>>
>>>>New binaries are at :
>>>>
>>>>http://www2.dmsolutions.ca/mapserver/dl/mapserver-4.0-dev-win32-php4.3.2.zip

>
>>>>
>>>>
>>>>
>>>>andrea.rogges at virgilio.it wrote:
>>>>
>>>>    
>>>>
>>>>>Thanks very much ;-)
>>>>>
>>>>>Andrea.
>>>>>
>>>>>PS: where can I find new files ?
>>>>>
>>>>> 
>>>>>
>>>>>      
>>>>>
>>>>>>-- Messaggio originale --
>>>>>>Date: Thu, 12 Jun 2003 11:45:37 -0400
>>>>>>From: Yewondwossen Assefa <assefa at dmsolutions.ca>
>>>>>>To: Daniel Morissette <morissette at dmsolutions.ca>
>>>>>>CC: andrea.rogges at virgilio.it, mapserver-dev at lists.gis.umn.edu 
>>>>>>Subject: Re: [Mapserver-dev] Draw line with antialias
>>>>>>
>>>>>>
>>>>>>I will add that to the makefiles and It will be available in the
>next
>>>>>>        
>>>>>>
>>>
>>>  
>>>
>>>>>>binaries sometime this afternoon.
>>>>>>
>>>>>>Later,
>>>>>>
>>>>>>Daniel Morissette wrote:
>>>>>>
>>>>>>   
>>>>>>
>>>>>>        
>>>>>>
>>>>>>>andrea.rogges at virgilio.it wrote:
>>>>>>>
>>>>>>>
>>>>>>>     
>>>>>>>
>>>>>>>          
>>>>>>>
>>>>>>>>The results is this message:
>>>>>>>>
>>>>>>>>"loadStyle(): GD library error: Antialiasing support is not
>available.
>>>>>>>>Get a newer version of GD!"
>>>>>>>>
>>>>>>>>What can I do? Do I need to recompile MapServer with GD
v2.0.15
>instead
>>>>>>>>of v2.0.12?
>>>>>>>>
>>>>>>>>  
>>>>>>>>
>>>>>>>>       
>>>>>>>>
>>>>>>>>            
>>>>>>>>
>>>>>>>I fixed this after the 4.0 beta for the Unix version.  For the
>Windows
>>>>>>>version, a -DUSE_GD_ANTIALIAS compile flag will have to be
added
>to
>>>>>>>          
>>>>>>>
>>>the
>>>  
>>>
>>>>>>>makefiles.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>     
>>>>>>>
>>>>>>>          
>>>>>>>
>>>>>>-- 
>>>>>>----------------------------------------------------------------
>>>>>>Assefa Yewondwossen           
>>>>>>Software Analyst   
>>>>>>
>>>>>>Email: assefa at dmsolutions.ca    
>>>>>>http://www.dmsolutions.ca/ 
>>>>>>
>>>>>>Phone: (613) 565-5056 (ext 14)
>>>>>>Fax:   (613) 565-0925
>>>>>>----------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>>
>>>>>>   
>>>>>>
>>>>>>        
>>>>>>
>>>>>
>>>>>_______________________________________________
>>>>>Mapserver-dev mailing list
>>>>>Mapserver-dev at lists.gis.umn.edu 
>>>>>http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev 
>>>>>
>>>>> 
>>>>>
>>>>>      
>>>>>
>>>>-- 
>>>>----------------------------------------------------------------
>>>>Assefa Yewondwossen           
>>>>Software Analyst   
>>>>
>>>>Email: assefa at dmsolutions.ca    
>>>>http://www.dmsolutions.ca/ 
>>>>
>>>>Phone: (613) 565-5056 (ext 14)
>>>>Fax:   (613) 565-0925
>>>>----------------------------------------------------------------
>>>>
>>>>
>>>>
>>>>    
>>>>
>>>
>>>
>>>
>>>
>>>  
>>>
>>
>>-- 
>>----------------------------------------------------------------
>>Assefa Yewondwossen           
>>Software Analyst   
>>
>>Email: assefa at dmsolutions.ca    
>>http://www.dmsolutions.ca/ 
>>
>>Phone: (613) 565-5056 (ext 14)
>>Fax:   (613) 565-0925
>>----------------------------------------------------------------
>>
>>
>>
>
>
>
>_______________________________________________
>Mapserver-dev mailing list
>Mapserver-dev at lists.gis.umn.edu 
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev 





More information about the mapserver-dev mailing list