[Mapserver-users] Transparent GIF polygon fill pattern

Van Ulden, Joost jvanulde at nrcan.gc.ca
Thu Jan 2 14:55:27 EST 2003


Has anyone filled a polygon with a transparent GIF? I can get the GIF to
fill the polygon, but it's not transparent.  Here are some code snippets:

Symbol file:
 SYMBOL
  NAME 'plqv'
  TYPE PIXMAP
  IMAGE '../images/plqv.gif'
  TRANSPARENT 0
 END

Mapfile:
 CLASS
    EXPRESSION "PlQv"
    NAME "PlQv"
    BACKGROUNDCOLOR 204 179 255
    OUTLINECOLOR 102 102 102
    COLOR 204 179 255
    SYMBOL 'plqv'
    LABEL
      MINDISTANCE 200
      ANTIALIAS TRUE
      FONT "arial"
      TYPE truetype
      SIZE 7
    END     
  END

Regards,

============================================
Joost van Ulden
Programmer/Analyst
Natural Resources Canada / Ressources naturelles Canada
Geological Survey of Canada / Commission geologique du Canada
101 - 605 Robson Street / 101 - 605 rue Robson
Vancouver, B.C. / Vancouver (C.-B.)
V6B 5J3
Office/Bureau:  604.666.7525
fax/telecopieur: 604.666.1124
jvanulde at nrcan.gc.ca
============================================




More information about the mapserver-users mailing list