I'm trying a few examples from the "gs-main" demo servers, groups in single
mode, but I don't see the problem, using the legend graphics link
found in the capabilities, e.g.:

Global group:
https://gs-main.geosolutionsgroup.com/geoserver/ows?service=WMS&version=1.3.0&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=tiger-ny

Workspace specific one, using both global and workspace specific service:
https://gs-main.geosolutionsgroup.com/geoserver/ows?service=WMS&version=1.3.0&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=oszoom%3Azoomstack-deuteranopia
https://gs-main.geosolutionsgroup.com/geoserver/oszoom/ows?service=WMS&version=1.3.0&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=zoomstack-deuteranopia

Miguel, can you work out which specific settings/situation makes the bug
happen in your case?
Does not seem a general problem

Cheers
Andrea


On Wed, Sep 27, 2023 at 6:38 PM Jody Garnett <jody.garn...@gmail.com> wrote:

> Did you check if the bug had been reported yet?
>
> On Wed, Sep 27, 2023 at 1:23 AM Miguel Ángel Parrilla Godínez via
> Geoserver-users <geoserver-users@lists.sourceforge.net> wrote:
>
>>
>>
>> Responding to your second sentence: A grouplayer as a ‘single’ mode,
>> GetMap request is working ok but GetLegendGraphic is failing.
>>
>> Here is the snapshot:
>>
>> Thanks Jody.
>>
>>
>> ------------------------------
>>
>> *From:* Miguel Ángel Parrilla Godínez
>> *Sent:* Tuesday, September 26, 2023 7:59:42 AM
>> *To:* Pedro Mendive Lerendegui
>> *Subject:* RV: [Externo] [Geoserver-users] GetLegendGraphic issue
>> working with layer group style.
>>
>>
>>
>> Esto me han dicho.
>>
>> *De:* Jody Garnett <jody.garn...@gmail.com>
>> *Enviado el:* lunes, 25 de septiembre de 2023 16:28
>> *Para:* Miguel Ángel Parrilla Godínez <maparri...@itracasa.es>
>> *CC:* geoserver-users@lists.sourceforge.net
>> *Asunto:* Re: [Externo] [Geoserver-users] GetLegendGraphic issue working
>> with layer group style.
>>
>>
>>
>> You should check if that has been reported as a bug? I cannot quite tell
>> if you are seeking is a feature request; or have indeed found a bug.
>>
>>
>>
>> Layer group is very simple / unrolling the list of layers in order as
>> part of any GetMap or GetLegendGraphic request.
>>
>>
>>
>> Jody
>>
>>
>>
>> On Mon, Sep 25, 2023 at 7:21 AM Miguel Ángel Parrilla Godínez via
>> Geoserver-users <geoserver-users@lists.sourceforge.net> wrote:
>>
>> Hello
>>
>> Is there a way in Geoserver version 2.23.1 to obtain the legend
>> (GetLegendGraphic) of a grouplayer of type 'single'? Adding it as 'layer
>> group style'
>>
>> Right now we have two layers in a single group, since we do not want the
>> layers to be displayed individually. And we have created a group style with
>> the legend of the two layers. In preview (Getmap) it works, but in the
>> GetLegendGraphic request it gives an error: 'Not Such sytle'. Consuming the
>> service from Qgis the legend is also not visible from the table of contents.
>>
>> Is there any way in the aforementioned version of geoserver to be able to
>> do what we want?
>>
>>
>>
>> Many thanks.
>>
>> Miguel Ángel.
>>
>>
>>
>>
>> ------------------------------
>>
>>
>> AVISO LEGAL: Este correo y en su caso su(s) archivo(s) adjunto(s),
>> proceden de TRACASA INSTRUMENTAL, S.L. y se dirige exclusivamente a su
>> destinatario, puede contener información privada o confidencial amparada
>> por el secreto de empresa, y a la que sólo tiene el derecho de acceder el
>> destinatario. Si no es Vd. el destinatario indicado, o la persona
>> responsable de su entrega al mismo, deberá abstenerse de examinar su
>> contenido y queda notificado de que la utilización, divulgación y/o copia
>> sin autorización está prohibida en virtud de la legislación vigente. Si ha
>> recibido este mensaje por error, le rogamos que nos lo comunique
>> inmediatamente mediante correo electrónico a esta misma dirección, y
>> proceda a su destrucción segura. TRACASA INSTRUMENTAL, S.L. es el
>> responsable de tratamiento de los datos de carácter personal facilitados
>> que se utilizarán con la finalidad de mantener comunicaciones con usted.
>> Tiene la posibilidad de ejercitar los derechos de acceso, rectificación,
>> limitación del tratamiento, supresión y portabilidad, mediante solicitud
>> dirigida por escrito, acreditando su identidad a la dirección electrónica
>> d...@itracasa.es. Puede consultar información adicional y detallada sobre
>> nuestra política de protección de datos de nuestra web www.itracasa.es.
>>
>> ------------------------------
>>
>> AVISO LEGAL: Este correo y en su caso su(s) archivo(s) adjunto(s),
>> proceden de TRACASA INSTRUMENTAL, S.L. y se dirige exclusivamente a su
>> destinatario, puede contener información privada o confidencial amparada
>> por el secreto de empresa, y a la que sólo tiene el derecho de acceder el
>> destinatario. Si no es Vd. el destinatario indicado, o la persona
>> responsable de su entrega al mismo, deberá abstenerse de examinar su
>> contenido y queda notificado de que la utilización, divulgación y/o copia
>> sin autorización está prohibida en virtud de la legislación vigente. Si ha
>> recibido este mensaje por error, le rogamos que nos lo comunique
>> inmediatamente mediante correo electrónico a esta misma dirección, y
>> proceda a su destrucción segura. TRACASA INSTRUMENTAL, S.L. es el
>> responsable de tratamiento de los datos de carácter personal facilitados
>> que se utilizarán con la finalidad de mantener comunicaciones con usted.
>> Tiene la posibilidad de ejercitar los derechos de acceso, rectificación,
>> limitación del tratamiento, supresión y portabilidad, mediante solicitud
>> dirigida por escrito, acreditando su identidad a la dirección electrónica
>> d...@itracasa.es. Puede consultar información adicional y detallada sobre
>> nuestra política de protección de datos de nuestra web www.itracasa.es.
>> _______________________________________________
>> Geoserver-users mailing list
>>
>> Please make sure you read the following two resources before posting to
>> this list:
>> - Earning your support instead of buying it, but Ian Turton:
>> http://www.ianturton.com/talks/foss4g.html#/
>> - The GeoServer user list posting guidelines:
>> http://geoserver.org/comm/userlist-guidelines.html
>>
>> If you want to request a feature or an improvement, also see this:
>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 

Regards,

Andrea Aime

==
GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions Group
phone: +39 0584 962313

fax:     +39 0584 1660272

mob:   +39  339 8844549

https://www.geosolutionsgroup.com/

http://twitter.com/geosolutions_it

-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to