#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.1Host: myserver:8888Accept-Encoding: gzip, deflateConnection: 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.1Host: 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.1Host: 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.1Host: 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.1User-Agent: ArcGISRuntime-NET/100.2 (Windows 6.1.7601; Win64; x64; .NET 4.7.0)Referer: http://arcgis100.app/Host: myserver:8888Accept-Encoding: gzip, deflateConnection: 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.1User-Agent: ArcGISRuntime-NET/100.2 (Windows 6.1.7601; Win64; x64; .NET 4.7.0)Referer: http://arcgis100.app/Host: myserver:8888If-Modified-Since: Thu, 11 Jan 2018 16:24:48 GMTAccept-Encoding: gzip, deflate
GET http://myserver:8888/geoserver/gwc/service/wmts?service=WMTS&request=GetCapabilities&version=1.0.0 HTTP/1.1User-Agent: ArcGISRuntime-NET/100.2 (Windows 6.1.7601; Win64; x64; .NET 4.7.0)Referer: http://arcgis100.app/Host: myserver:8888Accept-Encoding: gzip, deflate
.. more GetCapabilities
Charles Roberts — We just released Runtime patch 100.2.1, containing a few WMTS-related bug fixes. There is a good chance that this new version will work well with your services. Please try it out!
If you are still seeing issues even with the latest Runtime, I'd be happy to investigate it further. A copy of the GetCapabilities XML response for any of those services would be helpful in that case.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.