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

Jackey Cheung cheung.jackey at gmail.com
Tue Apr 22 20:02:24 PDT 2008


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080423/1e58ba3f/attachment.htm>


More information about the MapServer-users mailing list