<?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: KMZ to KmlDocument in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/kmz-to-kmldocument/m-p/1183065#M5779</link>
    <description>&lt;P&gt;This suggestion works!!!&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2022 10:18:43 GMT</pubDate>
    <dc:creator>AngeloSilva</dc:creator>
    <dc:date>2022-06-15T10:18:43Z</dc:date>
    <item>
      <title>KMZ to KmlDocument</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/kmz-to-kmldocument/m-p/1181923#M5775</link>
      <description>&lt;P&gt;I would like to know if there is how to load a kmz file, and then, to generate a kmldocument from this kmz file.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 15:56:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/kmz-to-kmldocument/m-p/1181923#M5775</guid>
      <dc:creator>AngeloSilva</dc:creator>
      <dc:date>2022-06-10T15:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: KMZ to KmlDocument</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/kmz-to-kmldocument/m-p/1182076#M5776</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I believe you could be able to do this.&lt;BR /&gt;&lt;BR /&gt;sample code:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;// load a KML dataset from a local KMZ file and show it as an operational layer&lt;BR /&gt;KmlDataset kmlDataset = new KmlDataset(kmz_data_path);&lt;BR /&gt;KmlLayer kmlLayer = new KmlLayer(kmlDataset);&lt;BR /&gt;SceneView.getScene().getOperationalLayers().add(kmlLayer);&lt;/P&gt;&lt;P&gt;// listen for the KML dataset to finish loading&lt;BR /&gt;// generate a kmldocument from this kmz file&lt;BR /&gt;kmlDataset.addDoneLoadingListener(() -&amp;gt; {&lt;BR /&gt;if (kmlDataset.getLoadStatus() == LoadStatus.LOADED) {&lt;BR /&gt;List&amp;lt;KmlNode&amp;gt; nodes = mKmlDataset.getRootNodes();&lt;BR /&gt;KmlNode rootNode = nodes.get(0);&lt;BR /&gt;assertTrue("Expected the root node to be a KmlDocument", (rootNode instanceof KmlDocument));&lt;BR /&gt;KmlDocument kmlDocument = (KmlDocument)rootNode;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The sample assumes the root node in the KMZ is a KMLDocument node.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2022 00:42:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/kmz-to-kmldocument/m-p/1182076#M5776</guid>
      <dc:creator>PriyankaRupani</dc:creator>
      <dc:date>2022-06-11T00:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: KMZ to KmlDocument</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/kmz-to-kmldocument/m-p/1183065#M5779</link>
      <description>&lt;P&gt;This suggestion works!!!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 10:18:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/kmz-to-kmldocument/m-p/1183065#M5779</guid>
      <dc:creator>AngeloSilva</dc:creator>
      <dc:date>2022-06-15T10:18:43Z</dc:date>
    </item>
  </channel>
</rss>

