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 11:39 PM by Bigjimslade | Created: Jan 29 at 5: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 11:39 PM by Bigjimslade | Created: May 31, 2011 at 10: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 11:39 PM by tintor | Created: Feb 12, 2010 at 10:16 AM by tintor
When using GeographyCollectionAggregate or GeographyUnionAggregate on set of points that exceed the hemisphere limit an Exception is raised. What would be better is if NULL is returned as this woul...
Id #3737 | Release:
| Updated: Jun 14 at 8:21 AM by bsdz | Created: Jun 14, 2009 at 3:38 PM by bsdz