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
contain:

STYLE
  COLOR [MYCOLOR]
  OUTLINECOLOR 150 150 150
END" ...

thanks to everybody,
Kiks
-- 
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.
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to