Update Tag

7 views
Skip to first unread message

rdecker

unread,
Jul 26, 2007, 11:52:42 AM7/26/07
to KML Developer Support - Getting Started
I am working with the Update tag and I can't get it to work. I have
copied the toutorial locally and I am trying to "tweak" it to match my
needs but I get a security message. Does this sound failiar to
anyone.

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>

tobedetermined

unread,
Jul 26, 2007, 2:32:57 PM7/26/07
to KML Developer Support - Getting Started
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/thread/59ebee8c5ba1650f/88aef87340f412ba#88aef87340f412ba

Alexander

rdecker

unread,
Jul 30, 2007, 9:49:13 AM7/30/07
to KML Developer Support - Getting Started
Maybe it is but I am not using the API...in fact I am trying real hard
NOT to use the API.

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 -

ManoM

unread,
Jul 30, 2007, 12:15:39 PM7/30/07
to KML Developer Support - Getting Started
Hi rdecker,

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

rdecker

unread,
Jul 31, 2007, 11:55:26 AM7/31/07
to KML Developer Support - Getting Started
I used the toutorial from the Google Earth KMl 2.1 web page.

On Jul 30, 12:15 pm, ManoM wrote:
> Hirdecker,

> > > - Show quoted text -- Hide quoted text -

ManoM

unread,
Aug 1, 2007, 10:32:58 AM8/1/07
to KML Developer Support - Getting Started
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 the
Update over http or on your local file system?

beegee

unread,
Sep 3, 2007, 4:54:06 PM9/3/07
to KML Developer Support - Getting Started
Hello,

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 -

Reply all
Reply to author
Forward
0 new messages