Problem with KML importation of a WorldMap

2 posts, 0 answers
  1. cafedo
    cafedo avatar
    7 posts
    Member since:
    Nov 2009

    Posted 20 Nov 2009 Link to this post

    Hi,
    I'm evaluating MAP for Silverlight product for my company and I'm try to import a KML file that contains all world countries, but when i call the method KmlReader.Read(filename) a FormatException is raised ("Input string was not in a correct format."). Why? If I open this kml with Google Earth I have no problem.

    Here is the link where you can download the kml that I'm using: http://rapidshare.com/files/309842466/WorldMap.kml.html

    PS: could you give me some location where I could find some maps in kml format?

    Thanks,
    Carlo
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 23 Nov 2009 Link to this post

    Hi Carlo,

    Thank you for the sample kml file. We have inspected it and the problem is related to the fact that it contains coordinates with altitudes. Unfortuntaly altitudes were not supported by the KmlReader in the Q3 release.

    This problem will be fixed in the Q3 SP1 but for the time being you can download the hotfix from the "Latest Internal Builds" section in your Client.Net account.

    As for sample maps in kml format -- you can check this link here for example.


    Regards,
    Andrey Murzov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top