<?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 Trouble with KML network link updates in ArcGIS Explorer Desktop Questions</title>
    <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/trouble-with-kml-network-link-updates/m-p/763268#M4719</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to be able to modify KML features without reloading the whole file by using &amp;lt;NetworkLinkControl&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In ArcGIS Explorer I create a KML Network link pointing to &lt;/SPAN&gt;&lt;A href="http://localhost/link_control.kml" rel="nofollow noopener noreferrer" target="_blank"&gt;http://localhost/link_control.kml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;link_control.kml has a document with a single placemark.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;kml xmlns="http://www.opengis.net/kml/2.2"&amp;gt;
&amp;nbsp; &amp;lt;Document id="doc_top"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Placemark id="pm1"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;Placemark&amp;lt;/name&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Point id="pt1"&amp;gt;
 &amp;lt;coordinates&amp;gt;0,0,0&amp;lt;/coordinates&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Point&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Placemark&amp;gt;
&amp;nbsp; &amp;lt;/Document&amp;gt;
&amp;lt;/kml&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I then replace the contents of link_control.kml with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;kml xmlns="http://www.opengis.net/kml/2.2"&amp;gt;
&amp;nbsp; &amp;lt;NetworkLinkControl&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;linkName&amp;gt;Updated&amp;lt;/linkName&amp;gt;
&amp;nbsp; &amp;lt;/NetworkLinkControl&amp;gt;
&amp;lt;/kml&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the network link is refreshed, this should just update the name of the Network Link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that the placemark is also removed. I believe that refreshing a network link should retain the existing features unless they are explicitly deleted. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is that correct or is my reading the KML spec wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UPDATE:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've also tried an example from the KML 2.1 tutorial.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Add the following as a kml network link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://code.google.com/apis/kml/documentation/Point.kml" rel="nofollow noopener noreferrer" target="_blank"&gt;http://code.google.com/apis/kml/documentation/Point.kml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That creates two placemarks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then add the following as a kml network link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://code.google.com/apis/kml/documentation/NetworkLinkControl-Update.kml" rel="nofollow noopener noreferrer" target="_blank"&gt;http://code.google.com/apis/kml/documentation/NetworkLinkControl-Update.kml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is supposed to update one of the placemarks in the first link with a new name but it fails to load at all (error loading file).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works as expected in Google Earth Client. Is this a bug in ArcGIS Explorer? Or does it just require a different interpretation of the syntax?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 08:26:25 GMT</pubDate>
    <dc:creator>AlexRoberts</dc:creator>
    <dc:date>2021-12-12T08:26:25Z</dc:date>
    <item>
      <title>Trouble with KML network link updates</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/trouble-with-kml-network-link-updates/m-p/763268#M4719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to be able to modify KML features without reloading the whole file by using &amp;lt;NetworkLinkControl&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In ArcGIS Explorer I create a KML Network link pointing to &lt;/SPAN&gt;&lt;A href="http://localhost/link_control.kml" rel="nofollow noopener noreferrer" target="_blank"&gt;http://localhost/link_control.kml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;link_control.kml has a document with a single placemark.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;kml xmlns="http://www.opengis.net/kml/2.2"&amp;gt;
&amp;nbsp; &amp;lt;Document id="doc_top"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Placemark id="pm1"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;Placemark&amp;lt;/name&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Point id="pt1"&amp;gt;
 &amp;lt;coordinates&amp;gt;0,0,0&amp;lt;/coordinates&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Point&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Placemark&amp;gt;
&amp;nbsp; &amp;lt;/Document&amp;gt;
&amp;lt;/kml&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I then replace the contents of link_control.kml with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;kml xmlns="http://www.opengis.net/kml/2.2"&amp;gt;
&amp;nbsp; &amp;lt;NetworkLinkControl&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;linkName&amp;gt;Updated&amp;lt;/linkName&amp;gt;
&amp;nbsp; &amp;lt;/NetworkLinkControl&amp;gt;
&amp;lt;/kml&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the network link is refreshed, this should just update the name of the Network Link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that the placemark is also removed. I believe that refreshing a network link should retain the existing features unless they are explicitly deleted. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is that correct or is my reading the KML spec wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UPDATE:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've also tried an example from the KML 2.1 tutorial.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Add the following as a kml network link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://code.google.com/apis/kml/documentation/Point.kml" rel="nofollow noopener noreferrer" target="_blank"&gt;http://code.google.com/apis/kml/documentation/Point.kml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That creates two placemarks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then add the following as a kml network link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://code.google.com/apis/kml/documentation/NetworkLinkControl-Update.kml" rel="nofollow noopener noreferrer" target="_blank"&gt;http://code.google.com/apis/kml/documentation/NetworkLinkControl-Update.kml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is supposed to update one of the placemarks in the first link with a new name but it fails to load at all (error loading file).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works as expected in Google Earth Client. Is this a bug in ArcGIS Explorer? Or does it just require a different interpretation of the syntax?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:26:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/trouble-with-kml-network-link-updates/m-p/763268#M4719</guid>
      <dc:creator>AlexRoberts</dc:creator>
      <dc:date>2021-12-12T08:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with KML network link updates</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/trouble-with-kml-network-link-updates/m-p/763269#M4720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any plan to fix this?&amp;nbsp; Version 2500 is still broken.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 23:18:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/trouble-with-kml-network-link-updates/m-p/763269#M4720</guid>
      <dc:creator>VuDang</dc:creator>
      <dc:date>2014-03-21T23:18:43Z</dc:date>
    </item>
  </channel>
</rss>

