Google Groups Home
Help | Sign in
Discussions > KML Server Side Scripting > Network link fails to refresh
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  14 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Jared  
View profile
 More options May 16, 5:43 pm
From: Jared
Date: Fri, 16 May 2008 14:43:06 -0700 (PDT)
Local: Fri, May 16 2008 5:43 pm
Subject: Network link fails to refresh
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


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ManoM Google employee  
View profile
 More options May 17, 2:51 pm
From: ManoM
Date: Sat, 17 May 2008 11:51:33 -0700 (PDT)
Local: Sat, May 17 2008 2:51 pm
Subject: Re: Network link fails to refresh
Hi Jared,

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

Mano

On May 16, 2:43 pm, Jared wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jared  
View profile
 More options May 17, 9:16 pm
From: Jared
Date: Sat, 17 May 2008 18:16:16 -0700 (PDT)
Local: Sat, May 17 2008 9:16 pm
Subject: Re: Network link fails to refresh
<?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>

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ManoM Google employee  
View profile
 More options May 18, 3:22 pm
From: ManoM
Date: Sun, 18 May 2008 12:22:25 -0700 (PDT)
Local: Sun, May 18 2008 3:22 pm
Subject: Re: Network link fails to refresh
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

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


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ManoM Google employee  
View profile
 More options May 18, 3:26 pm
From: ManoM
Date: Sun, 18 May 2008 12:26:13 -0700 (PDT)
Local: Sun, May 18 2008 3:26 pm
Subject: Re: Network link fails to refresh
Oh, and have you checked your access logs to see if it is hitting your
server?

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


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jared  
View profile
 More options May 19, 9:55 am
From: Jared
Date: Mon, 19 May 2008 06:55:03 -0700 (PDT)
Local: Mon, May 19 2008 9:55 am
Subject: Re: Network link fails to refresh
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.

On May 18, 2:26 pm, ManoM wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ManoM Google employee  
View profile
 More options May 19, 12:54 pm
From: ManoM
Date: Mon, 19 May 2008 09:54:34 -0700 (PDT)
Local: Mon, May 19 2008 12:54 pm
Subject: Re: Network link fails to refresh
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:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jared  
View profile
 More options May 19, 4:50 pm
From: Jared
Date: Mon, 19 May 2008 13:50:53 -0700 (PDT)
Local: Mon, May 19 2008 4:50 pm
Subject: Re: Network link fails to refresh
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

On May 19, 11:54 am, ManoM wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ManoM Google employee  
View profile
 More options May 19, 5:51 pm
From: ManoM
Date: Mon, 19 May 2008 14:51:56 -0700 (PDT)
Local: Mon, May 19 2008 5:51 pm
Subject: Re: Network link fails to refresh
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

On May 19, 1:50 pm, Jared wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jared  
View profile
 More options May 19, 6:09 pm
From: Jared
Date: Mon, 19 May 2008 15:09:59 -0700 (PDT)
Local: Mon, May 19 2008 6:09 pm
Subject: Re: Network link fails to refresh
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.

On May 19, 4:51 pm, ManoM wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jared  
View profile
 More options May 19, 11:14 pm
From: Jared
Date: Mon, 19 May 2008 20:14:42 -0700 (PDT)
Local: Mon, May 19 2008 11:14 pm
Subject: Re: Network link fails to refresh
Still no luck with switching between OpenGL and DirectX.

On May 19, 5:09 pm, Jared wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.