Jump to content

KLM file has missing or bad root element


knowschad

Recommended Posts

I created a route ("Lancaster, PA to Mount Joy, PA") and tried to use the Create KML option, but when I do, Google Earth tells me that the generated KML "has a missing or bad root element". I tried searching this forum for that and didn't come up with any good hits, so I can only assume that its something that I'm doing wrong. Help?

 

(Google Earth version 4.2.0180.1134 (beta), Win XP Media Center Edition)

 

Thanks!!

Link to comment

In addition, when I click on the route, the map that is displayed is of Snoqualmie Pass in Washington state, thousands of miles from Pennsylvania.

 

If I create a .gpx route and open it in EasyGPS, I get the lattitudes and longitudes for each cache, but no cache name or other information.

 

If I select the Create Pocket Query option, I'm shown a map of the entire globe.

Link to comment

I'm sure you already know this but.....just in case.....

 

In Google Earth, you use the directions tab then enter "Lancaster, PA" and "Mount Joy, PA".

 

Then click the Go buttom. At the bottom of all the route data is the "Route" which is a .KMZ file. Save that to your disk.

 

In Geocaching.com go to "Caches along a route" up load that .KMZ, save it then select it for your pocke query. Just using the default pocket query stuff, there is 1 page of caches that show up.

 

-------------------------

 

Google Earth shows the distance between "Lancaster, PA" and "Mount Joy, PA" to be 14.04 miles.

Link to comment

I'm sure you already know this but.....just in case.....

 

In Google Earth, you use the directions tab then enter "Lancaster, PA" and "Mount Joy, PA".

 

Then click the Go buttom. At the bottom of all the route data is the "Route" which is a .KMZ file. Save that to your disk.

 

In Geocaching.com go to "Caches along a route" up load that .KMZ, save it then select it for your pocke query. Just using the default pocket query stuff, there is 1 page of caches that show up.

 

-------------------------

 

Google Earth shows the distance between "Lancaster, PA" and "Mount Joy, PA" to be 14.04 miles.

 

Aha!!! The instruction page reads just a bit different from your instructions!

 

4. Scroll to the top of the directions list until you see the start/end location

Right click and choose "Save As..."

 

(Moments later) Nope... I had great hope, but that gives me the same symptoms. Thanks for trying!

 

By the way, the distance of 14.04 miles is correct.

Edited by knowschad
Link to comment

For what its worth, here's the gpx that it created. I don't see any way to download the kml directly so that I can take a look at it, but perhaps this will help:

 

