This question is locked. New answers and comments are not allowed.
Hi Team,
My application is in Silverlight 4.0. and using Telerik RadMap control version 2012.1.326.1040 (i.e. RadControls_for_Silverlight4_2012_1_0326_DEV_hotfix) but the problem is when i am loading shape file(5 mb) it takes lot of time(approximate 3 to 4 mins) to display on map and also takes time during zoom in zoom out.
So please let me know the solution as early as possible. its urgent requirement for the project.
I am not able to load local shape files.
Application throws an exception:
Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.String.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at Telerik.Windows.Controls.Map.DbfReader.GetNextRecord()
at Telerik.Windows.Controls.Map.DbfReader.MoveNext()
at Telerik.Windows.Controls.Map.ShapeFileReader.GetExtendedData(DbfReader dbfReader)
at Telerik.Windows.Controls.Map.ShapeFileReader.GetShape(EndianBinaryReader reader, DbfReader dbfReader, List`1 list, ShapeFileReaderParameters parameters)
at Telerik.Windows.Controls.Map.ShapeFileReader.GetShapes(EndianBinaryReader reader, ShapeFileHeader header, DbfReader dbfReader, ShapeFileReaderParameters parameters)
at Telerik.Windows.Controls.Map.ShapeFileReader.Read(ShapeFileReaderParameters parameters)
at Telerik.Windows.Controls.Map.MapShapeReader.ReadShapeFileByType(ShapeReaderStatus status)
at Telerik.Windows.Controls.Map.MapShapeReader.CompleteReading(ShapeReaderStatus status, Exception error)
at Telerik.Windows.Controls.Map.MapShapeReader.CheckComplete(Exception serviceError, Object userState, Stream stream, Boolean data)
at Telerik.Windows.Controls.Map.MapShapeReader.ReadData(Uri dataUri, ShapeReaderStatus userState)
at Telerik.Windows.Controls.Map.MapShapeReader.Read(Uri uri, Uri dataUri)
at Telerik.Windows.Controls.Map.MapShapeReader.Read()
at Telerik.Windows.Controls.Map.MapShapeReader.StartRead()
Please tell me where did i made an mistake? why i am getting this error..?
Thanks in advance.
Regards,
Nilesh
My application is in Silverlight 4.0. and using Telerik RadMap control version 2012.1.326.1040 (i.e. RadControls_for_Silverlight4_2012_1_0326_DEV_hotfix) but the problem is when i am loading shape file(5 mb) it takes lot of time(approximate 3 to 4 mins) to display on map and also takes time during zoom in zoom out.
So please let me know the solution as early as possible. its urgent requirement for the project.
I am not able to load local shape files.
Application throws an exception:
Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.String.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at Telerik.Windows.Controls.Map.DbfReader.GetNextRecord()
at Telerik.Windows.Controls.Map.DbfReader.MoveNext()
at Telerik.Windows.Controls.Map.ShapeFileReader.GetExtendedData(DbfReader dbfReader)
at Telerik.Windows.Controls.Map.ShapeFileReader.GetShape(EndianBinaryReader reader, DbfReader dbfReader, List`1 list, ShapeFileReaderParameters parameters)
at Telerik.Windows.Controls.Map.ShapeFileReader.GetShapes(EndianBinaryReader reader, ShapeFileHeader header, DbfReader dbfReader, ShapeFileReaderParameters parameters)
at Telerik.Windows.Controls.Map.ShapeFileReader.Read(ShapeFileReaderParameters parameters)
at Telerik.Windows.Controls.Map.MapShapeReader.ReadShapeFileByType(ShapeReaderStatus status)
at Telerik.Windows.Controls.Map.MapShapeReader.CompleteReading(ShapeReaderStatus status, Exception error)
at Telerik.Windows.Controls.Map.MapShapeReader.CheckComplete(Exception serviceError, Object userState, Stream stream, Boolean data)
at Telerik.Windows.Controls.Map.MapShapeReader.ReadData(Uri dataUri, ShapeReaderStatus userState)
at Telerik.Windows.Controls.Map.MapShapeReader.Read(Uri uri, Uri dataUri)
at Telerik.Windows.Controls.Map.MapShapeReader.Read()
at Telerik.Windows.Controls.Map.MapShapeReader.StartRead()
Please tell me where did i made an mistake? why i am getting this error..?
Thanks in advance.
Regards,
Nilesh