Hi Maksim,
  Several thoughts:

1) MapGuide Server's behaviour seems odd. The WMS spec is very clear: if
you ask for a style that doesn't exist then an exception *shall* be raised.
So filling in "default" seems odd as there is no guarantee that a "default"
will exist. Blank is the logical choice - the spec is clear:
"A client *may* request the default Style using a null value (as in
"STYLES=")."
So even though it's a "may" not a "shall", MapGuide Server seems to be
doing it wrong.

2) Can't you use the "SLD" parameter to point to a "default" SLD of your
own choosing?

3) I don't think a LayerGroup can have a single style, although for
scenarios like this I imagine it should be possible to, but then, how do
you create a single SLD that encompasses all of the different components?

Regards,

Jonathan


On 17 June 2013 16:25, Maksim Sestic <[email protected]> wrote:

> Is it possible to name LayerGroup's "global" style somehow? There are
> applications (e.g. MapGuide Server) that require style name, and if not
> explicitly specified they query for "default" (thus "style=default" in URL
> params). Once GeoServer receives a query for LayerGroup's style named
> "default" it throws "ERROR [geoserver.ows] -
> org.geoserver.platform.ServiceException: No such style: default" exception.
>
> With kindest regards,
> Maksim Sestic
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/LayerGroup-default-style-tp5060628.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to