<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>sqlspatialtools Forum Rss Feed</title><link>http://www.codeplex.com/sqlspatialtools/Thread/List.aspx</link><description>sqlspatialtools Forum Rss Description</description><item><title>New Post: Project Status</title><link>http://sqlspatialtools.codeplex.com/discussions/431141</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;ok great I was trying to use the KML Features and it looks like there is a minoor issue with using it I think i have a fix would it be possible to get added as a developer?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>Bigjimslade</author><pubDate>Mon, 28 Jan 2013 18:57:02 GMT</pubDate><guid isPermaLink="false">New Post: Project Status 20130128065702P</guid></item><item><title>New Post: Project Status</title><link>http://sqlspatialtools.codeplex.com/discussions/431141</link><description>&lt;div style="line-height: normal;"&gt;
&lt;div&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;We’ve just finished rolling up most of the features in this project into SQL Server 2012 and are now doing the same for the Windows Azure SQL Database (formerly SQL Azure). This project will remain active on CodePlex
 while we determine what features to add next after we finish the SQL and Azure synchronizations.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in"&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10.0pt; font-family:"&gt; Bigjimslade [email removed]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Monday, January 28, 2013 10:44 AM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Ed Katibah&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Project Status [sqlspatialtools:431141]&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;From: Bigjimslade&lt;/span&gt;&lt;/p&gt;
