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

thomas bonfort thomas.bonfort at gmail.com
Tue Apr 22 22:29:37 PDT 2008


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
>
>



More information about the MapServer-users mailing list