line, cartoline antialiasing

Volkan Ulukut vulukut at TESCILTURK.COM
Thu Aug 17 02:59:16 EDT 2006


Hi List,
I've read about the antialiasing feature for lines but can't seem to work it
on my mapserver. When I add "antialiasing true" parameter on the style of
the class of line layer nothing changes it's still having bad sight as seen
on the attachment
Here is the relevant part of the map file. I've tested with cartoline symbol
and plain line without any symbol, same result

IMAGETYPE png
SYMBOL
  NAME "cartoline"
  TYPE cartoline
  FILLED TRUE
  LINECAP round #[butt|round|square|triangle]
  LINEJOIN round #[round|miter|bevel]
  LINEJOINMAXSIZE 3
END
LAYER
    NAME "Antalya"
    STATUS ON
    TYPE LINE
    CONNECTIONTYPE OGR  
    CONNECTION "antalya.ovf"
    LABELITEM "adi"
    GROUP "gantalya"
    DATA "antalya"
	  LABELMAXSCALE 15000
    MINSCALE 500
  MAXSCALE 25000
   METADATA
     "queryable" "true"
     "searchfield" "adi" 
   END
     CLASS
	  STYLE
        #SYMBOL 'cartoline'
        COLOR 120 120 120
        OUTLINECOLOR 254 254 254
        WIDTH 7
        MINSIZE 1
        MAXSIZE 100
	  ANTIALIAS TRUE
        END
     LABEL
        TYPE TRUETYPE
        FONT "fritqat"
        SIZE 7
        MINSIZE 4
        MAXSIZE 256
        POSITION AUTO
        OFFSET 0 0 
        ANGLE AUTO
        BUFFER 0
        MINDISTANCE -1
        MINFEATURESIZE -1
        COLOR 0 0 0
        OUTLINECOLOR 254 254 254
        ANTIALIAS TRUE
        PARTIALS FALSE
        FORCE FALSE
	  ENCODING "ISO-8859-9"
      END
   END
END
-------------- next part --------------
A non-text attachment was scrubbed...
Name: carto.JPG
Type: image/jpeg
Size: 3633 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060817/fe8e20fb/carto.jpe


More information about the mapserver-users mailing list