[mapserver-users] binding color of polygons to a specific field in MSSQL Server 2008
Tamas Szekeres
szekerest at gmail.com
Thu Feb 25 08:13:00 PST 2010
This feature is not data source specific, so I suspect it would work with
the MSSQL2008 driver as well.
Best regards,
Tamas
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
> 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100225/a777bd96/attachment.htm>
More information about the MapServer-users
mailing list