<?xml version="1.0" encoding="utf-8"?><gpx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.1" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.bw-a-tects.com/DotNet/Tools/Cod...zer11.xsd" xmlns="http://www.topografix.com/GPX/1/1"><rte><rtept lat="40.03804" lon="-76.30126" /><rtept lat="40.04156" lon="-76.30192" /><rtept lat="40.04627" lon="-76.30288" /><rtept lat="40.05259" lon="-76.30406" /><rtept lat="40.05259" lon="-76.30406" /><rtept lat="40.0525" lon="-76.30474" /><rtept lat="40.05256" lon="-76.30489" /><rtept lat="40.05256" lon="-76.30489" /><rtept lat="40.05414" lon="-76.30527" /><rtept lat="40.05422" lon="-76.30523" /><rtept lat="40.06062" lon="-76.3062" /><rtept lat="40.06062" lon="-76.3062" /><rtept lat="40.06948" lon="-76.30765" /><rtept lat="40.06948" lon="-76.30765" /><rtept lat="40.06982" lon="-76.3099" /><rtept lat="40.06982" lon="-76.3099" /><rtept lat="40.06999" lon="-76.31367" /><rtept lat="40.07029" lon="-76.31572" /><rtept lat="40.07062" lon="-76.31843" /><rtept lat="40.07062" lon="-76.31843" /><rtept lat="40.07098" lon="-76.32236" /><rtept lat="40.07112" lon="-76.32337" /><rtept lat="40.07166" lon="-76.32594" /><rtept lat="40.07216" lon="-76.32789" /><rtept lat="40.07264" lon="-76.32931" /><rtept lat="40.07287" lon="-76.32993" /><rtept lat="40.07407" lon="-76.33241" /><rtept lat="40.07565" lon="-76.33596" /><rtept lat="40.07886" lon="-76.34286" /><rtept lat="40.0798" lon="-76.34515" /><rtept lat="40.08043" lon="-76.34705" /><rtept lat="40.08098" lon="-76.34991" /><rtept lat="40.08147" lon="-76.35305" /><rtept lat="40.08177" lon="-76.35462" /><rtept lat="40.08245" lon="-76.35928" /><rtept lat="40.08361" lon="-76.36667" /><rtept lat="40.08397" lon="-76.36863" /><rtept lat="40.08432" lon="-76.37001" /><rtept lat="40.08484" lon="-76.37162" /><rtept lat="40.08558" lon="-76.37345" /><rtept lat="40.09488" lon="-76.39328" /><rtept lat="40.09536" lon="-76.39435" /><rtept lat="40.09583" lon="-76.39563" /><rtept lat="40.09624" lon="-76.39695" /><rtept lat="40.09675" lon="-76.39911" /><rtept lat="40.09825" lon="-76.40914" /><rtept lat="40.09863" lon="-76.41071" /><rtept lat="40.09899" lon="-76.41194" /><rtept lat="40.09932" lon="-76.41288" /><rtept lat="40.1107" lon="-76.44111" /><rtept lat="40.12249" lon="-76.46475" /><rtept lat="40.12249" lon="-76.46475" /><rtept lat="40.12376" lon="-76.46685" /><rtept lat="40.12425" lon="-76.46738" /><rtept lat="40.1249" lon="-76.4679" /><rtept lat="40.1249" lon="-76.4679" /><rtept lat="40.12413" lon="-76.47121" /><rtept lat="40.12393" lon="-76.4724" /><rtept lat="40.12357" lon="-76.47696" /><rtept lat="40.12349" lon="-76.47741" /><rtept lat="40.12272" lon="-76.48028" /><rtept lat="40.12077" lon="-76.48719" /><rtept lat="40.11962" lon="-76.49095" /><rtept lat="40.11754" lon="-76.4963" /><rtept lat="40.11589" lon="-76.49979" /><rtept lat="40.11344" lon="-76.5037" /><rtept lat="40.11055" lon="-76.50674" /><rtept lat="40.11048" lon="-76.50686" /><rtept lat="40.11048" lon="-76.50686" /><rtept lat="40.1106" lon="-76.5074" /></rte></gpx>

Link to comment

I went through the steps to create this route and had no error. The PQ looks fine. The displayed route looks fine.

 

If you want to get to the bottom of the problem, I would suggest that you post exactly what you do up to the point of the first problem.

 

In the meantime, I left the created route as public, name of knowschad, keyword of knowschad.

 

