[Mapserver-users] Transparent GIF polygon fill pattern
Steve Lime
steve.lime at dnr.state.mn.us
Thu Jan 2 12:20:02 PST 2003
If I recall correctly transparency for PIXMAP symbols is not controlled
by the TRANSPARENT flag but by the the transparency of the image itself.
Is '../images/plqv.gif' a transparent gif?
Steve
Stephen Lime
Data & Applications Manager
Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937
>>> "Van Ulden, Joost" <jvanulde at nrcan.gc.ca> 01/02/03 01:55PM >>>
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
============================================
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list