&lt;div id="ThreadNotificationPostBody" style="margin-bottom:24.0pt"&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;What is the status of this project? is anyone still doing active development?&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>edwink</author><pubDate>Mon, 28 Jan 2013 18:54:05 GMT</pubDate><guid isPermaLink="false">New Post: Project Status 20130128065405P</guid></item><item><title>New Post: Project Status</title><link>http://sqlspatialtools.codeplex.com/discussions/431141</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;What is the status of this project? is anyone still doing active development?&lt;/p&gt;
&lt;/div&gt;</description><author>Bigjimslade</author><pubDate>Mon, 28 Jan 2013 18:44:01 GMT</pubDate><guid isPermaLink="false">New Post: Project Status 20130128064401P</guid></item><item><title>New Post: Showing two spatial columns in the spatial results together</title><link>http://sqlspatialtools.codeplex.com/discussions/404916</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;works like a charm!&lt;/p&gt;
&lt;p&gt;Thank you very much&lt;/p&gt;
&lt;/div&gt;</description><author>Viking42</author><pubDate>Fri, 30 Nov 2012 07:50:22 GMT</pubDate><guid isPermaLink="false">New Post: Showing two spatial columns in the spatial results together 20121130075022A</guid></item><item><title>New Post: Showing two spatial columns in the spatial results together</title><link>http://sqlspatialtools.codeplex.com/discussions/404916</link><description>&lt;div style="line-height: normal;"&gt;
&lt;div&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;You could try something like this:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-autospace:none"&gt;&lt;span style="font-family:"&gt;select&lt;/span&gt;&lt;span style="font-family:"&gt;
&lt;span style="color:blue"&gt;top&lt;/span&gt; 100 &lt;span style="color:blue"&gt;geography&lt;/span&gt;&lt;span style="color:gray"&gt;::&lt;/span&gt;Point&lt;span style="color:gray"&gt;(&lt;/span&gt;ddLatitude&lt;span style="color:gray"&gt;,&lt;/span&gt; ddLongitude&lt;span style="color:gray"&gt;,&lt;/span&gt; 4326&lt;span style="color:gray"&gt;)&lt;/span&gt;
&lt;span style="color:blue"&gt;as&lt;/span&gt; point&lt;span style="color:gray"&gt;,&lt;/span&gt; geom &lt;span style="color:blue"&gt;
into&lt;/span&gt; #foo&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-autospace:none"&gt;&lt;span style="font-family:"&gt;&lt;span style="color:blue"&gt;from&lt;/span&gt; Area&lt;span style="color:gray"&gt;,&lt;/span&gt; Position&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-autospace:none"&gt;&lt;span style="font-family:"&gt;&lt;span style="color:blue"&gt;where&lt;/span&gt;
&lt;span style="color:blue"&gt;geography&lt;/span&gt;&lt;span style="color:gray"&gt;::&lt;/span&gt;Point&lt;span style="color:gray"&gt;(&lt;/span&gt;ddLatitude&lt;span style="color:gray"&gt;,&lt;/span&gt; ddLongitude&lt;span style="color:gray"&gt;,&lt;/span&gt; 4326&lt;span style="color:gray"&gt;).&lt;/span&gt;STIntersects&lt;span style="color:gray"&gt;(&lt;/span&gt;Area&lt;span style="color:gray"&gt;.&lt;/span&gt;geom&lt;span style="color:gray"&gt;)&lt;/span&gt;
&lt;span style="color:gray"&gt;=&lt;/span&gt; 0 &lt;/span&gt;&lt;/p&gt;
&lt;p style="text-autospace:none"&gt;&lt;span style="font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-autospace:none"&gt;&lt;span style="font-family:"&gt;select&lt;/span&gt;&lt;span style="font-family:"&gt; point&lt;span style="color:gray"&gt;.&lt;/span&gt;STBuffer&lt;span style="color:gray"&gt;(&lt;/span&gt;1000&lt;span style="color:gray"&gt;)&lt;/span&gt;
&lt;span style="color:blue"&gt;from&lt;/span&gt; #foo&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-autospace:none"&gt;&lt;span style="font-family:"&gt;union&lt;/span&gt;&lt;span style="font-family:"&gt;
&lt;span style="color:gray"&gt;all&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:"&gt;select&lt;/span&gt;&lt;span style="font-family:"&gt; geom &lt;span style="color:blue"&gt;
from&lt;/span&gt; #foo&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;The general approach would be to populate a temporary table with the output from the select (into #foo). Then you can logically merge the two spatial columns in #foo using the union all command.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;Note the simplified point constructor, Point(). When you are using the geography type and the Point() method in argument list is LATITUDE, LONGITUDE, SRID.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;Please let us know if this answers your question.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;-Ed&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in"&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10.0pt; font-family:"&gt; Viking42 [email removed]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wednesday, November 28, 2012 8:44 AM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Ed Katibah&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Showing two spatial columns in the spatial results together [sqlspatialtools:404916]&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;From: Viking42&lt;/span&gt;&lt;/p&gt;
&lt;div id="ThreadNotificationPostBody" style="margin-bottom:24.0pt"&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;Hi,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;I am new to this and I have some geo points that does not intersects with my geo structures and I want to plot these and see where these points are in order to debug the solution.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;I run the following query in MS SQL management studio:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;select&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;top&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:"&gt; 100
&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;geography&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;::&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;STPointFromText&lt;span style="color:gray"&gt;(&lt;/span&gt;&lt;span style="color:red"&gt;'POINT('&lt;/span&gt;
&lt;span style="color:gray"&gt;&amp;#43;&lt;/span&gt; &lt;span style="color:fuchsia"&gt;CAST&lt;/span&gt;&lt;span style="color:gray"&gt;(&lt;/span&gt;ddLongitude
&lt;span style="color:blue"&gt;AS&lt;/span&gt; &lt;span style="color:blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color:gray"&gt;)&lt;/span&gt;
&lt;span style="color:gray"&gt;&amp;#43;&lt;/span&gt; &lt;span style="color:red"&gt;' '&lt;/span&gt; &lt;span style="color:gray"&gt;
&amp;#43;&lt;/span&gt; &lt;span style="color:fuchsia"&gt;CAST&lt;/span&gt;&lt;span style="color:gray"&gt;(&lt;/span&gt;ddLatitude
&lt;span style="color:blue"&gt;AS&lt;/span&gt; &lt;span style="color:blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color:gray"&gt;)&lt;/span&gt;
&lt;span style="color:gray"&gt;&amp;#43;&lt;/span&gt; &lt;span style="color:red"&gt;')'&lt;/span&gt;&lt;span style="color:gray"&gt;,&lt;/span&gt; 4326&lt;span style="color:gray"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;,&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;geom
&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;from&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:"&gt; Area&lt;span style="color:gray"&gt;,&lt;/span&gt; Position&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;where&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;geography&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;::&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;STPointFromText&lt;span style="color:gray"&gt;(&lt;/span&gt;&lt;span style="color:red"&gt;'POINT('&lt;/span&gt;
&lt;span style="color:gray"&gt;&amp;#43;&lt;/span&gt; &lt;span style="color:fuchsia"&gt;CAST&lt;/span&gt;&lt;span style="color:gray"&gt;(&lt;/span&gt;ddLongitude
&lt;span style="color:blue"&gt;AS&lt;/span&gt; &lt;span style="color:blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color:gray"&gt;)&lt;/span&gt;
&lt;span style="color:gray"&gt;&amp;#43;&lt;/span&gt; &lt;span style="color:red"&gt;' '&lt;/span&gt; &lt;span style="color:gray"&gt;
&amp;#43;&lt;/span&gt; &lt;span style="color:fuchsia"&gt;CAST&lt;/span&gt;&lt;span style="color:gray"&gt;(&lt;/span&gt;ddLatitude
&lt;span style="color:blue"&gt;AS&lt;/span&gt; &lt;span style="color:blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color:gray"&gt;)&lt;/span&gt;
&lt;span style="color:gray"&gt;&amp;#43;&lt;/span&gt; &lt;span style="color:red"&gt;')'&lt;/span&gt;&lt;span style="color:gray"&gt;,&lt;/span&gt; 4326&lt;span style="color:gray"&gt;).&lt;/span&gt;STIntersects&lt;span style="color:gray"&gt;(&lt;/span&gt;Area&lt;span style="color:gray"&gt;.&lt;/span&gt;geom&lt;span style="color:gray"&gt;)&lt;/span&gt;
&lt;span style="color:gray"&gt;= 0&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;I can switch between the two columns in the Spatial Results window but I want to see the points and my shapes together. Is there a way to do this?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;Thank you for your replies&lt;/span&gt;&lt;/p&gt;
&lt;div id="_mcePaste"&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&amp;#65279;&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>edwink</author><pubDate>Wed, 28 Nov 2012 18:16:02 GMT</pubDate><guid isPermaLink="false">New Post: Showing two spatial columns in the spatial results together 20121128061602P</guid></item><item><title>New Post: Showing two spatial columns in the spatial results together</title><link>http://sqlspatialtools.codeplex.com/discussions/404916</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am new to this and I have some geo points that does not intersects with my geo structures and I want to plot these and see where these points are in order to debug the solution.&lt;/p&gt;
&lt;p&gt;I run the following query in MS SQL management studio:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;&lt;font size="2" color="#0000ff"&gt;&lt;/p&gt;
&lt;p&gt;select&lt;/p&gt;
&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:x-small"&gt;&lt;/span&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;top&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt; 100
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;geography&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;::&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;STPointFromText&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#ff0000; font-size:x-small"&gt;&lt;span style="color:#ff0000; font-size:x-small"&gt;'POINT('&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&amp;#43;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#ff00ff; font-size:x-small"&gt;&lt;span style="color:#ff00ff; font-size:x-small"&gt;CAST&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;ddLongitude
&lt;/span&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;AS&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;VARCHAR&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&amp;#43;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#ff0000; font-size:x-small"&gt;&lt;span style="color:#ff0000; font-size:x-small"&gt;' '&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&amp;#43;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#ff00ff; font-size:x-small"&gt;&lt;span style="color:#ff00ff; font-size:x-small"&gt;CAST&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;ddLatitude
&lt;/span&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;AS&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;VARCHAR&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&amp;#43;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#ff0000; font-size:x-small"&gt;&lt;span style="color:#ff0000; font-size:x-small"&gt;')'&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
 4326&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;geom
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;from&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt; Area&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
 Position&lt;/span&gt;&lt;/p&gt;
