Open KoalaGeo opened 5 years ago
James pointed out to me that the double WMS param is due to the GeoServer GetCapabilities adding service=WMS& at the end of the end-point so really it's a GeoServer issue and can be ignored here.
Issue is not fixed; shouldn't be closed.
If I add a layer from the "Thematic" tab on the "Find and add datasets" dialog they generally fail because the Portal doesn't include the VERSION parameter in the GetMap request.
For example, if I expand the "Chronostratigraphy" list and select the "GBR BGS 1:625k Bedrock INSPIRE Age" layer the request:
http://ogc.bgs.ac.uk/digmap625k_gsml_insp_gs/ows?SERVICE=WMS&SERVICE=WMS&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=gsmlp%3AGBR_BGS_625k_BA_INSP&CRS=EPSG%3A4326&STYLES=&WIDTH=78&HEIGHT=71&BBOX=47.05111811535984%2C-12.33329751206456%2C63.62651622415329%2C5.706536915873601 is sent and the layer doesn't display because the server gives an error about the missing VERSION parameter.
If I select the same "GBR BGS 1:625k Bedrock INSPIRE Age" layer from the "Geographic Area" tab and "United Kingdom" list the request:
http://ogc.bgs.ac.uk/digmap625k_gsml_insp_gs/ows?SERVICE=WMS&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=gsmlp%3AGBR_BGS_625k_BA_INSP&CRS=EPSG%3A4326&STYLES=&WIDTH=78&HEIGHT=71&BBOX=47.05111811535984%2C-12.33329751206456%2C63.62651622415329%2C5.706536915873601 is sent with the VERSION parameter and the layer does display.
(Both requests have an unnecessary repeated SERVICE=WMS parameter. This hasn't caused the request to fail but probably should be fixed as well.)