AGG support

thomas bonfort thomas.bonfort at GMAIL.COM
Tue Mar 13 04:17:00 EDT 2007


hi there, here are a few bugs from my experiences with trying out this new
feature.

- the compositing of the layers with the background looses the
antialiasing...
 example features drawn against (white) background:
http://www.terriscope.fr/ms_tmp/withbg.png
 example features drawn against another (gray) layer:
http://www.terriscope.fr/ms_tmp/nobg.png

- polygons aren't filled if "TRANSPARENCY" keyword is present
 without "transparency" keyword:
http://www.terriscope.fr/ms_tmp/polynotrans.png
 with "transparency" keyword: http://www.terriscope.fr/ms_tmp/polytrans.png

- I'm having a problem with the java mapscript version with the vm crashing
with
"/usr/lib/jvm/java-6-sun-1.6.0.00/bin/java: symbol lookup error:
/home/tom/java/mapscript/unstable/libmapscript.so: undefined symbol:
_ZN3agg12vcgen_strokeC1Ev" . this happens with all line layers, and with
polygon layers when color AND outlinecolor are simultaneously specified

cheers,
thomas


On 3/10/07, John Novak <jnovak at novacell.com> 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> 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>,
> > "Kralidis,Tom [Burlington]" < 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20070313/867ffae8/attachment.html


More information about the mapserver-dev mailing list