&lt;span style="color:#0000ff; font-size:x-small"&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;
&lt;p&gt;where&lt;/p&gt;
&lt;font size="2" color="#0000ff"&gt;
&lt;p&gt;geography&lt;/p&gt;
&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;::&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;STPointFromText&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#ff0000; font-size:x-small"&gt;&lt;span style="color:#ff0000; font-size:x-small"&gt;'POINT('&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&amp;#43;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#ff00ff; font-size:x-small"&gt;&lt;span style="color:#ff00ff; font-size:x-small"&gt;CAST&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;ddLongitude
&lt;/span&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;AS&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;VARCHAR&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&amp;#43;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#ff0000; font-size:x-small"&gt;&lt;span style="color:#ff0000; font-size:x-small"&gt;' '&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&amp;#43;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#ff00ff; font-size:x-small"&gt;&lt;span style="color:#ff00ff; font-size:x-small"&gt;CAST&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;ddLatitude
&lt;/span&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;AS&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;&lt;span style="color:#0000ff; font-size:x-small"&gt;VARCHAR&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&amp;#43;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#ff0000; font-size:x-small"&gt;&lt;span style="color:#ff0000; font-size:x-small"&gt;')'&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
 4326&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;).&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;STIntersects&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;Area&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;geom&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;
&lt;/span&gt;&lt;span style="color:#808080; font-size:x-small"&gt;&lt;span style="color:#808080; font-size:x-small"&gt;= 0&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small"&gt;&lt;font size="2"&gt;
&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I can switch between the two columns in the Spatial Results window but I want to see the points and my shapes together.&amp;nbsp; Is there a way to do this?&lt;/p&gt;
&lt;p&gt;Thank you for your replies&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div id="_mcePaste" style="width:1px; height:1px; overflow:hidden; top:0px; left:-10000px"&gt;
&amp;#65279;&lt;/div&gt;
&lt;/div&gt;</description><author>Viking42</author><pubDate>Wed, 28 Nov 2012 16:43:33 GMT</pubDate><guid isPermaLink="false">New Post: Showing two spatial columns in the spatial results together 20121128044333P</guid></item><item><title>New Post: Project to UTM - long0 values</title><link>http://sqlspatialtools.codeplex.com/discussions/69864</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Don't know if this issue is still valid... I'm simply posting for the sake of future reference. I had some WSG 1984 geographies which needed to be projected into UTM on run-time using TranverseMercator. So I used this SqlSpatialTools library like adair but the numbers did not exactly matched after compering to ESRI ArcGIS outputs. So I found this page (http://home.hiwaay.net/~taylorc/toolbox/geography/geoutm.html) and based on the javascript implementation, coded a C# class within the SQLSpatialTools framework to take care of it. Now, does anyone knows how I can submit this new class (patch files) to the project admins?&lt;/p&gt;&lt;/div&gt;</description><author>kaveh096</author><pubDate>Wed, 29 Feb 2012 01:59:37 GMT</pubDate><guid isPermaLink="false">New Post: Project to UTM - long0 values 20120229015937A</guid></item><item><title>New Post: C# library for converting geom field of SQLServer into set of google latlng</title><link>http://sqlspatialtools.codeplex.com/discussions/291089</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Is there any C# library which can convert the geometry field into set of google latlngs? I have stored a shapefile into SQLserver table. From Sqlserver i want to read the geometry field data and want to convert this geom data into set of google latlngs in
 my C# application. Finally i want to save these google latlngs into another table in SQLServer.&lt;/p&gt;
