<div dir="ltr">I have a vector layer which is a table in my postgres database and I want the MapServer to draw the outlines and also fill in the background with a slighly lighter color. I get all the details of the outlines to come out however the background is completely transparent. Does anyone know how to do this?<br>
<br>Here is the layer in my Mapfile:<br><br>&nbsp;LAYER<br>&nbsp; # name of layer<br>&nbsp; NAME &quot;namespace:layer&quot;<br>&nbsp; GROUP &quot;Group&quot;<br><br>&nbsp; # what type of data is this?<br>&nbsp; TYPE POLYGON<br><br>&nbsp; # always returned with interface<br>
&nbsp; STATUS ON<br>&nbsp; <br>&nbsp; #TRANSPARENCY 100<br><br>&nbsp; CONNECTIONTYPE postgis<br><br>&nbsp; CONNECTION &quot;user=user dbname=db host=localhost port=5432 password=pass&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp; DATA &quot;the_geom from layer&quot;<br>
&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SIZE 20<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; OUTLINECOLOR 255 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #COLOR 255 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; #WIDTH 10<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; STYLE&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SIZE 20<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; BACKGROUNDCOLOR 0 0 255<br>&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp; END<br>&nbsp;END<br><br>THANKS!<br></div>