[mapserver-users] binding color of polygons to a specific field
in MSSQL Server 2008
szekerest at gmail.com
Thu Feb 25 11:13:00 EST 2010
This feature is not data source specific, so I suspect it would work with
the MSSQL2008 driver as well.
2010/2/25 Kiks <enrico.oemi at gmail.com>
> 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
> COLOR [MYCOLOR]
> OUTLINECOLOR 150 150 150
> END" ...
> thanks to everybody,
> View this message in context:
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mapserver-users