This feature is not data source specific, so I suspect it would work with the MSSQL2008 driver as well.<br><br>Best regards,<br><br>Tamas<br><br><br><div class="gmail_quote">2010/2/25 Kiks <span dir="ltr">&lt;<a href="mailto:enrico.oemi@gmail.com">enrico.oemi@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
I have a table in MS SQL Server 2008 with many spatial records. They are<br>
correctly visualized with a WMS call.<br>
I woundered if it is possible for every polygon of that table to read the<br>
fill color from a specific field of the same table, just like you can do<br>
this with shape files as I read from the doc:<br>
<br>
...&quot;[Attribute] was introduced in version 5.0, to specify the item name in<br>
the attribute table to use for color values. The hard brackets [] are<br>
required. For example, if your shapefile‘s DBF has a field named “MYCOLOR”<br>
that holds color values for each record, your STYLE object for might<br>
contain:<br>
<br>
STYLE<br>
  COLOR [MYCOLOR]<br>
  OUTLINECOLOR 150 150 150<br>
END&quot; ...<br>
<br>
thanks to everybody,<br>
Kiks<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/binding-color-of-polygons-to-a-specific-field-in-MSSQL-Server-2008-tp4633357p4633357.html" target="_blank">http://n2.nabble.com/binding-color-of-polygons-to-a-specific-field-in-MSSQL-Server-2008-tp4633357p4633357.html</a><br>

Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</font></blockquote></div><br>