[CITE-Forum] OGC_Web Map Service (WMS)_1.3.0_r10 does not send mandatory SERVICE parameter

Marco Lechner - in medias res GmbH lechner at webgis.de
Tue Nov 4 14:51:22 EST 2014


Hi Sebastian and Luiz,

chapter 7.2.2 and 7.2.3.3 say SERVICE is mandatory for GetCapa REQUESTs.
(So the reference implementation is not strict)

But on GetMap (as this is clearly connected to WMS) SERVICE is not
Mandatory (as you refered to 7.3.2) - so QGIS Server is not OGC compliant!

Marco
...
> There is a  somehow "strange" thing about the WMS 1.3.0 which is
> important to know about: The service parameter is NOT mandatory for
> GetMap and GetFeatureInfo requests! (I was not thinking about that
> fact reading your first email, sorry)
>
> Please refer to 7.3.2 GetMap request overview of the WMS 1.3.0
> implementation specification.
>
> Following this, your WMS implementation is simply not complying to the
> specification.
>
> Best regards
>
> Sebastian
>
>
> Am 04.11.2014 um 15:52 schrieb Marco Lechner - in medias res GmbH:
> >>>
> >>> Hi Sebastian,
> >>>
> >>> 1. I created a QGIS Project using the testdata for OGC 1.3.0
> >>> cite:Autos, ... 2. Then I loged into
> >>> http://cite.opengeospatial.org/teamengine/ 3. Created a session
> >>> testing the WMS using OGC_Web Map Service (WMS)_1.3.0_r10 4. Run
> >>> the test
> >>>
> >>> -> when the test asks me "Does the image above depict a large
> >>> diamond that fills the frame?" I can not see the image. If i have a
> >>> look at the src="" of the <img>-Tag i see that the test request
> >>> used to fetch the image does not have the mandatory SERVICE
> >>> parameter set. Well, there might be WMS Servers that ignore that
> >>> and return an image anyway (using SERVICE=WMS as fallback), but
> >>> QGIS throws an exception (telling the user about the missing
> >>> mandatory parameter) the test suit should use URLs that are
> >>> correct.
> >>>
> >>> Or am I missing something here?
> >>>
> >>> Marco
> >>>
> >>>
> >>> Am 04.11.2014 um 15:07 schrieb Sebastian Goerke:
> >>>> Hi Marco,
> >>>
> >>>> for which testcase does this behaviour occur? There are/ were
> >>>> test cases where parameters are ommitted intentionally.
> >>>
> >>>> Best regards
> >>>
> >>>> Sebastian
> >>>
> >>>> Am 04.11.2014 um 12:36 schrieb Marco Lechner - in medias res
> >>>> GmbH:
> >>>>> When testing my WMS for OGC conformity using the testdataset, I
> >>>>> do not see the "large diamond". But the reason seems to be a
> >>>>> bug in the testengine:
> >>>
> >>>>> src does not send the mandatory SERVICE parameter: <img
> >>>>> border="1"
> >>>>>
> >>>
src="http://<myip>/cgi-bin/qgis_mapserv.fcgi?MAP=<mymapfile>&VERSION=1.3.0&REQUEST=GetMap&LAYERS=cite%3ABasicPolygons&STYLES=&CRS=CRS:84&BBOX=-1,-1,1,1&WIDTH=300&HEIGHT=300&FORMAT=image%2Fjpeg"
> >>>
> >>>
> >>>
> >>>> xmlns:tems="java:com.occamlab.te.web.MonitorServlet"
> >>>>> xmlns:tec="java:com.occamlab.te.TECore"
> >>>>>
> >>>
xmlns:functions="https://cite.opengeospatial.org/wms-1.3.0/src/ctl/functions.xml"
> >>>
> >>>
> >>>
> >>>> xmlns:gen="java:com.occamlab.te.Generator"
> >>>>>
> >>>
xmlns:interactive="https://cite.opengeospatial.org/wms-1.3.0/src/ctl/interactive.xml"
> >>>
> >>>
> >>>
> >>>> xmlns:ctl="http://www.occamlab.com/ctl"
> >>>>> xmlns:wms="http://www.opengis.net/wms"
> >>>>> xmlns:xs="http://www.w3.org/2001/XMLSchema"
> >>>>> xmlns:xlink="http://www.w3.org/1999/xlink"
> >>>>> xmlns:saxon="http://saxon.sf.net/"
> >>>>> xmlns:te="http://www.occamlab.com/te">
> >>>
> >>>>> I guess this is a bug in the r10 of WMS 1.3 testsuite in team
> >>>>> engine 4.0.5
> >>>
> >>>>> Marco
> >>>
> >>>
> >>>
> >>>>> _______________________________________________ CITE-Forum
> >>>>> mailing list CITE-Forum at lists.opengeospatial.org
> >>>>> https://lists.opengeospatial.org/mailman/listinfo/cite-forum
> >>>
> >>>
> >>>> _______________________________________________ CITE-Forum
> >>>> mailing list CITE-Forum at lists.opengeospatial.org
> >>>> https://lists.opengeospatial.org/mailman/listinfo/cite-forum
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________ CITE-Forum mailing
> >>> list CITE-Forum at lists.opengeospatial.org
> >>> https://lists.opengeospatial.org/mailman/listinfo/cite-forum
> >>>
>
>
> _______________________________________________
> CITE-Forum mailing list
> CITE-Forum at lists.opengeospatial.org
> https://lists.opengeospatial.org/mailman/listinfo/cite-forum


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/cite-forum/attachments/20141104/dae93d52/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x54BF2478.asc
Type: application/pgp-keys
Size: 5387 bytes
Desc: not available
URL: <http://lists.opengeospatial.org/pipermail/cite-forum/attachments/20141104/dae93d52/attachment.key>


More information about the CITE-Forum mailing list