[MAPSERVER-USERS] Getting a vector layer to "fill in" via
susanne.kalliany at tefis.at
Fri Aug 1 15:13:31 EDT 2008
"I would remove comment of #color 255 0 0 and do like this:
CONNECTION "user=user dbname=db host=localhost port=5432 password=pass"
DATA "the_geom from layer"
OUTLINECOLOR 255 0 0
COLOR 255 0 0
END # style
END # class
Color 255 0 0 is bright red; if you want to have ligther color you have to
increase both other colors
e.g. 255 100 100 or 255 150 150.
I hope I could help, Susanne Kalliany"
> 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
> Here is the layer in my Mapfile:
> # 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
> DATA "the_geom from layer"
> SIZE 20
> OUTLINECOLOR 255 0 0
> #COLOR 255 0 0
> #WIDTH 10
> SIZE 20
> BACKGROUNDCOLOR 0 0 255
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
View this message in context: http://www.nabble.com/Getting-a-vector-layer-to-%22fill-in%22-via-PostGIS-connection-tp18774936p18780951.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the mapserver-users