<?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 WMTS Service not working - ignoring Dimension Attribute in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/wmts-service-not-working-ignoring-dimension/m-p/1237172#M7520</link>
    <description>&lt;P&gt;hi folks&lt;/P&gt;&lt;P&gt;im trying to implement a public wmts layer (&lt;A href="https://wmts.geo.admin.ch/EPSG/2056/1.0.0/WMTSCapabilities.xml" target="_blank" rel="noopener"&gt;https://wmts.geo.admin.ch/EPSG/2056/1.0.0/WMTSCapabilities.xml&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;with this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="swift"&gt;let wmtsService = AGSWMTSService(url: URL(string("https://wmts.geo.admin.ch/EPSG/2056/1.0.0/WMTSCapabilities.xml")))

//load the WMTS service to access the service information
wmtsService.load { (error) in
    if let error = error {
        DDLogError("Failed to load wmts basemap. \(error)")
    } else if let layerInfo = wmtsService.serviceInfo?.layerInfos.first(where: { $0.layerID == "ch.swisstopo.pixelkarte-farbe"}) {
        let wmtsLayer = AGSWMTSLayer(layerInfo: layerInfo)
        let basemap = AGSBasemap(baseLayer: wmtsLayer)
        
        completionHandler(basemap)
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The WMTS Service is loading without error but the Basemap doesn't display anything.&lt;/P&gt;&lt;P&gt;So i debugged it with Postman. The Layer is trying to load the tiles from an URL like this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default//21781/20/58/70.jpeg" target="_blank" rel="noopener"&gt;https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default//21781/20/58/70.jpeg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;causing a 404 because the &amp;lt;Time&amp;gt; parameter is empty.&lt;/P&gt;&lt;P&gt;The correct URL would be&amp;nbsp;&lt;A href="https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default/current/21781/20/58/70.jpeg" target="_blank" rel="noopener"&gt;https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default/current/21781/20/58/70.jpeg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How can i force the WMTSLayer to provide the "current" keyword to the &amp;lt;Time&amp;gt; parameter?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
    <pubDate>Fri, 02 Dec 2022 10:43:24 GMT</pubDate>
    <dc:creator>MichaelMoor</dc:creator>
    <dc:date>2022-12-02T10:43:24Z</dc:date>
    <item>
      <title>WMTS Service not working - ignoring Dimension Attribute</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/wmts-service-not-working-ignoring-dimension/m-p/1237172#M7520</link>
      <description>&lt;P&gt;hi folks&lt;/P&gt;&lt;P&gt;im trying to implement a public wmts layer (&lt;A href="https://wmts.geo.admin.ch/EPSG/2056/1.0.0/WMTSCapabilities.xml" target="_blank" rel="noopener"&gt;https://wmts.geo.admin.ch/EPSG/2056/1.0.0/WMTSCapabilities.xml&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;with this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="swift"&gt;let wmtsService = AGSWMTSService(url: URL(string("https://wmts.geo.admin.ch/EPSG/2056/1.0.0/WMTSCapabilities.xml")))

//load the WMTS service to access the service information
wmtsService.load { (error) in
    if let error = error {
        DDLogError("Failed to load wmts basemap. \(error)")
    } else if let layerInfo = wmtsService.serviceInfo?.layerInfos.first(where: { $0.layerID == "ch.swisstopo.pixelkarte-farbe"}) {
        let wmtsLayer = AGSWMTSLayer(layerInfo: layerInfo)
        let basemap = AGSBasemap(baseLayer: wmtsLayer)
        
        completionHandler(basemap)
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The WMTS Service is loading without error but the Basemap doesn't display anything.&lt;/P&gt;&lt;P&gt;So i debugged it with Postman. The Layer is trying to load the tiles from an URL like this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default//21781/20/58/70.jpeg" target="_blank" rel="noopener"&gt;https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default//21781/20/58/70.jpeg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;causing a 404 because the &amp;lt;Time&amp;gt; parameter is empty.&lt;/P&gt;&lt;P&gt;The correct URL would be&amp;nbsp;&lt;A href="https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default/current/21781/20/58/70.jpeg" target="_blank" rel="noopener"&gt;https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default/current/21781/20/58/70.jpeg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How can i force the WMTSLayer to provide the "current" keyword to the &amp;lt;Time&amp;gt; parameter?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 10:43:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/wmts-service-not-working-ignoring-dimension/m-p/1237172#M7520</guid>
      <dc:creator>MichaelMoor</dc:creator>
      <dc:date>2022-12-02T10:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: WMTS Service not working - ignoring Dimension Attribute</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/wmts-service-not-working-ignoring-dimension/m-p/1237426#M7521</link>
      <description>&lt;P&gt;Unfortunately,&amp;nbsp;multidimensional info like&amp;nbsp;&lt;SPAN&gt;"time", "elevation", "band", etc., was originally supported in 10.x versions, but not in the 100.x Runtime SDK. See a similar post at &lt;A href="https://community.esri.com/t5/arcgis-runtime-sdk-for-net-questions/100-2-0-wmtslayer-and-dimensions/td-p/643880" target="_self"&gt;here&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are aware of this request and evaluating the importance of OGC WMTS spec conformance, and it would probably go into one of the 2023 releases of 200.x version of the SDK. Thanks for your patience.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 22:04:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/wmts-service-not-working-ignoring-dimension/m-p/1237426#M7521</guid>
      <dc:creator>Ting</dc:creator>
      <dc:date>2022-12-02T22:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: WMTS Service not working - ignoring Dimension Attribute</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/wmts-service-not-working-ignoring-dimension/m-p/1280590#M7613</link>
      <description>&lt;P&gt;Good news – Runtime 200.1 was just released this morning. WMTS layers with dimensional data are now supported. The default dimension value is used if provided by the service. Otherwise, the first value listed is used. This should allow you to open any layer on the Swisstopo WMTS service and see the current data.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 01:13:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/wmts-service-not-working-ignoring-dimension/m-p/1280590#M7613</guid>
      <dc:creator>MatveiStefarov</dc:creator>
      <dc:date>2023-04-20T01:13:43Z</dc:date>
    </item>
  </channel>
</rss>

