Results 1 to 6 of 6

Thread: KML files not accepted by Google Maps

  1. #1

    Default KML files not accepted by Google Maps

    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!

  2. #2
    Super Moderator Gandolf's Avatar
    Join Date
    Sep 2005
    Location
    California
    Posts
    763

    Default

    "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.
    Elfish for my true name
    Findecáno Táralóm


    My mind works better in sentences with spaces and long paragraphs loose me sometimes cause I need to picture what is going on at the same time I am reading.

  3. #3

    Default

    Quote Originally Posted by Gandolf View Post
    "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....

  4. #4

    Default

    Google Maps only works with some KML files. Many will only work correctly in Google Earth.

  5. #5

    Default

    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.

  6. #6

    Default

    It's fixed now. The problem were some " characters in the HTML of the placemarks...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •