Often when working with more than one row of data in a sql resultset, you want to return a fragment of KML, not a entire well formed kml document.
I would like to suggest that the spatial tools ...
Id #10777 | Release:
| Updated: Feb 21 at 10:39 PM by Bigjimslade | Created: Jan 29 at 4:09 AM by Bigjimslade
Perhaps like so: -
public static SqlXml ExportToKml(SqlGeography g)
if (g == null || g.IsNull)
return new SqlXml();
Id #8717 | Release:
| Updated: Feb 21 at 10:39 PM by Bigjimslade | Created: May 31, 2011 at 9:45 AM by bsdz
A .NET Framework error occurred during execution of user-defined routine or aggregate "GeographyCollectionAggregate": System.NullReferenceException: Object reference not set to an instance of an...
Id #5399 | Release:
| Updated: Feb 21 at 10:39 PM by tintor | Created: Feb 12, 2010 at 9:16 AM by tintor