Hi, > the web app I am testing currently, seems to rely on GetMetadata to get > additional information about the layer...
When it comes to the metadata that Mapserver offers with GetMetadata, there is really nothing additional to what can be captured from WFS GetCapabilities and DescribeFeatureType. GetMetadata just writes the same pieces of metadata but formulated to match some parts of the huge ISOTC211/19115 schemas https://schemas.isotc211.org/19115/. Geoserver by default does not add any kind of metadata links but it has a metadata extension for that purpose https://docs.geoserver.org/main/en/user/extensions/metadata/index.html. Does it mean that your web app cannot work with Geoservers? Or could it be that the app tries to resolve metadata links if they exist, and the easiest fix would be not to get rid of the WMS things inside the metadata, but entirely get rid of the metadata links? -Jukka Rahkonen- ________________________________________ Lähettäjä: MapServer-users käyttäjän Stefan Gofferje via MapServer-users puolesta Lähetetty: Perjantai 9. toukokuuta 2025 12.04 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re: [MapServer-users] How do I get rid of the WMS option? 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/ _______________________________________________ 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