chico0052003 / kml-samples

Automatically exported from code.google.com/p/kml-samples
0 stars 0 forks source link

One networklink won't work #302

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Which products are affected?
Google Earth standalone ie desktop

What steps will reproduce the problem?
1. Upload lots of small linestring kml files (see sample below).
2. In GE desktop, open a kml file which has a networklink to each of the 
above linestring kml files (see extract below).

What is the expected output or behavior? 
I expect every networklink to trigger the display of its kml file.

What do you see instead?
One or sometimes two of the networklinks fails to display its kml file.

What application versions (if any) are you using?
Google Earth 5.0.11733.9347

Which operating systems (and/or relevant web browsers) are affected?
Win XP

Please provide any additional information (code snippets/links) below.

In the following thread, Roman N asked me to report this as a possible bug:
http://groups.google.com/group/kml-support-getting-started/browse_thread/
thread/fcf72b1c8847b075?hl=en

In providing the snippets below, I noticed that I'm using an old xmlns. I 
will test with the new xmlns and report back if there's any improvement.

1. Sample linestring kml file
-----------------------------
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Folder>
<Style id="leg36">
<LineStyle>
<color>FFFFFF00</color>
<width>2.0</width>
</LineStyle>
</Style>
<StyleMap id="leg3">
<Pair>
<key>normal</key>
<styleUrl>#leg36</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#leg37</styleUrl>
</Pair>
</StyleMap>
<Style id="leg37">
<LineStyle>
<color>FFFFFF00</color>
<width>2.0</width>
</LineStyle>
</Style>
<Placemark id="Leg">
<name>1662, 64.8</name>
<styleUrl>#leg3</styleUrl>
<LineString>
<extrude>1</extrude>
<coordinates>
-50.000000,44.000000,0 -40.000000,45.000000,0 
</coordinates>
</LineString>
</Placemark>
</Folder>
</kml>

Extract from kml with networklinks
----------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Folder>
<NetworkLink>
<visibility>1</visibility>
<name>1, 0.1</name>
<refreshVisibility>1</refreshVisibility>
<Link>
<href>http://www.feedbacker.co.uk/poi/legs/LKPR-DONAD.kml</href>
</Link>
</NetworkLink>
<NetworkLink>
<visibility>1</visibility>
<name>2, 0.2</name>
<refreshVisibility>1</refreshVisibility>
<Link>
<href>http://www.feedbacker.co.uk/poi/legs/LOMKI-LKPR.kml</href>
</Link>
</NetworkLink>

etc until:
</Folder>
</kml>

Original issue reported on code.google.com by m...@around-the-world.co.uk on 10 Sep 2009 at 4:14