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.rahko...@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@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-boun...@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@lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to