&lt;/div&gt;</description><author>Mustafa646</author><pubDate>Fri, 03 Feb 2012 12:55:55 GMT</pubDate><guid isPermaLink="false">New Post: C# library for converting geom field of SQLServer into set of google latlng 20120203125555P</guid></item><item><title>New Post: NuGet package?</title><link>http://sqlspatialtools.codeplex.com/discussions/261136</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;A NuGet package would be very useful to us. I think NuGet has enough momentum behind it by now...&lt;/p&gt;&lt;/div&gt;</description><author>jalbert</author><pubDate>Wed, 25 Jan 2012 21:56:12 GMT</pubDate><guid isPermaLink="false">New Post: NuGet package? 20120125095612P</guid></item><item><title>New Post: Conversion of State Plane to WGS84</title><link>http://sqlspatialtools.codeplex.com/discussions/286893</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Ed -&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you very much for the comprehensive answer and your suggestions for further avenues of pursuit! I very much appreciate your time and effort. I'll look into&amp;nbsp;&lt;a href="http://safe.com/solutions/for-databases/microsoft-sql-server/loader-edition/"&gt;FME Microsoft SQL Server Data Loader Edition&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Warmest regards,&lt;/p&gt;
&lt;p&gt;Joel&lt;/p&gt;&lt;/div&gt;</description><author>alembic6</author><pubDate>Mon, 23 Jan 2012 15:26:30 GMT</pubDate><guid isPermaLink="false">New Post: Conversion of State Plane to WGS84 20120123032630P</guid></item><item><title>New Post: Conversion of State Plane to WGS84</title><link>http://sqlspatialtools.codeplex.com/discussions/286893</link><description>&lt;div style="line-height: normal;"&gt;
&lt;div&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;@alembic6&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;As you have discovered, SQL Server Spatial does not offer any coordinate projection/transformation methods as part of the core offering. There are several reasons for this which I won’t delve into here. The coordinate
 system projection code provided in the CodePlex SQL Server Spatial Tools Project is designed as working examples of how this might be done but will not, in themselves, solve this particular problem for you. There are several alternatives. First, you could,
 using the CodePlex sample code as a framework, create new CLR-based T-SQL functions to do this task. The algorithms are well known and published on the Internet in a variety of places. Or you could use the
