[mapserver-users] WMS GetStyles and class group

Liz Godwin godwin.liz at gmail.com
Tue Apr 21 17:53:44 EDT 2009


Hi all,

I am using MapServer 5.2.0

I have a WMS set up with various named styles for a particular layer using
the CLASS/GROUP syntax.  I've noticed that in the capabilities document, I
get expected output of all the possible styles (multiple < Style > elements)
including name for reference so I can refer to it later.

However, when I do a GetStyles on this layer, I get but a single UserStyle
with all of the different Rules (classes) listed.  Each Rule has a name, but
this is the CLASS->NAME value, and not the CLASS->GROUP reference.

I read through various bugs on the subject of this enhancement, and whatever
else i saw that was relevant, but I couldn't figure out if this is a bug, or
expected behaviour.  I was expecting something more in line with what was in
the RFC [http://mapserver.org/development/rfc/ms-rfc-39.html] - having a
named layer with multiple NamedStyles.  Or something at least where the
reference to the style would be referenced.

This isn't urgent for me, but I was curious as to whether I should report a
bug on this.

Cheers,

Liz Eidsness
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090421/5586a756/attachment.html


More information about the mapserver-users mailing list