Re: [MapServer-users] Suppress queryable=1 for wms_layer_group [SEC=OFFICIAL]

2023-07-06 Thread Rahkonen Jukka
Hi,

Do you use the same mapfile? There is a difference in GetCapabilities


Radar
Radar

If layer has just a title but no name it is not queryable, nor does it support 
GetMaps. This applies to group layers as well. But it may be that since version 
7.2 it is not possible to configure a WMS group without a name 
https://mapserver.org/ogc/wms_server.html.

-Jukka Rahkonen-




Lähettäjä: MapServer-users  Puolesta 
Kathleen Hirst
Lähetetty: torstai 6. heinäkuuta 2023 8.29
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [MapServer-users] Suppress queryable=1 for wms_layer_group [SEC=OFFICIAL]

Hi,

In the previous version of Mapserver when using wms_layer_group, the groups 
were not queryable in the GetCapabilities. In following examples, the 
configuration is

LAYER>METADATA> OWS_LAYER_GROUP "/Radar/Australia"


Version 6.4.2


Radar

Australia

IDR9
Radar Offline | Australia
Radar Offline | Australia
EPSG:4283


In the latest version 8.0.0, all the groups are queryable


Radar
Radar

Australia
Australia

IDR9
Radar Offline | Australia
Radar Offline | Australia
EPSG:4283

Is there a way to not have the group queryable, as it is causing issues with 
some web applications eg picking up the wrong layer within a group or listing 
the group as well as the layer

Thanks

Kathleen













___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [MapServer-users] Suppress queryable=1 for wms_layer_group [SEC=OFFICIAL]

2023-07-06 Thread Travis Kirstine
 Hi Kathleen,

I haven't experimented with GROUPed layers but have you looked at
*wms_enable_request* (or *ows_enable_request*) defined in the METADATA
section of the layer

"wms_enable_request" "* !GetFeatureInfo"

See docs: https://mapserver.org/ogc/wms_server.html#web-object-metadata

Regards

On Thu, 6 Jul 2023 at 01:36, Kathleen Hirst 
wrote:

> Hi,
>
>
>
> In the previous version of Mapserver when using wms_layer_group, the
> groups were not queryable in the GetCapabilities. In following examples,
> the configuration is
>
>
>
> LAYER>METADATA> OWS_LAYER_GROUP "/Radar/Australia"
>
>
>
>
>
> Version 6.4.2
>
>
>
> 
>
> Radar
>
> 
>
> Australia
>
> 
>
> IDR9
>
> Radar Offline | Australia
>
> Radar Offline | Australia
>
> EPSG:4283
>
>
>
>
>
> In the latest version 8.0.0, all the groups are queryable
>
>
>
> 
>
> Radar
>
> Radar
>
> 
>
> Australia
>
> Australia
>
> 
>
> IDR9
>
> Radar Offline | Australia
>
> Radar Offline | Australia
>
> EPSG:4283
>
>
>
> Is there a way to not have the group queryable, as it is causing issues
> with some web applications eg picking up the wrong layer within a group or
> listing the group as well as the layer
>
>
>
> Thanks
>
>
>
> Kathleen
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ___
> MapServer-users mailing list
> MapServer-users@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users