<?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 How do I specify a valid dimension for WMTS layer? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/how-do-i-specify-a-valid-dimension-for-wmts-layer/m-p/379456#M4470</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 am working against a WMTS service containing dimensions. My problem is that the WmtsLayer class uses the default &amp;nbsp;time dimension value when displaying the layer, which is usually a way into the future. I am aware that I can set DimensionValues to override this, but I have so far had trouble finding out which values I can use that are valid, as these are not&amp;nbsp;easily retrieved from the layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the normal process for doing this? The API does not seem very friendly in this regard. I'm currently working with&amp;nbsp;ArcGIS Runtime SDK for WPF, but it has the same API as the Runtime for .NET 10.2.7. In 100.0.0, I am not able to find the WmtsLayer - is it no longer supported?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The layer I am displaying is like this&amp;nbsp;&lt;A class="link-titled" href="http://www.yr.no/kart/#lat=64.41553&amp;amp;lon=14.54702&amp;amp;zoom=5&amp;amp;laga=nedb%C3%B8rskyer&amp;amp;proj=3575" title="http://www.yr.no/kart/#lat=64.41553&amp;amp;lon=14.54702&amp;amp;zoom=5&amp;amp;laga=nedb%C3%B8rskyer&amp;amp;proj=3575"&gt;Map – Yr&lt;/A&gt;&amp;nbsp; (use&amp;nbsp;&lt;A href="http://public-wms.met.no/mapproxy/verportal/wmts"&gt;http://public-wms.met.no/mapproxy/verportal/wmts&lt;/A&gt;&amp;nbsp;and layer wind_10m_regional).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display a slider of some kind to change the current dimension. The slider needs it's values from some source, and the value has to be a valid dimension value. If I don't&amp;nbsp;assign the Layer property to the WmtsLayer class, nothing is displayed. Assigning wind_10m_regional,&amp;nbsp;a layer is displayed. ServiceInfo property contains dimension values, but to access this, I need to find the&amp;nbsp;WmtsServiceInfo that corresponds with my&amp;nbsp;visible layer first. And then add processing to update DimensionValues based on my selection. This seems a rather tedious apporach for&amp;nbsp;setting the correct dimension value. It also seems that the layer will only the using the first value specified there, even if I have a long list of&amp;nbsp;possible values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Feb 2017 14:40:47 GMT</pubDate>
    <dc:creator>BjørnarSundsbø1</dc:creator>
    <dc:date>2017-02-14T14:40:47Z</dc:date>
    <item>
      <title>How do I specify a valid dimension for WMTS layer?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-do-i-specify-a-valid-dimension-for-wmts-layer/m-p/379456#M4470</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 am working against a WMTS service containing dimensions. My problem is that the WmtsLayer class uses the default &amp;nbsp;time dimension value when displaying the layer, which is usually a way into the future. I am aware that I can set DimensionValues to override this, but I have so far had trouble finding out which values I can use that are valid, as these are not&amp;nbsp;easily retrieved from the layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the normal process for doing this? The API does not seem very friendly in this regard. I'm currently working with&amp;nbsp;ArcGIS Runtime SDK for WPF, but it has the same API as the Runtime for .NET 10.2.7. In 100.0.0, I am not able to find the WmtsLayer - is it no longer supported?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The layer I am displaying is like this&amp;nbsp;&lt;A class="link-titled" href="http://www.yr.no/kart/#lat=64.41553&amp;amp;lon=14.54702&amp;amp;zoom=5&amp;amp;laga=nedb%C3%B8rskyer&amp;amp;proj=3575" title="http://www.yr.no/kart/#lat=64.41553&amp;amp;lon=14.54702&amp;amp;zoom=5&amp;amp;laga=nedb%C3%B8rskyer&amp;amp;proj=3575"&gt;Map – Yr&lt;/A&gt;&amp;nbsp; (use&amp;nbsp;&lt;A href="http://public-wms.met.no/mapproxy/verportal/wmts"&gt;http://public-wms.met.no/mapproxy/verportal/wmts&lt;/A&gt;&amp;nbsp;and layer wind_10m_regional).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display a slider of some kind to change the current dimension. The slider needs it's values from some source, and the value has to be a valid dimension value. If I don't&amp;nbsp;assign the Layer property to the WmtsLayer class, nothing is displayed. Assigning wind_10m_regional,&amp;nbsp;a layer is displayed. ServiceInfo property contains dimension values, but to access this, I need to find the&amp;nbsp;WmtsServiceInfo that corresponds with my&amp;nbsp;visible layer first. And then add processing to update DimensionValues based on my selection. This seems a rather tedious apporach for&amp;nbsp;setting the correct dimension value. It also seems that the layer will only the using the first value specified there, even if I have a long list of&amp;nbsp;possible values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 14:40:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-do-i-specify-a-valid-dimension-for-wmts-layer/m-p/379456#M4470</guid>
      <dc:creator>BjørnarSundsbø1</dc:creator>
      <dc:date>2017-02-14T14:40:47Z</dc:date>
    </item>
  </channel>
</rss>