&lt;a href="http://trac.osgeo.org/proj/"&gt;Proj.4 library&lt;/a&gt; available from OSGeo along with some CLR-code to create some new T-SQL functions. Or you could purchase the
&lt;a href="http://safe.com/solutions/for-databases/microsoft-sql-server/"&gt;Feature Manipulation Engine (FME)&lt;/a&gt; from Safe Software. If you are not familiar with FME but are interested in this approach, I would suggest that you avail yourself of the US$500 package,
&lt;a href="http://safe.com/solutions/for-databases/microsoft-sql-server/loader-edition/"&gt;
FME Microsoft SQL Server Data Loader Edition&lt;/a&gt; (&lt;i&gt;please check with Safe Software for current pricing&lt;/i&gt;). All FME editions allow you to easily and efficiently project coordinates and perform datum transformations. Lastly, you could check with
&lt;a href="http://www.bluemarblegeo.com/"&gt;Blue Marble Geographics&lt;/a&gt; and see what they have to offer. I have not worked with their product but there has been some discussion with them on this subject.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;Let us know if this information assists you or if you need addition guidance.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;-Ed&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in"&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10.0pt; font-family:"&gt; alembic6 [email removed]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Friday, January 20, 2012 4:07 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Ed Katibah&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Conversion of State Plane to WGS84 [sqlspatialtools:286893]&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;From: alembic6&lt;/span&gt;&lt;/p&gt;
&lt;div id="ThreadNotificationPostBody" style="margin-bottom:24.0pt"&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;I am trying to find the correct T-SQL code to convert X,Y State Plane coordinates (NAD83) to WGS84 coordinates. I have successfully installed SQL Spatial Tools and I have searched these discussion topics for assistance,
 but I am unable to assist myself. Can anyone point me in the right direction? Which function(s) should I use and how? I have a large table with X,Y values stored as integers. Thank you in advance for your assistance!&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>edwink</author><pubDate>Sat, 21 Jan 2012 00:41:13 GMT</pubDate><guid isPermaLink="false">New Post: Conversion of State Plane to WGS84 20120121124113A</guid></item><item><title>New Post: Conversion of State Plane to WGS84</title><link>http://sqlspatialtools.codeplex.com/discussions/286893</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I am trying to find the correct T-SQL code to convert X,Y State Plane coordinates (NAD83) to WGS84 coordinates. I have successfully installed SQL Spatial Tools and I have searched these discussion topics for assistance, but I am unable to assist myself.
 Can anyone point me in the right direction? Which function(s) should I use and how? I have a large table with X,Y values stored as integers. Thank you in advance for your assistance!&lt;/p&gt;
