Description
url-parameters from wmts services are removed from the url.
This is a problem for wmts-services that require url-parameters.
Specifically i have a service that require username and password url-params.
How to reproduce
here is a small selection of the layer properties
"name": "topo_skaermkort",
"params":
{
"password": "redacted-1",
"username": "redacted-2"
},
"queryable": false,
"requestEncoding": "KVP",
"singleTile": false,
"style": "default",
"title": "topo_skaermkort",
"type": "wmts",
"url": "https://services.datafordeler.dk/DKskaermkort/topo_skaermkort_wmts/1.0.0/Wmts",
"useForElevation": false,
"visibility": false,
here is a resulting tile url
https://services.datafordeler.dk/DKskaermkort/topo_skaermkort_wmts/1.0.0/Wmts?layer=topo_skaermkort&style=default&tilematrixset=View1&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image%2Fjpeg&TileMatrix=11&TileCol=2841&TileRow=1471
Expected Result
the urls should have the url-parameters
https://services.datafordeler.dk/DKskaermkort/topo_skaermkort_wmts/1.0.0/Wmts?layer=topo_skaermkort&style=default&tilematrixset=View1&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image%2Fjpeg&TileMatrix=11&TileCol=2841&TileRow=1471&username=redacted-2&password=redacted-1
Current Result
the urls do not have the url-parameters
https://services.datafordeler.dk/DKskaermkort/topo_skaermkort_wmts/1.0.0/Wmts?layer=topo_skaermkort&style=default&tilematrixset=View1&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image%2Fjpeg&TileMatrix=11&TileCol=2841&TileRow=1471
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)
| Browser Affected |
Version |
| Internet Explorer |
|
| Edge |
|
| Chrome |
|
| Firefox |
|
| Safari |
|
Description
url-parameters from wmts services are removed from the url.
This is a problem for wmts-services that require url-parameters.
Specifically i have a service that require username and password url-params.
How to reproduce
here is a small selection of the layer properties
here is a resulting tile url
https://services.datafordeler.dk/DKskaermkort/topo_skaermkort_wmts/1.0.0/Wmts?layer=topo_skaermkort&style=default&tilematrixset=View1&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image%2Fjpeg&TileMatrix=11&TileCol=2841&TileRow=1471Expected Result
the urls should have the url-parameters
https://services.datafordeler.dk/DKskaermkort/topo_skaermkort_wmts/1.0.0/Wmts?layer=topo_skaermkort&style=default&tilematrixset=View1&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image%2Fjpeg&TileMatrix=11&TileCol=2841&TileRow=1471&username=redacted-2&password=redacted-1Current Result
the urls do not have the url-parameters
https://services.datafordeler.dk/DKskaermkort/topo_skaermkort_wmts/1.0.0/Wmts?layer=topo_skaermkort&style=default&tilematrixset=View1&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image%2Fjpeg&TileMatrix=11&TileCol=2841&TileRow=1471Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)