[MapServer-users] How do I get rid of the WMS option?
Stefan Gofferje
lists at home.gofferje.net
Fri May 9 02:04:26 PDT 2025
On 5/8/25 16:39, Seth G wrote:
> I don't think GetMetadata is specific to WMS, but is common to all the WxS services.
> It should have been possible to disable it using something like the following in METADATA, but after a quick look at the code it doesn't appear to be implemented:
>
> "ows_enable_request" "* !GetMetadata"
>
> MapServer only generates XML. If you want to use another format the following METADATA should work:
>
> "ows_metadataurl_href" "http://example.com/my.json"
>
> Maybe the following also disables it?
>
> "ows_metadataurl_href" "" # try a blank URL?
Jukka already suggested that I create my own metadata but that's going
to be an administration headache, once I leave the test phase and want
to have more layers.
I have also thought about disabling it, but IIRC, the web app I am
testing currently, seems to rely on GetMetadata to get additional
information about the layer...
The main question is, why does MapServer create a WMS reference if no
WMS services are configured? Nowhere in the map file is a single
reference to WMS... Triple checked...
-Stefan
--
(o_ Stefan Gofferje | SCLT, MCP, CCSA
//\ Reg'd Linux User #247167 | VCP #2263
V_/_ https://www.gofferje.net | https://www.saakeskus.fi
More information about the MapServer-users
mailing list