[mapserver-users] wms_style_xxx_legendurl_href

Jörg Thomsen jt at mapmedia.de
Wed Mar 16 03:53:52 PDT 2011


Hi,

o.k., it was not the best moment to ask my question, because at the same 
time the mapserver beta 6 was announced ;)

so here a 'repost', it would be nice if anyone could give me a hint:

> Hi,
>
> I'm using the wms_style-parameters in the layer metadata section to tell
> the client to use a special legend-url:
> 'wms_style' 'Farbwerte'
> 'wms_style_Farbwerte_legendurl_height' '218'
> 'wms_style_Farbwerte_legendurl_href' 'http://xxx/html/test/gimp.png'
> 'wms_style_Farbwerte_legendurl_format' 'png'
> 'wms_style_Farbwerte_legendurl_width' '300'
>
> This works fine with only one style. But what do I have to do, if I have
> defined different styles / classgroups? one should use a pre-defined image,
 > the other ones should be generated by mapserver.
> When defining
> 'wms_style' 'Farbwerte'
> the capabilities only shows this style, even if there are more styles
> (classgroups) defined.
>
> Any idea?
>
> Jörg



More information about the MapServer-users mailing list