Hello I have another question about the labels of the legend.

I haven't the same legend if I use
 TRANSPARENT TRUE or not in the OUTPUTFORMAT block.

It seems that the antialising option doesn't work for the legend with Transparent Option. And I want to use transparency for the general map to stack some maps from Mapserver in a document.

Here is my Outputformat:
 OUTPUTFORMAT
    NAME "png"
    MIMETYPE "image/png"
    DRIVER "GD/PNG"
    EXTENSION "png"
    IMAGEMODE "RGBA"
    TRANSPARENT FALSE
    FORMATOPTION "INTERLACE=OFF"
  END


and my legend block :
 LEGEND
    IMAGECOLOR 255 255 255
    KEYSIZE 20 10
    KEYSPACING 5 2
    LABEL
      ANGLE 0.000000
      ANTIALIAS TRUE
      FONT "Vera-sans"
      MAXSIZE 10
      MINSIZE 10
      SIZE 10
      TYPE TRUETYPE
      BUFFER 0
      COLOR 0 0 0
      FORCE FALSE
      MINDISTANCE -1
      MINFEATURESIZE -1
      OFFSET 0 0
      PARTIALS TRUE
      POSITION AUTO
    END
    OUTLINECOLOR 0 0 0
    POSITION AUTO
    STATUS ON
  END

You can see an example enclosed in the mail.

Thanks again

--
Sylvain Perrinel
Ministère de l'Agriculture
SG/SM/SDSI/CERIT
Département d'Information Géographique
B.P. 12668 - 31326 Castanet-Tolosan Cedex
Tel : 05 61 28 92 76
Web: http://sigsiti.national.agri
     http://bdnt.national.agri
     http://georepertoire.national.agri
     http://sig.geoweb.auzeville.agri

<<inline: 47e139e9_6041_8.png>>

<<inline: 47e12269_706c_a.png>>

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to