<?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: Only get first level of WMS layers from an URL in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/only-get-first-level-of-wms-layers-from-an-url/m-p/1259797#M5981</link>
    <description>&lt;P&gt;Hello, Rama.&lt;/P&gt;&lt;P&gt;Thank you very much. I missed that the Sublayers had to be obtained after the WMS layer had to be loaded, not before.&lt;/P&gt;&lt;P&gt;I have obtained the level 0 of the WMS service, but further sublayers are not able to be obtained, despite knowing that the WMS has more layers.&lt;/P&gt;&lt;P&gt;wmsSublayer.getSubLayerContents() returns an empty list. Am I doing something wrong?&lt;/P&gt;&lt;P&gt;Thank you kindly for your support and time spent replying. I do appreciate it.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Feb 2023 11:18:47 GMT</pubDate>
    <dc:creator>SalvadorApltp</dc:creator>
    <dc:date>2023-02-20T11:18:47Z</dc:date>
    <item>
      <title>Only get first level of WMS layers from an URL</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/only-get-first-level-of-wms-layers-from-an-url/m-p/1252874#M5957</link>
      <description>&lt;P&gt;Hello, everyone.&lt;/P&gt;&lt;P&gt;I am trying to access a list of Layers from a WMS, but instead of getting all of the layers in a treelike structure, I am getting all of them in a flat hierarchy.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;WmsLayer&lt;/SPAN&gt;.getLayerNames()&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Will return all of the layers. But I am only interested in the fist level, not all of them.&lt;/P&gt;&lt;P&gt;I am using this free french service:&amp;nbsp;&amp;nbsp;&lt;A href="https://api2.geofoncier.fr/api/referentielsoge/wxs" target="_blank"&gt;https://api2.geofoncier.fr/api/referentielsoge/wxs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Opening it in QGIS will show a nested structure. I am looking for something similar, to allow the user to select a group of layers and hiding the nested layers within, instead of all of the layers in a flat hierarchy.&lt;/P&gt;&lt;P&gt;If a nested structure is not possible, is there any way I can know which layers belongs to what, and if they are a layer group?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you kindly.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 14:59:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/only-get-first-level-of-wms-layers-from-an-url/m-p/1252874#M5957</guid>
      <dc:creator>SalvadorApltp</dc:creator>
      <dc:date>2023-01-30T14:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Only get first level of WMS layers from an URL</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/only-get-first-level-of-wms-layers-from-an-url/m-p/1257799#M5972</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;You would need to get the required details from the &lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/arcgisruntime/layers/WmsSublayer.html" target="_self"&gt;WmsSublayers&lt;/A&gt;&amp;nbsp;, it provides&lt;SPAN&gt;&amp;nbsp;data necessary for building a Table of Contents and manage visibility of sublayers.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 00:13:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/only-get-first-level-of-wms-layers-from-an-url/m-p/1257799#M5972</guid>
      <dc:creator>RamaChintapalli</dc:creator>
      <dc:date>2023-02-14T00:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Only get first level of WMS layers from an URL</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/only-get-first-level-of-wms-layers-from-an-url/m-p/1259797#M5981</link>
      <description>&lt;P&gt;Hello, Rama.&lt;/P&gt;&lt;P&gt;Thank you very much. I missed that the Sublayers had to be obtained after the WMS layer had to be loaded, not before.&lt;/P&gt;&lt;P&gt;I have obtained the level 0 of the WMS service, but further sublayers are not able to be obtained, despite knowing that the WMS has more layers.&lt;/P&gt;&lt;P&gt;wmsSublayer.getSubLayerContents() returns an empty list. Am I doing something wrong?&lt;/P&gt;&lt;P&gt;Thank you kindly for your support and time spent replying. I do appreciate it.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 11:18:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/only-get-first-level-of-wms-layers-from-an-url/m-p/1259797#M5981</guid>
      <dc:creator>SalvadorApltp</dc:creator>
      <dc:date>2023-02-20T11:18:47Z</dc:date>
    </item>
  </channel>
</rss>

