[mapserver-users] WMS GetStyles and class group

Yewondwossen Assefa yassefa at dmsolutions.ca
Tue Apr 21 21:39:16 EDT 2009


Hi Liz,

  From your description, this seems to be a bug.
Yes, please enter a bug on it and assign it to me and I will add a fix 
to it for the next release.

Thanks.

Best Regards.

Liz Godwin wrote:
> 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.
> 





-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



More information about the mapserver-users mailing list