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

thomas bonfort thomas.bonfort at gmail.com
Wed Apr 23 00:58:54 EDT 2008


try

SYMBOL
   NAME "rail_line"
   TYPE SIMPLE
   PATTERN
    8 4 8
   END
END

along with

STYLE
  SYMBOL                "rail_line"
  WIDTH                       3
  COLOR                    250 250 250
END

regards,

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