AGG support

Vincent Schut schut at SARVISION.NL
Mon Mar 12 11:41:25 EDT 2007


Steve Lime wrote:
> So, you just hacked configure.in to look in AGG_DIR/include/agg2 correct? (wonder if agg2 is somewhat standard) If so, no biggie I'll patch configure.in...
>   
Exactly, and don't forget to also let it change AGG_INC to 
AGG_DIR/include/agg2 :)
Might be somewhat standard as agg seems to have a lot of small header 
files that could otherwise clutter your /usr/include... Don't know for 
sure though.
> Steve
>
>   
>>>> On 3/12/2007 at 5:38 AM, in message <45F52D95.4060109 at sarvision.nl>, Vincent
>>>>         
> Schut <schut at SARVISION.NL> wrote:
>   
>> Trying to get agg rendering to work, I found that mapserver only looks 
>> for the agg includes in AGG_DIR (=/usr)/include. However, my gentoo 
>> system has in it's devine wisdom decided to install these header files 
>> in /usr/include/agg2. Alas, agg does not provide an agg-config utility 
>> to find the header files location. Currently I have rigourously adapted 
>> configure to look where these files are, but that's of course no long 
>> term solution. As this might also occur with other linux distro's, maybe 
>> even in slightly different locations, it might be something the 
>> mapserver autoconf wizards want to look at :)
>>
>> Cheers,
>> Vincent.
>>
>> John Novak wrote:
>>     
>>> Tom,
>>>
>>> Please do provide input on your experiences with the new AGG code,
>>>
>>> Best,
>>>
>>> John Novak
>>>
>>> On 3/9/07, *Steve Lime* < Steve.Lime at dnr.state.mn.us 
>>> <mailto:Steve.Lime at dnr.state.mn.us>> wrote:
>>>
>>>     Use at your own peril, but you can certainly play with it. John
>>>     Novak has done the bulk of the work to date
>>>     with new input coming from Assefa. It looks promising so many
>>>     thanks for the excellent work to date.
>>>
>>>     I don't believe there are extensions to the Windows Makefile but I
>>>     did commit configure support for *nix
>>>     yesterday. Works fine on my SuSE box. Just do a --with-agg=path to
>>>     agg when running configure and
>>>     it should work. You need agg version 2.4 at this point. Agg
>>>     doesn't have install scripts so I just left it
>>>     where I built it ( e.g. /usr/local/src/agg-2.4). Configure will
>>>     look for that type of setup or in the system libs.
>>>
>>>     To use simply plop a OUTPUTFORMAT in your mapfile like so:
>>>
>>>     OUTPUTFORMAT
>>>         NAME                myAggRgb
>>>         DRIVER      AGG/PNG
>>>         IMAGEMODE   RGB
>>>       END
>>>
>>>     RGB and RGBA are supported.
>>>
>>>     The AGG driver uses GD as the buffer manager, so basically AGG
>>>     renders to a GD image so we can use GD
>>>     file writing and any of the other GD writing code. That allows us
>>>     to concentrate on pieces of the rendering
>>>     while still creating complete images. At the moment I believe
>>>     polygons and lines are rendered using AGG
>>>     while markers and text fallback on their GD counterparts.
>>>
>>>     Steve
>>>
>>>
>>>     >>> On 3/9/2007 at 1:36 PM, in message
>>>     <2576812186CDD411BF1500508B6DCE9511B30C88 at ecnwri1.ontario.int.ec.gc.ca 
>>>     
>>>       
>> <mailto:2576812186CDD411BF1500508B6DCE9511B30C88 at ecnwri1.ontario.int.ec.gc.ca>>
>> ,
>>     
>>>     "Kralidis,Tom [Burlington]" < Tom.Kralidis at EC.GC.CA 
>>>     <mailto:Tom.Kralidis at EC.GC.CA>> wrote:
>>>     > Just noticed mapagg.cpp in CVS HEAD.
>>>     >
>>>     > Is / can this be tried out?  Any build details?
>>>     >
>>>     > ..Tom
>>>
>>>
>>>
>>>
>>> -- 
>>> John Novak
>>> Novacell Technologies and the Old Topo Depot
>>> http://www.novacell.com 
>>> 877-old-topos 
>>>       



More information about the mapserver-dev mailing list