[mapserver-users] Obtaining the color of a layer

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Tue Jun 22 11:33:29 PDT 2010


Hi,

Could WMS GetStyles suit you?  Usage example:

http://localhost/cgi-bin/mapserv.exe?map=c:\ms4w\osm-mapserver.map&service=wms&version=1.1.0&request=getstyles&layers=roadsfar_01

-Jukka Rahkonen-

daniel.smith1 wrote:
 

> This is probably very basic.  I have done some research but can't find a
clear cut solution.  I'm currently using Mapserver and an OpenLayers-based
map viewer.  I am adding a color code to each entry in a list of layers.  I
need to obtain the color of the layer.  I know I can change the color of the
layer using OpenLayers styling but I don't know how to get the original
color.  Any suggestions?



More information about the MapServer-users mailing list