Ich habe einige Probleme bei der Konvertierung von Sql Server Geographie Daten in Silverlight XAML.Silverlight C# sql Geographie zu Xaml
/* Database query spatial data structure for the SQL Server spatial data types object */
var geo = SqlGeography.STGeomFromText (new SqlChars(new SqlString(polygon.ToString())), 4326);
/* Spatial data structure for the Bing Maps graphical objects (polygons) XAML text, to resolve Xaml directly returned to the client in the Silverlight application object. */
for (int j = 0; j < geo.NumRings(); j++)
Das Problem: geo.NumRings() Methode gibt null, aber ich habe 2 Ringe in meinem Polygon-Objekt.
unter dem Druckbild besser
link print screen source code and geo object data