transparent hatch
Richard Greenwood
richard.greenwood at GMAIL.COM
Thu Aug 4 14:40:39 PDT 2005
Since Mapserver 4.4, when I want to output jpegs, if I want a simple
vector hatch to be transparent (for underlying layer to show thru) I
have to set IMAGEMODE PC256:
OUTPUTFORMAT
NAME jpeg
DRIVER "GD/JPEG"
MIMETYPE "image/jpeg"
IMAGEMODE PC256
EXTENSION "jpg"
END
If I use IMAGEMODE RGB, the space between the vector lines is opaque white.
My symbol definition:
Symbol
NAME 'Diag_NE_SW'
TYPE VECTOR
POINTS
0 1
1 0
END
END
And my class definition:
CLASS
NAME "FEMA 500 Year Flood Zone SHX"
EXPRESSION 'SHX'
STYLE
COLOR 112 186 248
OUTLINECOLOR 0 0 255
SYMBOL 'Diag_NE_SW'
SIZE 20
END
END
Am I overlooking anything? I would prefer to use IMAGEMODE RGB.
Thanks,
Rich
--
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com
More information about the MapServer-users
mailing list