[MapServer-users] How do I get rid of the WMS option?
Kobben, Barend (UT-ITC)
b.j.kobben at utwente.nl
Thu May 8 03:54:11 PDT 2025
Ah, OK. So, this GetMetaData thingy shows a response from a Mapserver instance that, although its path is “demo.mapserver.org/cgi-bin/wfs?”, really offers a WFS as well as a WMS service. It indeed declares a GetMap WMS response, but using proper WMS outputs (JPEG, PNG) and not just GML as the email suggested. That makes more sense...
Does not answer the original question of why there is no GeoJSON output offered, and why it offers WMS whereas the person thinks he switched that off – but I am afraid I cannot help with that, sorry.
--
Barend Köbben
On 08/05/2025, 12:16, "Rahkonen Jukka" <jukka.rahkonen at maanmittauslaitos.fi> wrote:
Hi,
It will make more sense to you if you see the response. This is the MapServer demo-WFS
https://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetCapabilities
Try this and find also WMS references inside the document
https://demo.mapserver.org/cgi-bin/wfs?REQUEST=GetMetadata&layer=continents
-Jukka Rahkonen-
________________________________________
Lähettäjä: MapServer-users käyttäjän Kobben, Barend (UT-ITC) via MapServer-users puolesta
Lähetetty: Torstai 8. toukokuuta 2025 12.43
Vastaanottaja: Stefan Gofferje; mapserver-users at lists.osgeo.org
Aihe: Re: [MapServer-users] How do I get rid of the WMS option?
Did not know GetMetaData, it is not an OGC standard request I think. Also, you say it is “still offering WMS” and “only offers GML2 and GML3” – that is non-sensical, because GML is a vector data format, normally offered by a WFS service, not a valid WMS response format....? -- Barend Köbben On 07/05/2025, 15:27, "MapServer-users" <mapserver-users-bounces at lists.osgeo.org> wrote: Hi again,so I have configured a MapServer map without any WMS configuration but MapServer is still offering WMS in the reply to GetMetaData.s. https://ms.saakeskus.fi/?map=wfs&request=GetMetadata&layer=fmimeasurementsIt also only offers GML2 and GML3 although I have configured GeoJSON via an OUTPUTFORMAT block in the map file and it also works if I add OUTPUTFORMAT=geojson to the URL.Any hints on what's the problem?-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 listMapServer-users at lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20250508/68250c7c/attachment-0001.htm>
More information about the MapServer-users
mailing list