But I would suggest figuring out the problem because I will delete that at some time in the future. (What happens to other's PQs when they are based on public route that is later deleted?)

Link to comment

I went through the steps to create this route and had no error. The PQ looks fine. The displayed route looks fine.

 

If you want to get to the bottom of the problem, I would suggest that you post exactly what you do up to the point of the first problem.

 

In the meantime, I left the created route as public, name of knowschad, keyword of knowschad.

 

But I would suggest figuring out the problem because I will delete that at some time in the future. (What happens to other's PQs when they are based on public route that is later deleted?)

 

Thanks for the help. But I am still getting the same error message from Google Earth when I try to load your route as a KLM (using the KLM of Route option on the Caches Along a Route page) I also get a GPX that has no cache names, and the Caches Along a Route page still displays a route in Washington state... in other words, the route that you created is giving me the same problems as the route that I created.

Link to comment

Do you go to my route and pick the "create a PQ" option?

 

When you display my route...does the route look correct in the box on the right?

 

Forget the KML download...that has not been working for quite a while.

 

"Forget the KML download...that has not been working for quite a while."

I did not know that.

 

"When you display my route...does the route look correct in the box on the right?"

No. Snoqualmie Pass in Washington is the map I see.

 

"Create PQ Option" Yes, that works. I didn't think that it was working, because the initial screen shows me a world map. But when I do actually create a PQ and preview it, I am indeed seeing what I was looking for. Not only that, but I'll be able to filter it in the ways that I want to. Thanks for your help!

 

Bottom line: It is working, but it needs work!

Link to comment

I'm sure you already know this but.....just in case.....

 

In Google Earth, you use the directions tab then enter "Lancaster, PA" and "Mount Joy, PA".

 

Then click the Go buttom. At the bottom of all the route data is the "Route" which is a .KMZ file. Save that to your disk.

 

In Geocaching.com go to "Caches along a route" up load that .KMZ, save it then select it for your pocke query. Just using the default pocket query stuff, there is 1 page of caches that show up.

 

-------------------------

 

Google Earth shows the distance between "Lancaster, PA" and "Mount Joy, PA" to be 14.04 miles.

 

"Click "Create GPX of Route" (.GPX) or "KML of Route" to download the route."

 

Does kmz work better than kml?

Link to comment

I'm sure you already know this but.....just in case.....

 

In Google Earth, you use the directions tab then enter "Lancaster, PA" and "Mount Joy, PA".

 

Then click the Go buttom. At the bottom of all the route data is the "Route" which is a .KMZ file. Save that to your disk.

 

In Geocaching.com go to "Caches along a route" up load that .KMZ, save it then select it for your pocke query. Just using the default pocket query stuff, there is 1 page of caches that show up.

 

-------------------------

 

Google Earth shows the distance between "Lancaster, PA" and "Mount Joy, PA" to be 14.04 miles.

 

"Click "Create GPX of Route" (.GPX) or "KML of Route" to download the route."

 

Does kmz work better than kml?

 

GPX... no. I mean, it works in that I get the coordinates, but nothing more than that. No waypoint names, no other GPX type information.

 

How do I create a KMZ from the route? That is not an option that I see.

Link to comment

I'm sure you already know this but.....just in case.....

 

In Google Earth, you use the directions tab then enter "Lancaster, PA" and "Mount Joy, PA".

 

Then click the Go buttom. At the bottom of all the route data is the "Route" which is a .KMZ file. Save that to your disk.

 

In Geocaching.com go to "Caches along a route" up load that .KMZ, save it then select it for your pocke query. Just using the default pocket query stuff, there is 1 page of caches that show up.

 

-------------------------

 

Google Earth shows the distance between "Lancaster, PA" and "Mount Joy, PA" to be 14.04 miles.

 

"Click "Create GPX of Route" (.GPX) or "KML of Route" to download the route."

 

Does kmz work better than kml?

 

GPX... no. I mean, it works in that I get the coordinates, but nothing more than that. No waypoint names, no other GPX type information.

 

How do I create a KMZ from the route? That is not an option that I see.

 

KMZ should be the default. However you are supposed to use .kml according to the GC instructions. Don't know what effect if any using the kmz extension might have.

 

Since I have naver had an issue with the route thingy, it has never been an issue. One thing that I do know is that unless the problem has been fixed, the system for reasons unknown sometimes will display a map that has nothing to do with reality, sometimes even drawing a route line out into the ocean. If this what's going on, just ignore it and complete the route steps as normal. The result ought to be as expected, this has been the case in the past.

Edited by Team Cotati
Link to comment

KMZ should be the default. However you are supposed to use .kml according to the GC instructions. Don't know what effect if any using the kmz extension might have.

 

Since I have naver had an issue with the route thingy, it has never been an issue. One thing that I do know is that unless the problem has been fixed, the system for reasons unknown sometimes will display a map that has nothing to do with reality, sometimes even drawing a route line out into the ocean. If this what's going on, just ignore it and complete the route steps as normal. The result ought to be as expected, this has been the case in the past.

 

That explains the world map and the map of Washington, anyway. The distance is correct, at least.

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