[mapserver-users] TRANSPARENCY PROBLEM
ntiamoah bernard
ntiamoah578 at yahoo.com
Mon Nov 17 08:00:43 PST 2008
Hi guys,
I need suggestions for the following problem:
I want to put transparency on polygon layer so that aerial photo could be seen below it. I have tried TRANSPARECY and OPACITY but i only get faded not transparent layer. My imagetype is PNG. Here is the mapfile
MAP
NAME 'School_boundary'
SIZE 800 650
STATUS ON
EXTENT 347683.125124 1652890.274125 458837.845673 1759026.124282
UNITS feet
FONTSET '../fonts/fonts.list'
SYMBOLSET '../symbols/symbol.sym'
OUTPUTFORMAT
NAME 'png'
DRIVER GD/PNG
IMAGEMODE RGBA
EXTENSION "png"
FORMATOPTION "FULL_RESOLUTION=TRUE"
FORMATOPTION "INTERLACE=OFF"
TRANSPARENT ON
END #end outputformat
#IMAGETYPE PNG
QUERYMAP
STATUS ON
STYLE SELECTED
END
WEB
IMAGEURL "/ms4w/tmp/ms_tmp/"
IMAGEPATH "/ms4w/tmp/ms_tmp/"
END
LEGEND
STATUS ON
END
LAYER
NAME 'School_district'
TYPE POLYGON
DATA '/ms4w/apps/GeoMOOSE/maps_countydemo/social_service/school_boundaries.shp'
METADATA
'wms_title' 'school_boundary'
END
STATUS DEFAULT
TRANSPARENCY 20
#MAXSCALE 2000000
LABELITEM 'NAME'
CLASS
NAME 'esn_boundary'
STYLE
SYMBOL 0
SIZE 2
OUTLINECOLOR 0 255 170
COLOR 224 255 255
END
LABEL
TYPE TRUETYPE
FONT arial
SIZE 8
COLOR 233 122 100
ANGLE 0
POSITION CC
MINDISTANCE 250
BUFFER 1
WRAP " "
END
END
END
END
Thanks
John
Indiana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081117/604815e6/attachment.htm>
More information about the MapServer-users
mailing list