<?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: How to get informations from an WMTSLayer in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/how-to-get-informations-from-an-wmtslayer/m-p/254572#M1603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any documentation for these properties?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Feb 2017 19:59:16 GMT</pubDate>
    <dc:creator>WWalker</dc:creator>
    <dc:date>2017-02-10T19:59:16Z</dc:date>
    <item>
      <title>How to get informations from an WMTSLayer</title>
      <link>https://community.esri.com/t5/developers-questions/how-to-get-informations-from-an-wmtslayer/m-p/254565#M1596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an WMTSLayer in ArcObjects. I want to get informations from this object. I found IWMTSLayerDescription and IWMTSServiceDescription as interfaces to get the informations i need. But i do not found any possibilty how to use these Interfaces.&lt;/P&gt;&lt;P&gt;Is there any out there who has a solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Armin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 07:46:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-to-get-informations-from-an-wmtslayer/m-p/254565#M1596</guid>
      <dc:creator>ArminMueller</dc:creator>
      <dc:date>2014-08-28T07:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to get informations from an WMTSLayer</title>
      <link>https://community.esri.com/t5/developers-questions/how-to-get-informations-from-an-wmtslayer/m-p/254566#M1597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Armin&lt;/P&gt;&lt;P&gt;The layer (ILayer) should also implement IWMTSLayer. Go to IWMTSLayer.Connection to get the WMTSConnection-Object. This object also implements IWMTSServiceDescription: You get to the indidual LayerDescriptions (of type IWMTSLayerDescription) via the LayerDescription Property of the IWMTSServiceDescription-Interface. LayerDescription is a list, you Need to specify a layer index to get Access to the individual layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 13:03:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-to-get-informations-from-an-wmtslayer/m-p/254566#M1597</guid>
      <dc:creator>MatthiasSchenker</dc:creator>
      <dc:date>2014-08-28T13:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to get informations from an WMTSLayer</title>
      <link>https://community.esri.com/t5/developers-questions/how-to-get-informations-from-an-wmtslayer/m-p/254567#M1598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried this, but it seems that it doesnt work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wmtsLayer is a valid wmtsLayer. It shows me the TileMatrix and the name.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;Dim&lt;/SPAN&gt; wmtsCon &lt;SPAN style="color: blue;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #2b91af;"&gt;IWMTSConnection&lt;/SPAN&gt; = &lt;SPAN style="color: blue;"&gt;New&lt;/SPAN&gt; &lt;SPAN style="color: #2b91af;"&gt;WMTSConnectionClass&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;wmtsLayer.WMTSConnection(wmtsCon)&lt;/P&gt;&lt;P&gt;wmtsService &lt;SPAN style="color: blue;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #2b91af;"&gt;IWMTSServiceDescription&lt;/SPAN&gt; = &lt;SPAN style="color: blue;"&gt;CType&lt;/SPAN&gt;(wmtsCon, &lt;SPAN style="color: #2b91af;"&gt;IWMTSServiceDescription&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;wmtsService gives me no information. All is empty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Armin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 09:10:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-to-get-informations-from-an-wmtslayer/m-p/254567#M1598</guid>
      <dc:creator>ArminMueller</dc:creator>
      <dc:date>2014-09-01T09:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get informations from an WMTSLayer</title>
      <link>https://community.esri.com/t5/developers-questions/how-to-get-informations-from-an-wmtslayer/m-p/254568#M1599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Armin&lt;/P&gt;&lt;P&gt;I believe that you need to explicitly open the connection object first. Here is what you need in C#. If I do this, I do get an object for the serviceDescription.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IWMTSLayer wmtsLayer = layer as IWMTSLayer;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IName wmtsName = wmtsLayer.DataSourceName;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IWMTSConnectionName wmtsConnectionName = wmtsName as IWMTSConnectionName;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WMTSConnection wmtsConnection = wmtsConnectionName.OpenEx(null) as WMTSConnection;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;IWMTSServiceDescription wmtsServiceDescription = (IWMTSServiceDescription)wmtsConnection;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 13:08:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-to-get-informations-from-an-wmtslayer/m-p/254568#M1599</guid>
      <dc:creator>MatthiasSchenker</dc:creator>
      <dc:date>2014-09-01T13:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to get informations from an WMTSLayer</title>
      <link>https://community.esri.com/t5/developers-questions/how-to-get-informations-from-an-wmtslayer/m-p/254569#M1600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now it works. Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Armin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 16:17:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-to-get-informations-from-an-wmtslayer/m-p/254569#M1600</guid>
      <dc:creator>ArminMueller</dc:creator>
      <dc:date>2014-09-01T16:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to get informations from an WMTSLayer</title>
      <link>https://community.esri.com/t5/developers-questions/how-to-get-informations-from-an-wmtslayer/m-p/254570#M1601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hy,&lt;/P&gt;&lt;P&gt;how can I choose in the WMTS-mapservice which sublayer should be displayed?&lt;/P&gt;&lt;P&gt;We have 1 WMTS-service with multiple layers in it.&lt;/P&gt;&lt;P&gt;I want to display only a specific layer from the WMTS-service&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I'm adding the simple "wmtsLayer", I'm always getting the first sublayer from it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 09:47:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-to-get-informations-from-an-wmtslayer/m-p/254570#M1601</guid>
      <dc:creator>TomSchuller</dc:creator>
      <dc:date>2014-11-06T09:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to get informations from an WMTSLayer</title>
      <link>https://community.esri.com/t5/developers-questions/how-to-get-informations-from-an-wmtslayer/m-p/254571#M1602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can get a specific Layer by assigning layer identifier to LAYERNAME property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private ILayer GetSpecificWMTSLayer(string url, string layerID)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IWMTSLayer wmtsLayer = new WMTSLayer();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WMTSConnectionName connectionName = new WMTSConnectionNameClass();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IPropertySet propSet = new PropertySetClass();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; propSet.SetProperty("URL", url);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; propSet.SetProperty("LAYERNAME", layerID);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; connectionName.ConnectionProperties = propSet;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wmtsLayer.Connect(connectionName as IName);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return wmtsLayer as ILayer;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the seven properties you can handle with your property set:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;URL, LAYERNAME, USER, HIDEUSERPROPERTY, VERSION, PASSWORD, CONNECTIONPATH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:34:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-to-get-informations-from-an-wmtslayer/m-p/254571#M1602</guid>
      <dc:creator>AhmedEl-Sisi</dc:creator>
      <dc:date>2021-12-11T12:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to get informations from an WMTSLayer</title>
      <link>https://community.esri.com/t5/developers-questions/how-to-get-informations-from-an-wmtslayer/m-p/254572#M1603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any documentation for these properties?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 19:59:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-to-get-informations-from-an-wmtslayer/m-p/254572#M1603</guid>
      <dc:creator>WWalker</dc:creator>
      <dc:date>2017-02-10T19:59:16Z</dc:date>
    </item>
  </channel>
</rss>

