-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get all styles of a layer? #74
Comments
@itati01 it's a mistake, the right method should be |
@eblondel That was quick! Thanks a lot. By the way, is it possible to obtain attributes of the styles (e.g. title, long name)? |
yes i can extend it, and replace the current method by 'getStylenames', i do a commit soon... |
@itati01 here it goes. Now you have |
Thanks a lot. Both WMSLayer methods work. A small issue: the first two names returned by |
If you can send me the WMS you are trying to query. I suppose that the default style is listed as additional available style for the same layer you are looking at, it means that the style is referenced more than once in the WMS GetCapabilities. I've tested it over various WMS and it works fine. |
I checked the Capabilities of the WMS server and found indeed two entries in the XML. So, the issue could be closed. |
Hi,
I just started to play with ows4r, so I hope that I do not miss anything obvious. The goal is to get all styles belonging to a layer. I currently can get just one style:
Would it be possible to extend
getStyle
to get more/all styles (or with a newgetStyles
method)? Thanks!The text was updated successfully, but these errors were encountered: