chazwrob

WMTS using KVP format in .Net Runtime SDK 100.2 (worked in 10.2.7)

Discussion created by chazwrob on Jan 22, 2018
Latest reply on Feb 20, 2018 by MStefarov-esristaff

#ArcGIS Runtime .NET WPF application...

 

I am having a problem displaying a WMTS layer served by a GeoServer instance which uses Geo Web Cache (KVP only). With Runtime 10.2.7, it works perfectly. I see a GetCapabilities request followed by lots of GetTile requests, exactly what I expect. In 100.2, I see the initial GetCapabilities request and service capability response followed by a single GetTile request (result 304, not modified) and response, followed by LOTS of GetCapabilities requests. Subsequenty panning and zooming results in only GetCapabilities responses sent and no more tiles. Did 100.2 break this?

 

PS: Connecting to the same server works as expected with the latest (4.6) Javascript API.

 

Generated Requests:

 

WORKING 10.2.7

GET http://myserver:8888/geoserver/gwc/service/wmts?service=WMTS&request=GetCapabilities&version=1.0.0 HTTP/1.1
Host: myserver:8888
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

 

GET http://myserver:8888/geoserver/gwc/service/wmts?&service=WMTS&request=GetTile&version=1.0.0&layer=WorldImagery&style=&format=image/png&tileMatrixSet=EPSG:4326&tileMatrix=EPSG:4326:1&tileRow=0&tileCol=3 HTTP/1.1
Host: myserver:8888

 

GET http://myserver:8888/geoserver/gwc/service/wmts?&service=WMTS&request=GetTile&version=1.0.0&layer=WorldImagery&style=&format=image/png&tileMatrixSet=EPSG:4326&tileMatrix=EPSG:4326:1&tileRow=0&tileCol=2 HTTP/1.1
Host: myserver:8888

 

GET http://myserver:8888/geoserver/gwc/service/wmts?&service=WMTS&request=GetTile&version=1.0.0&layer=WorldImagery&style=&format=image/png&tileMatrixSet=EPSG:4326&tileMatrix=EPSG:4326:1&tileRow=0&tileCol=0 HTTP/1.1
Host: myserver:8888

 

... more GetTile

 

 

NOT WORKING 100.2

GET http://myserver:8888/geoserver/gwc/service/wmts?service=WMTS&request=GetCapabilities&version=1.0.0 HTTP/1.1
User-Agent: ArcGISRuntime-NET/100.2 (Windows 6.1.7601; Win64; x64; .NET 4.7.0)
Referer: http://arcgis100.app/
Host: myserver:8888
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

 

GET http://myserver:8888/geoserver/gwc/service/wmts?TileCol=0&TileMatrix=EPSG%3A4326%3A0&TileMatrixSet=EPSG%3A4326&TileRow=0&format=image%2Fpng&layer=WorldImagery&request=GetTile&service=WMTS&style=&version=1.0.0 HTTP/1.1
User-Agent: ArcGISRuntime-NET/100.2 (Windows 6.1.7601; Win64; x64; .NET 4.7.0)
Referer: http://arcgis100.app/
Host: myserver:8888
If-Modified-Since: Thu, 11 Jan 2018 16:24:48 GMT
Accept-Encoding: gzip, deflate

 

GET http://myserver:8888/geoserver/gwc/service/wmts?service=WMTS&request=GetCapabilities&version=1.0.0 HTTP/1.1
User-Agent: ArcGISRuntime-NET/100.2 (Windows 6.1.7601; Win64; x64; .NET 4.7.0)
Referer: http://arcgis100.app/
Host: myserver:8888
Accept-Encoding: gzip, deflate

 

GET http://myserver:8888/geoserver/gwc/service/wmts?service=WMTS&request=GetCapabilities&version=1.0.0 HTTP/1.1
User-Agent: ArcGISRuntime-NET/100.2 (Windows 6.1.7601; Win64; x64; .NET 4.7.0)
Referer: http://arcgis100.app/
Host: myserver:8888
Accept-Encoding: gzip, deflate

 

.. more GetCapabilities

Outcomes