[mapserver-users] binding color of polygons to a specific field in MSSQL Server 2008

Kiks enrico.oemi at gmail.com
Thu Feb 25 11:06:42 EST 2010

I have a table in MS SQL Server 2008 with many spatial records. They are
correctly visualized with a WMS call.
I woundered if it is possible for every polygon of that table to read the
fill color from a specific field of the same table, just like you can do
this with shape files as I read from the doc:

..."[Attribute] was introduced in version 5.0, to specify the item name in
the attribute table to use for color values. The hard brackets [] are
required. For example, if your shapefile‘s DBF has a field named “MYCOLOR”
that holds color values for each record, your STYLE object for might

  OUTLINECOLOR 150 150 150
END" ...

thanks to everybody,
View this message in context: http://n2.nabble.com/binding-color-of-polygons-to-a-specific-field-in-MSSQL-Server-2008-tp4633357p4633357.html
Sent from the Mapserver - User mailing list archive at Nabble.com.

More information about the mapserver-users mailing list