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

Travis Kirstine traviskirstine at gmail.com
Thu Jul 6 05:14:30 PDT 2023


 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 <kathleen.hirst at bom.gov.au>
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
>
>
>
> <Layer>
>
> <Title>Radar</Title>
>
> <Layer>
>
> <Title>Australia</Title>
>
> <Layer queryable="1" opaque="0" cascaded="0">
>
> <Name>IDR00009</Name>
>
> <Title>Radar Offline | Australia</Title>
>
> <Abstract>Radar Offline | Australia</Abstract>
>
> <CRS>EPSG:4283</CRS>
>
>
>
>
>
> In the latest version 8.0.0, all the groups are queryable
>
>
>
> <Layer queryable="1">
>
> <Name>Radar</Name>
>
> <Title>Radar</Title>
>
> <Layer queryable="1">
>
> <Name>Australia</Name>
>
> <Title>Australia</Title>
>
> <Layer queryable="1" opaque="0" cascaded="0">
>
> <Name>IDR00009</Name>
>
> <Title>Radar Offline | Australia</Title>
>
> <Abstract>Radar Offline | Australia</Abstract>
>
> <CRS>EPSG:4283</CRS>
>
>
>
> 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 at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230706/ebe992ad/attachment-0001.htm>


More information about the MapServer-users mailing list