[mapserver-users] wms_enable_request header vs. layer

Jörg Thomsen (WhereGroup) joerg.thomsen at wheregroup.com
Wed Dec 6 04:41:36 PST 2017


Hi,

I need an explanation for ows_enable_request.

There are two mapfiles, brw_enable_header.map and brw_enable_layer.map
The only difference is, that in
brw_enable_header.map I have enabled all ows requests within the
metadata-section in the header and in each layer.

In brw_enable_layer.map I only have enabled all requests in the
layer-section, but not in the header.

Both WMS allow the capability-request and in brw_enable_layer.map the
information for the wms-request is missing:
https://www.diffchecker.com/KjsX2Wbk

OK. The brw_enable_layer.map (with no ows_enable_reqeust in the header)
allows GetMap-Requests:
http://h2743629.stratoserver.net/cgi-bin/mapserv?map=/data/ows/map/brw_enable_layer.map&&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=48.60086340827337636,9.02229999999999954,48.65160000000000196,9.0733134442446044&CRS=EPSG:4326&WIDTH=426&HEIGHT=422&LAYERS=bodenrichtwertzone&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96&TRANSPARENT=TRUE

I think this is technically correct, but as the capabilities don't
provide any information for the getMap-Request (no online-ressource, no
image-formats), a client does not know this parameters. In the result I
cannot load the WMS into a mabpender-application.
I wonder why (and I am surprised) QGIS doesn't have any problems with
this wms.

Is this how it shall be? Is MapServer working correct or Mapbender? Or
both, but ...?

Regards, Jörg

-- 

***********************************
Where2B Konferenz 2017
14. Dezember 2017 in Bonn
www.where2b-conference.com
***********************************



More information about the mapserver-users mailing list