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:
None
| Updated: Feb 21 at 10:39 PM by Bigjimslade | Created: Jan 29 at 4:09 AM by Bigjimslade
Perhaps like so: -
[Microsoft.SqlServer.Server.SqlFunction]
public static SqlXml ExportToKml(SqlGeography g)
{
if (g == null || g.IsNull)
return new SqlXml();
MemoryStream stre...
Id #8717 | Release:
None
| 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:
None
| Updated: Feb 21 at 10:39 PM by tintor | Created: Feb 12, 2010 at 9:16 AM by tintor