[MapServer-dev] Testing WMS with Teamengine
Jeff McKenna
jmckenna at gatewaygeomatics.com
Wed Oct 18 05:09:56 PDT 2023
Hi Jukka,
I will add a new service for "WMS CITE service" on demo.mapserver.org
Thanks for this nudge.
No disagreement here, especially as I pay yearly to be an OGC industry
member, so it makes sense for GatewayGeo to put time into
demo.mapserver.org to get that setup for the CITE tests.
-jeff
On 2023-10-18 7:56 a.m., Rahkonen Jukka via MapServer-dev wrote:
> Hi,
>
> I first run the test but now I have also read part of the documentation.
> There may be other errors if the test server is configured properly. For
> getting a certificate it is mandatory to set up a service that contains
> layers from the shapefiles of the standard dataset
> https://cite.opengeospatial.org/teamengine/about/wms13/1.3.0/site/
> <https://cite.opengeospatial.org/teamengine/about/wms13/1.3.0/site/>
>
> The first step could be to add a new demo service “WMS CITE service”
> into https://demo.mapserver.org/ <https://demo.mapserver.org/>. And I
> think that the CITE mapfile should be maintained somewhere in GitHub
> https://github.com/MapServer/MapServer
> <https://github.com/MapServer/MapServer>. Maybe a copy of CITE vectors
> could be there as well because it is a very small dataset. Unfortunately
> there in not any kind of license file included in the zipfile that I
> just downloaded. That way it should be rather easy to run CITE tests
> also with locally installed Teamengine, maybe even automatically and
> integrated with CI process. Some public online service is needed anyway
> for the certificate and demo.mapserver.org feels good for that purpose.
> The one who maintains the service may disagree, though.
>
> -Jukka-
>
> *Lähettäjä:* Seth G <sethg at geographika.co.uk>
> *Lähetetty:* keskiviikko 18. lokakuuta 2023 13.23
> *Vastaanottaja:* Rahkonen Jukka <jukka.rahkonen at maanmittauslaitos.fi>;
> MapServer Devs <mapserver-dev at lists.osgeo.org>
> *Aihe:* Re: [MapServer-dev] Testing WMS with Teamengine
>
> Hi,
>
> Are they the only 2 issues to meet compliancy for WMS 1.3.0?
>
> The first seems an easy fix - simply changing the error code (I presume
> the message is ok?).
>
> No idea for the second though. image/vnd.jpeg-png is supported by
> GeoServer and MapProxy which I presume work the same way? Seems more
> like an issue for OGC, but as you write it may be easiest to remove the
> format from the test server.
>
> Seth
>
> --
>
> web:https://geographika.net <https://geographika.net/> &
> https://mapserverstudio.net <https://mapserverstudio.net/>
>
> twitter: @geographika
>
> On Wed, Oct 18, 2023, at 10:08 AM, Rahkonen Jukka via MapServer-dev wrote:
>
> Hi,
>
> I tested if MapServer could get an OGC WMS 1.3.0 certificate. At
> least one failure seems relevant. I used
> https://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities <https://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities> for testing and this GetFeatureInfo test fails: Assertion: When GetFeatureInfo is requested on a Layer that is not queryable, then the server issues a Service Exception (code=LayerNotQueryable).
>
> Mapserver gives this error instead: msWMSFeatureInfo(): WMS server
> error. Layer(s) specified in QUERY_LAYERS parameter is not offered
> by the service instance.
>
> Test query:
> https://demo.mapserver.org/cgi-bin/wms?FoRmAt=image%2Fpng&InFo_fOrMaT=text%2Fhtml&CrS=EPSG%3A4326&I=50&HeIgHt=100&J=50&ReQuEsT=GetFeatureInfo&StYlEs=&QuErY_LaYeRs=bluemarble&VeRsIoN=1.3.0&LaYeRs=bluemarble&BbOx=-90.000000,-180.000000,90.000000,180.000000&WiDtH=100 <https://demo.mapserver.org/cgi-bin/wms?FoRmAt=image%2Fpng&InFo_fOrMaT=text%2Fhtml&CrS=EPSG%3A4326&I=50&HeIgHt=100&J=50&ReQuEsT=GetFeatureInfo&StYlEs=&QuErY_LaYeRs=bluemarble&VeRsIoN=1.3.0&LaYeRs=bluemarble&BbOx=-90.000000,-180.000000,90.000000,180.000000&WiDtH=100>
>
> Another failure comes from the MIME type test but I do not know how
> and where to resolve it. The test is “For format
> “image/vnd.jpeg-png”, when the FORMAT parameter is set to that
> format, the MIME type of the response matches that format”. That
> will fail because the jpeg-png is sort of a bogus mime type and the
> result is either jpeg or png. Maybe the format should be disabled
> from the service that is used for OGC tests. Of course if OGC
> recognizes image/vnd.jpeg-png then the Teamengine could be made to
> accept jpeg and png.
>
> I found also some issues in the Teamengine that created odd looking
> requests which yielded errors from Mapserver. I will contact the
> Teamengine developers for resolving which part has a bug.
>
> -Jukka Rahkonen-
>
> _______________________________________________
>
> MapServer-dev mailing list
>
> MapServer-dev at lists.osgeo.org <mailto:MapServer-dev at lists.osgeo.org>
>
> https://lists.osgeo.org/mailman/listinfo/mapserver-dev
> <https://lists.osgeo.org/mailman/listinfo/mapserver-dev>
>
--
Jeff McKenna
GatewayGeo: Developers of MS4W, & offering MapServer Consulting/Dev
co-founder of FOSS4G
http://gatewaygeo.com/
More information about the MapServer-dev
mailing list