Hi,
I have successfully used the AsyncSqlGeospatialDataReader to read shape data stored in a geometry column in SQL. I first read the geometry objects into a local collection and then assign that collection to the reader
var readerRail =
new
Telerik.Windows.Controls.Map.SqlGeospatialDataReader();
readerRail.Source = RailShapes;
readerRail.ToolTipFormat =
"{SegmentLabel}"
;
readerRail.GeospatialPropertyName =
"ShapeWKT"
;
readerRail.PreviewReadCompleted += readerRail_PreviewReadCompleted;
However, while this has worked on three previous collections on this specific one I get a "Non-static method requires a target" error. It seems as if some of the shape data must then be an issue but I have no idea where to start looking.
PS: SQL Management studio can query the data and display it