Network link fails to refresh

7 views
Skip to first unread message

Jared

unread,
May 16, 2008, 5:43:06 PM5/16/08
to KML Developer Support - KML Server Side Scripting
I have a network link that grabs streaming KML from an ASP script. It
refreshes onStop but sometimes it fails to refresh and you have to
manually tell it to refresh. It usually stops refreshing right after
the first placemarks are displayed but after you refresh the network
link manually it works fine. I have noticed the same problem on
another person's Network Link that works in a similar way. Is anyone
else having this issue? Is this a problem with Google Earth or am I
doing something wrong? Is there a workaround? I am using GE version
4.3.7191.6508.

Thanks in advance

ManoM

unread,
May 17, 2008, 2:51:33 PM5/17/08
to KML Developer Support - KML Server Side Scripting
Hi Jared,

Can you post a sample of the code you're using?

Mano

Jared

unread,
May 17, 2008, 9:16:16 PM5/17/08
to KML Developer Support - KML Server Side Scripting
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<NetworkLink>
<name>Test</name>
<refreshVisibility>1</refreshVisibility>
<Url>
<href>http://www.mydomain.com/test.asp?</href>
<viewRefreshMode>onStop</viewRefreshMode>
<viewRefreshTime>1</viewRefreshTime>
<viewFormat>BBOX=[bboxWest],[bboxSouth],[bboxEast],[bboxNorth],
[lookatLon],[lookatLat],[lookatRange],[lookatTilt],[lookatHeading]</
viewFormat>
</Url>
</NetworkLink>
</kml>

ManoM

unread,
May 18, 2008, 3:22:25 PM5/18/08
to KML Developer Support - KML Server Side Scripting
Hi Jared,

Actually, I can't really replicate this, can you point to your actual
site?

BTW, for forward compatibility, change the <Url> element to <Link> and
drop the ? at the end of your URL.

Mano

ManoM

unread,
May 18, 2008, 3:26:13 PM5/18/08
to KML Developer Support - KML Server Side Scripting
Oh, and have you checked your access logs to see if it is hitting your
server?

On May 17, 6:16 pm, Jared wrote:

Jared

unread,
May 19, 2008, 9:55:03 AM5/19/08
to KML Developer Support - KML Server Side Scripting
Yeah, it works at first but then stops. I have tested it on several
different machines. I put the site up on a test server.
http://ispeed.qsh.es/test/nltest.asp
Zoom in on Oklahoma City until you see placemarks and then you should
notice the problem.
> > </kml>- Hide quoted text -
>
> - Show quoted text -

ManoM

unread,
May 19, 2008, 12:54:34 PM5/19/08
to KML Developer Support - KML Server Side Scripting
Hi Jared,

I tested this out, and it seems to work fine for me. You're using
Windows, correct? Is there anything about your local machine that
might cause issues? Like firewall settings, etc?

You can check the access logs from me, I hit it around 9:48PST, up to
about 9:54.

Mano

On May 19, 6:55 am, Jared wrote:
> Yeah, it works at first but then stops. I have tested it on several
> different machines. I put the site up on a test server.http://ispeed.qsh.es/test/nltest.asp

Jared

unread,
May 19, 2008, 4:50:53 PM5/19/08
to KML Developer Support - KML Server Side Scripting
Did it continually refresh for you? I have the same problem on a Vista
Business machine and XP Pro on three machines in different physical
locations. So I would be suprised if it was just a local issue. I'm
not sure if you understand the problem. You should be able to scroll
aound Oklahoma and have the KML continually refresh the placemarks in
the view. My problem is it doesn't keep refreshing. You have to
manually refresh it once to keep it working. It happens in every test
environment I have tried it in. I also know of another persons
program that works the same way and has this problem.

Thanks for your help,
Jared
> > > - Show quoted text -- Hide quoted text -

ManoM

unread,
May 19, 2008, 5:51:56 PM5/19/08
to KML Developer Support - KML Server Side Scripting
Hi Jared,

Yes. I just tried it again, I'm able to navigate around Oklahoma just
fine. In fact, I did it several times, just tried it again.

I'll try testing it on another machine when I get a chance. Just out
of curiosity, and this shouldn't matter, but have you tried switching
between OpenGL and DirectX?

Mano

Jared

unread,
May 19, 2008, 6:09:59 PM5/19/08
to KML Developer Support - KML Server Side Scripting
Yeah, I have have an XP machine that I use OpenGL on and the rest I
use DirectX but I will try to check both on all machines later. This
is very curious, I have had several people test it with same problem.
I guess it is a good thing that not everyone is affected but I would
like to get to the bottom of it. I'll let you know my results.

Jared

unread,
May 19, 2008, 11:14:42 PM5/19/08
to KML Developer Support - KML Server Side Scripting
Still no luck with switching between OpenGL and DirectX.

ManoM

unread,
May 20, 2008, 1:11:06 PM5/20/08
to KML Developer Support - KML Server Side Scripting
Hmmm... Still can't replicated it. I had a colleague try it too, and
she didn't have any problems.

Mano

Jared

unread,
May 20, 2008, 2:17:01 PM5/20/08
to KML Developer Support - KML Server Side Scripting
Okay. Well, thanks for your help, I guess it is working.

KoflAIR

unread,
May 22, 2008, 10:14:07 AM5/22/08
to KML Developer Support - KML Server Side Scripting
I have exactly the same problem.

The OnStop NetworkLink stops refreshing about after the first or
second update.
After once being restarted, it continues to work fine and no longer
fails.
Reply all
Reply to author
Forward
0 new messages