First file:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Document>
<name>My Point</name>
<open>1</open>
<Folder>
<name>The Point</name>
<visibility>0</visibility>
<open>1</open>
<Placemark>
<name>Place</name>
<visibility>0</visibility>
<description><![CDATA[
<a href="C:/NetworkLinkControl-Update.kml">Click Here to
Update</a><br>
]]></description>
<Point>
<extrude>1</extrude>
<altitudeMode>relativeToGround</altitudeMode>
<coordinates>-118.383,34.07,40</coordinates>
</Point>
</Placemark>
<Folder>
<name>Events</name>
<visibility>0</visibility>
<open>1</open>
<NetworkLink>
<name>Stuff for here</name>
<Link>
<href>C:/Point.kml</href>
</Link>
</NetworkLink>
</Folder>
</Folder>
</Document>
</kml>
Point file:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Document>
<Placemark id="pm123">
<name>point123</name>
<Point> <coordinates>-95.44,40.42,0</coordinates> </Point>
</Placemark> <Placemark id="pm456"> <name>point456</name>
<Point> <coordinates>-95.43,40.42,0</coordinates>
</Point>
</Placemark>
</Document>
</kml>
Update File:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<NetworkLinkControl>
<Update>
<targetHref>"C:/Point.kml"</targetHref>
<Change>
<Placemark targetId="pm123"> <name>Name changed by Update Change</
name>
<!-- coordinates remain the same -->
</Placemark>
</Change> </Update>
</NetworkLinkControl>
</kml>
Alexander
On Jul 26, 2:32 pm, tobedetermined wrote:
> I am pretty sure its related to my inquiry earlier this week on using
> <update> through the COM API. See this thread for more info:
>
> http://groups.google.com/group/kml-support-com-api/browse_thread/thre...
>
> Alexander
>
> On Jul 26, 5:52 pm,rdeckerwrote:
>
>
>
> > I am working with theUpdatetag and I can't get it to work. I have
> > <Placemark targetId="pm123"> <name>Name changed byUpdateChange</
> > name>
> > <!-- coordinates remain the same -->
> > </Placemark>
> > </Change> </Update>
> > </NetworkLinkControl>
> > </kml>- Hide quoted text -
>
> - Show quoted text -
By tutorial, you mean what's in the reference?
One thing I'm not sure is clearly spelled out. You need to load both
the initial file and the NetworkLinkControl via NetworkLink files.
ManoM
On Jul 30, 12:15 pm, ManoM wrote:
> Hirdecker,
> > > - Show quoted text -- Hide quoted text -
I've the same problem as described by rdecker. I'm trying to use the
Update-Tag with a file from local file system.
On 1 Aug., 16:32, ManoM wrote:
> What's the security message that you're getting? And is it a message
> in Google Earth, or related to something else? Are you running theUpdateover http or on your local file system?
> > > - Show quoted text -- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -