Jump to content

KML export of bookmark listings


goldensurfer

Recommended Posts

Hi folks,

 

I think there's a small error in the implementation of the KML export of bookmark lists. If we have a look at a bookmark-list's URL, it reads for example:

http://www.geocaching.com/bookmarks/view.a...66-d4a6be1c5d8d

 

If we replace "/bookmarks/view.aspx" by "/kml/bmkml.aspx", we get: http://www.geocaching.com/kml/bmkml.aspx?b...66-d4a6be1c5d8d as the new URL

 

Now we go to http://maps.google.com and enter the above URL into the search field. The bookmark list is being displayed in GoogleMaps (without having to install GoogleEarth). But we also seen an error: "parts of http://... could not be displayed due to errors", and see the blue standard flag displayed instead of the according cache item.

 

The lines causing the errors are:

	<Style>
  <Icon>
	<href>http://www.geocaching.com/images/kml/traditional.png</href>
  </Icon>
</Style>

 

Embedding the <Icon> tag in a <IconStyle>-Tag solves the problem:

 

	<Style>
 <IconStyle>
  <Icon>
	<href>http://www.geocaching.com/images/kml/traditional.png</href>
  </Icon>
 </IconStyle>
</Style>

 

I have no idea if the GoogleEarth application can cope with that code - I haven't installed it. If so, maybe someone could update the code on the geocaching.com website that generates the KML files?

Link to comment
Guest
This topic is now closed to further replies.
×
×
  • Create New...