Can HTML5 handle additional WMS parameters?
Hi Folks,
I've been fighting with this off and on for the last couple of versions, where Environment Canada modifies their WMS capabilities for geomet, which then breaks Geocortex.
I'm trying now to use the thinned-out WMS layer list that can be returned from:
https://geo.weather.gc.ca/geomet?service=WMS&version=1.3.0&request=GetCapabilities&layer=GDPS.ETA_UU& (italics are the additional parameters that Env. Canada enables)
When adding to Essentials as a map service, it shows up in the preview map, but fails to actually work in the HTML5 viewer.
Working with Essentials 4.10.1.61, Viewer 2.11
Cheers
Mark
0
-
Not an answer, just more sleuthing. It appears that a TIME= parameter is being passed through to the endpoint, and the server response is complaining of an incorrectly formatted date:
http://geo.weather.gc.ca/geomet?layer=GDPS.ETA_UU&SERVICE=WMS&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=TRUE&STYLES=WINDARROWKMH&VERSION=1.3.0&LAYERS=GDPS.ETA_UU&WIDTH=1570&HEIGHT=858&CRS=EPSG%3A102100&BBOX=-16438168.204567613%2C5420051.266504655%2C-8757775.602475146%2C9617361.363699136&TIME=2019-03-11T06%3A00%3A00.000Z%2F2019-03-11T07%3A00%3A00.000Z
<ogc:ServiceExceptionReport xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.3.0" xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd">
<ogc:ServiceException code="NoMatch" locator="time">
Erreur de format, date / Date format error -- Format attendu / Expecting: '%Y-%m-%dT%H:%M:%SZ' -- Voir / See 'http://www.iso.org/iso/home/standards/iso8601.htm'
</ogc:ServiceException>
</ogc:ServiceExceptionReport>
Not really sure how to disable the TIME= parameter, as once removed, the server responds with a proper WMS image.Anyone know how to disable TIME= ? I've tried to override the format and settings within the Functional tab of the service, but to no avail.
0
Please sign in to leave a comment.
Comments
1 comment