<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: WMTS Layer using KVP not loading tiles in 10.2.7 in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/wmts-layer-using-kvp-not-loading-tiles-in-10-2-7/m-p/335848#M3956</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think KVP was ever that well tested, and I've seen varying implementations of WMTS that can&amp;nbsp;trip up a client.&lt;/P&gt;&lt;P&gt;10.2.7 is out of support at this point,&amp;nbsp;but 100.x release has pretty good WMTS support.&lt;/P&gt;&lt;P&gt;If all else fails, the WMTS layer for 10.2.x is actually open source, so you could grab that and step through it and see if it just needs a tweak or two:&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://github.com/Esri/arcgis-toolkit-sl-wpf/blob/master/src/CommonAPI/API/ESRI.ArcGIS.Client.Toolkit.DataSources/Wmts/Wmts.cs" title="https://github.com/Esri/arcgis-toolkit-sl-wpf/blob/master/src/CommonAPI/API/ESRI.ArcGIS.Client.Toolkit.DataSources/Wmts/Wmts.cs"&gt;https://github.com/Esri/arcgis-toolkit-sl-wpf/blob/master/src/CommonAPI/API/ESRI.ArcGIS.Client.Toolkit.DataSources/Wmts/Wmts.cs&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2020 05:40:46 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2020-04-29T05:40:46Z</dc:date>
    <item>
      <title>WMTS Layer using KVP not loading tiles in 10.2.7</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/wmts-layer-using-kvp-not-loading-tiles-in-10-2-7/m-p/335847#M3955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use ArcGIS .Net SDK 10.2.7 and my application has a mapview which can display the layers added by the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://data.linz.govt.nz/services;key=5169bef47e224d43a935e4283e2d57a6/wmts/1.0.0/set/4769/WMTSCapabilities.xml" title="https://data.linz.govt.nz/services;key=5169bef47e224d43a935e4283e2d57a6/wmts/1.0.0/set/4769/WMTSCapabilities.xml"&gt;https://data.linz.govt.nz/services;key=5169bef47e224d43a935e4283e2d57a6/wmts/1.0.0/set/4769/WMTSCapabilities.xml&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above WMTS previously supported Rest and&amp;nbsp;was working fine.&amp;nbsp;They have changed it to support KVP only and now it's not working as expected. This is my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var base_layer = new WmtsLayer(new Uri("&lt;A class="link-titled" href="https://data.linz.govt.nz/services;key=5169bef47e224d43a935e4283e2d57a6/wmts/1.0.0/set/4769/WMTSCapabilities.xml?Version=1.0.0&amp;amp;service=wmts&amp;amp;request=GetTile&amp;amp;set=4769&amp;amp;style=2087" title="https://data.linz.govt.nz/services;key=5169bef47e224d43a935e4283e2d57a6/wmts/1.0.0/set/4769/WMTSCapabilities.xml?Version=1.0.0&amp;amp;service=wmts&amp;amp;request=GetTile&amp;amp;set=4769&amp;amp;style=2087"&gt;https://data.linz.govt.nz/services;key=5169bef47e224d43a935e4283e2d57a6/wmts/1.0.0/set/4769/WMTSCapabilities.xml?Version…&lt;/A&gt;&amp;nbsp;"));&lt;/P&gt;&lt;P&gt;base_layer.DisplayName = "wmts_layer";&lt;BR /&gt; base_layer.Layer = "set-4769";&lt;BR /&gt; base_layer.ImageFormat = "image/png";&lt;BR /&gt; base_layer.Style = "style=2087";&lt;BR /&gt; base_layer.ServiceMode = ServiceMode.Kvp;&lt;/P&gt;&lt;P&gt;map_layer.InitializeAsync().ContinueWith(CompleteLayerInitialization, CancellationToken.None,&lt;BR /&gt; TaskContinuationOptions.None, TaskScheduler.FromCurrentSynchronizationContext());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the url&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://data.linz.govt.nz/services;key=5169bef47e224d43a935e4283e2d57a6/wmts/1.0.0/set/4769/WMTSCapabilities.xml?Version=1.0.0&amp;amp;service=wmts&amp;amp;request=GetTile&amp;amp;set=4769&amp;amp;style=2087" title="https://data.linz.govt.nz/services;key=5169bef47e224d43a935e4283e2d57a6/wmts/1.0.0/set/4769/WMTSCapabilities.xml?Version=1.0.0&amp;amp;service=wmts&amp;amp;request=GetTile&amp;amp;set=4769&amp;amp;style=2087"&gt;https://data.linz.govt.nz/services;key=5169bef47e224d43a935e4283e2d57a6/wmts/1.0.0/set/4769/WMTSCapabilities.xml&lt;/A&gt;&amp;nbsp;as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The layer gets initialized without errors. But I can't see the tiles on the map.&lt;/P&gt;&lt;P&gt;This code worked fine previously when it supported Rest. The only difference was Service mode was set to Rest instead of KVP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 05:02:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/wmts-layer-using-kvp-not-loading-tiles-in-10-2-7/m-p/335847#M3955</guid>
      <dc:creator>NilankaD</dc:creator>
      <dc:date>2020-04-29T05:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: WMTS Layer using KVP not loading tiles in 10.2.7</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/wmts-layer-using-kvp-not-loading-tiles-in-10-2-7/m-p/335848#M3956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think KVP was ever that well tested, and I've seen varying implementations of WMTS that can&amp;nbsp;trip up a client.&lt;/P&gt;&lt;P&gt;10.2.7 is out of support at this point,&amp;nbsp;but 100.x release has pretty good WMTS support.&lt;/P&gt;&lt;P&gt;If all else fails, the WMTS layer for 10.2.x is actually open source, so you could grab that and step through it and see if it just needs a tweak or two:&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://github.com/Esri/arcgis-toolkit-sl-wpf/blob/master/src/CommonAPI/API/ESRI.ArcGIS.Client.Toolkit.DataSources/Wmts/Wmts.cs" title="https://github.com/Esri/arcgis-toolkit-sl-wpf/blob/master/src/CommonAPI/API/ESRI.ArcGIS.Client.Toolkit.DataSources/Wmts/Wmts.cs"&gt;https://github.com/Esri/arcgis-toolkit-sl-wpf/blob/master/src/CommonAPI/API/ESRI.ArcGIS.Client.Toolkit.DataSources/Wmts/Wmts.cs&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 05:40:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/wmts-layer-using-kvp-not-loading-tiles-in-10-2-7/m-p/335848#M3956</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2020-04-29T05:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: WMTS Layer using KVP not loading tiles in 10.2.7</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/wmts-layer-using-kvp-not-loading-tiles-in-10-2-7/m-p/335849#M3957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Morten,&lt;/P&gt;&lt;P&gt;Thanks for your prompt reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the code. It needs Esri.ArcGIS.Client.dll. Unfortunately I don't have it anymore as 'Esri.ArcGISRuntime.dll' was sufficient for our recent work.&lt;/P&gt;&lt;P&gt;I cannot download it anymore as '&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;ArcGIS Runtime SDK for WPF' is labelled as retired.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;Is there a way to get the above dll?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 23:10:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/wmts-layer-using-kvp-not-loading-tiles-in-10-2-7/m-p/335849#M3957</guid>
      <dc:creator>NilankaD</dc:creator>
      <dc:date>2020-04-29T23:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: WMTS Layer using KVP not loading tiles in 10.2.7</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/wmts-layer-using-kvp-not-loading-tiles-in-10-2-7/m-p/335850#M3958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oops I'm sorry. That source code was for a much much older API (and not 10.2.x). Just ignore what I wrote.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your best bet is to upgrade your app to 100.7 if possible, as that should give you the best OGC support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2020 16:50:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/wmts-layer-using-kvp-not-loading-tiles-in-10-2-7/m-p/335850#M3958</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2020-04-30T16:50:23Z</dc:date>
    </item>
  </channel>
</rss>

