This is a migrated thread and some comments may be shown as answers.

kml file reader problem

3 Answers 102 Views
Map
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 01 Mar 2012, 05:15 PM
   There are some problem in the KmlReader.Read(STR)
1. It is very slow for long kml string-mostly we can not control the size of kml file.
2. Read method is a static method. It does not support multithread to process KML file in the same time.
3. When I use the Shape file to populate the map, it is still slow.

Question: Any other ways to make the performance better, when I read the KML file?
or how to implement the multithread to read KML by KmlReader.Read(STR) .


3 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 06 Mar 2012, 09:40 AM
Hello Kevin,

Unfortunately you can't improve the performance for reading the KML file. Currently the KmlReader does not support multithreading for processing the KML file.
We have created a PITS issue to implement this feature in future releases of map control. You can track implementation of it using the following link:
http://www.telerik.com/support/pits.aspx#/public/silverlight/10024

Kind regards,
Andrey Murzov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Farkas
Top achievements
Rank 1
answered on 17 Jul 2013, 01:57 PM
Hi,

I have a kml file, and I can't read with Telerik Silverlight KML Reader. I attached the kml look, and the exception. (Unable to cast object of type 'System.Xml.Linq.XProcessingInstruction' to type 'System.Xml.Linq.XElement'.)
I appreciate any help.

Thanks,
Laszlo
0
Andrey
Telerik team
answered on 18 Jul 2013, 03:56 PM
Hi Farkas,

Unfortunately we can't reproduce the problem without your kml-file. Could you, please, open a support ticket and attach it for detail analysis?

Regards,
Andrey Murzov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Map
Asked by
Kevin
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Farkas
Top achievements
Rank 1
Share this question
or