antialiasing line features..

Jeff de La Beaujardiere jeff2005 at SVS.GSFC.NASA.GOV
Fri Oct 21 10:08:24 EDT 2005


Ivan Price wrote:
> you are having more luck than me.. I am using the following and getting 
> a non-antialiased line still. Perhaps antialiasing has been removed from 
> the cartoline's capabilities in later versions ?

This is what works for me:

   SYMBOL
     NAME "cartoline"
     TYPE cartoline
     LINECAP butt
     LINEJOIN miter
     LINEJOINMAXSIZE 1
   END
   LAYER
     NAME "countries"
     TYPE LINE
     STATUS on
     PROJECTION
       "init=epsg:4326"
     END
     DATA "........../wms/data/borders/cntry02.shp"
     METADATA
       "wms_title" "National Boundaries"
       "wms_layer_group" "/Reference"
     END
     CLASS
        NAME "BORDERS"
        STYLE
          COLOR 200 200 200
          SYMBOL "cartoline"
          ANTIALIAS TRUE
          SIZE 1
        END
     END
   END

Try comparing speeds with TRUE and FALSE in the above
with a dataset that has many line segments.



More information about the mapserver-users mailing list