[mapserver-users] AGG Anti-alias & VECTOR sybmol

Jackey Cheung cheung.jackey at gmail.com
Thu Apr 24 03:36:18 EDT 2008


It works! Thank you very much! Even better, this is much simpler than using
VECTOR or ELLIPSE symbols!

On Wed, Apr 23, 2008 at 1:29 PM, thomas bonfort <thomas.bonfort at gmail.com>
wrote:

> by the way, seeing your output I don't think that you're using agg.
> have you correctly set IMAGETYPE AGGA in your mapfile (or use
> format=AGGA in your url if using mapserv)
> thomas
>
> On Wed, Apr 23, 2008 at 5:02 AM, Jackey Cheung <cheung.jackey at gmail.com>
> wrote:
> > Greetings!
> >
> >
> > I've generated a map: http://maps.mapking.com/eg.png
> >
> > with these:
> >
> >     OUTPUTFORMAT
> >         NAME                    "AGGA"
> >          DRIVER                "AGG/PNG"
> >         IMAGEMODE            RGBA
> >         TRANSPARENT        ON
> >         EXTENSION            "png"
> >         FORMATOPTION     "INTERLACE=OFF"
> >      END
> >
> >     CLASS
> >         MAXSCALEDENOM    5000000
> >         MINSCALEDENOM    500000
> >
> >         STYLE
> >             WIDTH                    4
> >             COLOR                    50 50 50
> >         END
> >
> >         STYLE
> >             SYMBOL                "rail_line"
> >             SIZE                       3
> >             COLOR                    250 250 250
> >         END
> >      END
> >
> > SYMBOL
> >   NAME "rail_line"
> >    TYPE ELLIPSE
> >   POINTS
> >       1 1
> >   END
> >   STYLE
> >     8 4 8
> >   END
> > #    GAP 100
> >   FILLED TRUE
> >     #ANTIALIAS    TRUE
> > END
> >
> >
> > As you can see in the image, the everything are smooth except the
> railway.
> > All line and polygon layers are drawn with "simple" styles without the
> use
> > of SYMBOL. Only the railway lines are drawn with a VECTOR symbol.
> >  Does AGG's anti-alias works with symbols?  If not, any work around?
> >
> >
> > _______________________________________________
> >  mapserver-users mailing list
> >  mapserver-users at lists.osgeo.org
> >  http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080424/02f65c8a/attachment-0001.html


More information about the mapserver-users mailing list