PDA

View Full Version : KML files not accepted by Google Maps



Citynumbers
11-14-2007, 09:18 PM
Can anyone tell me why these KML files are incorrect according to Google Maps:
http://www.citynumbers.com/kml2.kml
http://www.citynumbers.com/kml5.kml
http://www.citynumbers.com/kml10.kml

Other similair files can be displayd fine in Google Maps:
http://www.citynumbers.com/kml.kml
http://www.citynumbers.com/kml1.kml
http://www.citynumbers.com/kml3.kml

Thanks for helping out!

Gandolf
11-15-2007, 12:48 AM
"KML" format are Google Earth files. When I try to open one of your files they open in "XML" format.

I am not a programer so I am not sure what you should be doing.

There are plenty of users here that create KML and KMZ files in code, I am sure you will get an answer from one of them.

Citynumbers
11-15-2007, 09:05 PM
"KML" format are Google Earth files. When I try to open one of your files they open in "XML" format.

You can paste the URL into the search box of Google.maps.com. This is how I test my KML files, but the error message I receive does not give me a hint why the ones I mentioned tdon't work....

Forkboy2
11-16-2007, 09:00 PM
Google Maps only works with some KML files. Many will only work correctly in Google Earth.

Citynumbers
11-17-2007, 01:11 PM
The files are generated by the same script, that's why I don't understand...

I had some problems with special characters in the CData parts like é and â etc. When I took those out some files started working.

Citynumbers
11-17-2007, 10:03 PM
It's fixed now. The problem were some " characters in the HTML of the placemarks...