&lt;/div&gt;</description><author>alembic6</author><pubDate>Sat, 21 Jan 2012 00:07:02 GMT</pubDate><guid isPermaLink="false">New Post: Conversion of State Plane to WGS84 20120121120702A</guid></item><item><title>New Post: wgs84 lat/longs to web mercator projection</title><link>http://sqlspatialtools.codeplex.com/discussions/81927</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am storing data as Geometry. However, the Project method seems to accept only Geography type. So, I changed the above T-SQL a bit to suit to my needs. Below is a sample script performing re-projection to one Polygon.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="color: black; background-color: white;"&gt;
&lt;pre&gt;&lt;span style="color: blue;"&gt;DECLARE&lt;/span&gt; @geom Geometry;
&lt;span style="color: blue;"&gt;SET&lt;/span&gt; @geom = Geometry::STGeomFromText(&lt;span style="color: #a31515;"&gt;'POLYGON ((77.9672499974569 13.3208888689677, 77.968444442749 13.320666662852, 77.9683610916138 13.3203333218892, 77.9671388626099 13.3205555597941, 77.9672499974569 13.3208888689677))'&lt;/span&gt;, 4326)

&lt;span style="color: green;"&gt;-- Correct the ring orientation if it is incorrect&lt;/span&gt;
&lt;span style="color: green;"&gt;-- SqlGeography, unlike &lt;/span&gt;&lt;span style="color: green;"&gt;SqlGeometry&lt;/span&gt;&lt;span style="color: green;"&gt; data type is very unforgiving&lt;/span&gt;
&lt;span style="color: green;"&gt;-- This will force a validation of the Spatial object and correct the ring orientation internally&lt;/span&gt;
&lt;span style="color: green;"&gt;-- For more info see: http://blogs.msdn.com/b/edkatibah/archive/2008/08/19/working-with-invalid-data-and-the-sql-server-2008-geography-data-type-part-1b.aspx&lt;/span&gt;
&lt;span style="color: blue;"&gt;SET&lt;/span&gt; @geom = @geom.STUnion(@geom.STStartPoint());

&lt;span style="color: blue;"&gt;DECLARE&lt;/span&gt; @geography Geography
&lt;span style="color: blue;"&gt;SET&lt;/span&gt; @geography = Geography::STGeomFromText(@geom.STAsText(),@geom.STSrid)

&lt;span style="color: blue;"&gt;DECLARE&lt;/span&gt; @mercator Projection;
&lt;span style="color: blue;"&gt;SET&lt;/span&gt; @mercator = Projection::Mercator(0)

&lt;span style="color: blue;"&gt;SELECT&lt;/span&gt; 
	@geom.STAsText() &lt;span style="color: blue;"&gt;AS&lt;/span&gt; WGS84,
	@mercator.Project(@geography).STAsText() &lt;span style="color: blue;"&gt;AS&lt;/span&gt; WebMercator
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, the values I get are totally off! Here is what I get:&lt;/p&gt;
&lt;p&gt;Original Geometry: POLYGON ((77.968361091625411 13.320333321884391, 77.968444442754844 13.32066666285391, 77.967249997454928 13.320888868969632, 77.967138862615684 13.320555559796048, 77.968361091625411 13.320333321884391))&lt;/p&gt;
&lt;p&gt;Re-projected Geometry: POLYGON ((1.3608046134327036 0.23460666206021522, 1.3608060681843475 0.23461264080687308, 1.3607852211811289 0.2346166262623624, 1.3607832815122705 0.23461064808050117, 1.3608046134327036 0.23460666206021522))&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am not able to figure out what I am doing wrong. Any help will be great.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt; Raghu&lt;/p&gt;&lt;/div&gt;</description><author>kraghavk</author><pubDate>Sun, 08 Jan 2012 08:09:44 GMT</pubDate><guid isPermaLink="false">New Post: wgs84 lat/longs to web mercator projection 20120108080944A</guid></item><item><title>New Post: Conversion from ("non-vacuous") geography to geometry</title><link>http://sqlspatialtools.codeplex.com/discussions/278933</link><description>&lt;div style="line-height: normal;"&gt;There seems to be an asymmetry in the spatial tools provided. Given a geometry with an SRID we can convert to a geography with the same SRID using MakeValidGeographyFromGeometry What about the reverse process? There is a symmetric pair of functions for
 conversion when the items are &amp;quot;vacuous&amp;quot;, which I &amp;gt;think&amp;lt; means that they have no SRID. There is also an asymmetry in the spatial aggregations: we have GeographyUnionAggregate but no GeometryUnionAggregate. Is this forthcoming or it is redundant?
