No anti-aliasing for cartoline symbol?

James Sohr jms4 at PO.CWRU.EDU
Fri Apr 1 07:11:11 PST 2005


Like so many others, I've used the circle symbol with various  sizes to
draw my lines for the past few years.  The results have been pretty good,
but the aliasing on the roads has always bothered me, especially when the
true-type labels are beautfully anti-aliased right beside them.


I recently read in the archives that the relatively new cartoline symbol
supports anti-aliasing.  However, when I use the cartoline symbol and turn
antialiasing on, the lines drawn are still aliased.



I'm using Mapserver 4.5 on Windows XP with the latest GD library.  Is
there something in my setup that is preventing the cartoline from being
anti-aliased?  Does someone have an online example that shows the
cartoline symbol being anti-aliased?

The pertinent sections in my symbols file are:

      SYMBOL
       NAME 'road'
       TYPE CARTOLINE
       ANTIALIAS TRUE
      END

      SYMBOL
        NAME 'roadov'
        TYPE CARTOLINE
        ANTIALIAS TRUE
      END


And in my mapfile:

        CLASS

            STYLE
              SYMBOL 'road'
              SIZE 5
              COLOR 255 0 0
              ANTIALIAS TRUE
           END

           STYLE
              SYMBOL 'roadov'
              SIZE 3
              COLOR 255 255 255
              ANTIALIAS TRUE
           END
      ....



Any help is appreciated.

Thanks,
  James



More information about the MapServer-users mailing list