[mapserver-users] Getting a vector layer to "fill in" via PostGIS connection
Robert Hicks
robhyx at gmail.com
Fri Aug 1 07:00:01 PDT 2008
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?
Here is the layer in my Mapfile:
LAYER
# name of layer
NAME "namespace:layer"
GROUP "Group"
# what type of data is this?
TYPE POLYGON
# always returned with interface
STATUS ON
#TRANSPARENCY 100
CONNECTIONTYPE postgis
CONNECTION "user=user dbname=db host=localhost port=5432
password=pass"
DATA "the_geom from layer"
CLASS
STYLE
SIZE 20
OUTLINECOLOR 255 0 0
#COLOR 255 0 0
#WIDTH 10
END
STYLE
SIZE 20
BACKGROUNDCOLOR 0 0 255
END
END
END
THANKS!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080801/4408fc25/attachment.htm>
More information about the MapServer-users
mailing list