&lt;/div&gt;</description><author>StJohnKettle</author><pubDate>Thu, 10 Nov 2011 01:19:53 GMT</pubDate><guid isPermaLink="false">New Post: Conversion from ("non-vacuous") geography to geometry 20111110011953A</guid></item><item><title>New Post: Put two countries together</title><link>http://sqlspatialtools.codeplex.com/discussions/271923</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;GREAT Ed!&lt;/p&gt;
&lt;p&gt;How wonderful to take giant steps in the development with your help!&lt;/p&gt;
&lt;p&gt;It works perfect!&lt;/p&gt;
&lt;p&gt;Best regards, Joakim&lt;/p&gt;&lt;/div&gt;</description><author>Lannerstone</author><pubDate>Thu, 08 Sep 2011 21:39:35 GMT</pubDate><guid isPermaLink="false">New Post: Put two countries together 20110908093935P</guid></item><item><title>New Post: Put two countries together</title><link>http://sqlspatialtools.codeplex.com/discussions/271923</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Joakim -&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;em&gt;&amp;gt;I wan't to combine two separate geo-structures like Canada and US into one geo-area.&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Basically, what you want to create is an aggregate.&amp;nbsp; There are several ways to do this.&amp;nbsp;You can do this easily with two spatial objects at a time using the STUnion() method:&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;DECLARE @us GEOGRAPHY = (SELECT geog FROM COUNTRIES WHERE name = 'US');&lt;br /&gt;DECLARE @canada GEOGRAPHY = (SELECT geog FROM COUNTRIES WHERE name = 'Canada');&lt;br /&gt;SELECT @us.STUnion(@Canada);&lt;/p&gt;
&lt;p&gt;For SQL Server 2008, a more flexible way to do this would be to use the GeographyUnion() function in the CodePlex SQL Server Spatial Tools Project:&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;SELECT GeographyUnionAggregate(geog) FROM Countries WHERE name in ('US', 'Canada');&lt;/p&gt;
&lt;p&gt;For SQL Server Code-Named "Denali" (currently available as Denali CTP3), there is a new built-in aggregate, UnionAggregate, which supports this operation:&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;SELECT GEOGRAPHY::UnionAggregate(geog) FROM Countries WHERE name in ('US', 'Canada');&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;em&gt;&amp;gt;Another function I would like to see is the opposite: Split one region into two. But i think that one is thouger to manipulate.&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You can functionally do this a number of ways but I would encourage you to investigate the STIntersection() method.&lt;/p&gt;
&lt;p&gt;I hope this help,&lt;/p&gt;
&lt;p&gt;- Ed&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>edwink</author><pubDate>Thu, 08 Sep 2011 15:03:44 GMT</pubDate><guid isPermaLink="false">New Post: Put two countries together 20110908030344P</guid></item><item><title>New Post: Put two countries together</title><link>http://sqlspatialtools.codeplex.com/discussions/271923</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I'm a newbie in spatial data and maybe this is a very easy (stupid) question...&lt;/p&gt;
&lt;p&gt;I wan't to combine two separate geo-structures like Canada and US into one geo-area.&lt;/p&gt;
&lt;p&gt;Is there a function for this? Or is it a programatic way to solve it ?&lt;/p&gt;
&lt;p&gt;Another function I would like to see is the opposite: Split one region into two. But i think that one is thouger to manipulate.&lt;/p&gt;
&lt;p&gt;Best regards, Joakim&lt;/p&gt;
&lt;/div&gt;</description><author>Lannerstone</author><pubDate>Thu, 08 Sep 2011 14:05:08 GMT</pubDate><guid isPermaLink="false">New Post: Put two countries together 20110908020508P</guid></item><item><title>New Post: How to translate WGS 84 to Equirectangular?</title><link>http://sqlspatialtools.codeplex.com/discussions/271545</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I have a SqlGeogrpahy instance in my .Net application initialized to long, lat of 10,10. I wish to convert those to equirectangular planar coordinates.&lt;/p&gt;
&lt;p&gt;SqlProjection.Equirectangular expects &amp;quot;longitude0&amp;quot; and &amp;quot;parallel&amp;quot; parameters. What do those parameters represent, and how to determine their values?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;/div&gt;</description><author>yaakovd</author><pubDate>Mon, 05 Sep 2011 18:38:19 GMT</pubDate><guid isPermaLink="false">New Post: How to translate WGS 84 to Equirectangular? 20110905063819P</guid></item><item><title>New Post: Translate WGS84 to Mercator Projection</title><link>http://sqlspatialtools.codeplex.com/discussions/271307</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;I am using ASP Maps. The Lat/Lon co-ordinate for a specific area or specific point on my map is different from that on Google maps. So I want to convert the Lat/Lon co-ordinates on ASP Maps(WGS84 Projection) to that of Google Maps(Mercator Projection). How can I do that. If I am wrong somewhere Please correct me and suggest me what I should do.&lt;/p&gt;&lt;/div&gt;</description><author>sneha_783</author><pubDate>Sun, 04 Sep 2011 12:15:32 GMT</pubDate><guid isPermaLink="false">New Post: Translate WGS84 to Mercator Projection 20110904121532P</guid></item><item><title>New Post: Translate WGS84 to Mercator Projection</title><link>http://sqlspatialtools.codeplex.com/discussions/271307</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;@sneha_783&lt;/p&gt;
&lt;p&gt;You'll have to provide a little more clarification.&amp;nbsp; WGS84 lat/lon coordinates are spherical units.&amp;nbsp; Mercator is a type of map projection whose coordinates are specified as Eastings and Northings - X and Y coordinates - unlike your reference to "mercator &lt;span style="text-decoration: underline;"&gt;lat/long &lt;/span&gt;co-ordinates".&amp;nbsp; I'm presuming that you really want your WGS84 lat/long coordinates transformed in the server to "some" Mercator projection.&amp;nbsp; Additionally, based on the question you posed&amp;nbsp;on the &lt;a href="http://sqlspatialtools.codeplex.com/discussions/81927"&gt;wgs84 lat/longs_web mercator discussion&lt;/a&gt;, I'll presume you want the Web Mercator projection (EPSG 3857).&amp;nbsp; If this is the case, please refer back to the&amp;nbsp;﻿﻿﻿﻿wgs84 lat/longs web mercator&amp;nbsp;discussion, as it supplies everything you need to do.&lt;/p&gt;
&lt;p&gt;If you have additional questions on how to apply this to your specific environment/needs, please let me know and I will assist you.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;-Ed&lt;/p&gt;
&lt;table style="margin-top: 10px;" border="0" cellspacing="0" cellpadding="0" width="100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="bottom"&gt;&lt;span class="CodePlexPageHeader"&gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;</description><author>edwink</author><pubDate>Fri, 02 Sep 2011 19:12:36 GMT</pubDate><guid isPermaLink="false">New Post: Translate WGS84 to Mercator Projection 20110902071236P</guid></item></channel></rss>