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

Kathleen Hirst kathleen.hirst at bom.gov.au
Wed Jul 5 22:29:18 PDT 2023


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













-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230706/bfd2354f/attachment.htm>


More information about the MapServer-users mailing list