<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>MsSqlSpatial</title><link>http://www.codeplex.com/MsSqlSpatial/Project/ProjectRss.aspx</link><description>MsSqlSpatial - Spatial Extensions for Microsoft SQL Server 2005      This project conforms to OGC Simple Features Specification for SQL Revision 1.1 and provides other useful features to power your G...</description><item><title>New Post: import shape file error</title><link>http://www.codeplex.com/MsSqlSpatial/Thread/View.aspx?ThreadId=37261</link><description>&lt;div style="line-height: normal;"&gt;I import shape file with msscmd,when the .dbf file doesn't have nonunicode field,it works fine, but if the .dbf file contains some unicode field, it will retrieve some convert error.&lt;br&gt;
the shape file is upload to the following link&lt;br&gt;
&lt;a href="http://www.live-share.com/files/355298/road.rar.html"&gt;http://www.live-share.com/files/355298/road.rar.html&lt;/a&gt;&lt;br&gt;
I'm just a beginner in gis and program design and also english,&amp;nbsp;&amp;nbsp;my email is &lt;a href="mailto:zabcd117@163.com"&gt;zabcd117@163.com&lt;/a&gt;, anyone's help is appreciated. &lt;br&gt;
&lt;/div&gt;</description><author>zabcd117</author><pubDate>Wed, 08 Oct 2008 01:40:42 GMT</pubDate><guid isPermaLink="false">New Post: import shape file error 20081008014042A</guid></item><item><title>Source code checked in, #39645</title><link>http://www.codeplex.com/MsSqlSpatial/SourceControl/ListDownloadableCommits.aspx</link><description>updated dependencies</description><author>JohnDiss</author><pubDate>Fri, 12 Sep 2008 14:27:22 GMT</pubDate><guid isPermaLink="false">Source code checked in, #39645 20080912022722P</guid></item><item><title>New Post: Latitude and Longitude</title><link>http://www.codeplex.com/MsSqlSpatial/Thread/View.aspx?ThreadId=35382</link><description>&lt;div style="line-height: normal;"&gt;Hi NeSSaYah, it will be fine, just remember to use the correct srid for your coordinate system.. hth jd
&lt;/div&gt;</description><author>JohnDiss</author><pubDate>Thu, 11 Sep 2008 14:23:07 GMT</pubDate><guid isPermaLink="false">New Post: Latitude and Longitude 20080911022307P</guid></item><item><title>New Post: MsSqlSpatial and Raster data</title><link>http://www.codeplex.com/MsSqlSpatial/Thread/View.aspx?ThreadId=35366</link><description>&lt;div style="line-height: normal;"&gt;Unfortunately MsSqlSpatial doesn't handle raster data. jd
&lt;/div&gt;</description><author>JohnDiss</author><pubDate>Thu, 11 Sep 2008 14:21:14 GMT</pubDate><guid isPermaLink="false">New Post: MsSqlSpatial and Raster data 20080911022114P</guid></item><item><title>New Post: Latitude and Longitude</title><link>http://www.codeplex.com/MsSqlSpatial/Thread/View.aspx?ThreadId=35382</link><description>&lt;div style="line-height: normal;"&gt;Hello ~~&lt;br&gt;
&lt;br&gt;
Fist of all, gratz to all who made this app, U guys done geat work ;)&lt;br&gt;
&lt;br&gt;
The app runs smooth can i can play with coordinates in a flat surface.&lt;br&gt;
&lt;br&gt;
But what if I would like to store&amp;nbsp;Latitude and Longitude in my database ?&lt;br&gt;
Is it possible somehow ?
&lt;/div&gt;</description><author>NeSSaYah</author><pubDate>Wed, 10 Sep 2008 18:24:08 GMT</pubDate><guid isPermaLink="false">New Post: Latitude and Longitude 20080910062408P</guid></item><item><title>New Post: MsSqlSpatial and Raster data</title><link>http://www.codeplex.com/MsSqlSpatial/Thread/View.aspx?ThreadId=35366</link><description>&lt;div style="line-height: normal;"&gt;Can MsSqlSpatial work with raster data much like PostGis can?
&lt;/div&gt;</description><author>dmgimg</author><pubDate>Wed, 10 Sep 2008 14:11:46 GMT</pubDate><guid isPermaLink="false">New Post: MsSqlSpatial and Raster data 20080910021146P</guid></item><item><title>Created Issue: A .NET Framework error occurred during execution of user-defined routine or aggregate "Centroid":</title><link>http://www.codeplex.com/MsSqlSpatial/WorkItem/View.aspx?WorkItemId=17818</link><description>System.InvalidOperationException&amp;#58; Vertex components can&amp;#39;t be NaN.&lt;br /&gt;System.InvalidOperationException&amp;#58; &lt;br /&gt;   at NetTopologySuite.Coordinates.BufferedCoordinate2DFactory.getVertexInternal&amp;#40;Double x, Double y, Double w&amp;#41;&lt;br /&gt;   at NetTopologySuite.Coordinates.BufferedCoordinate2DFactory.getVertexInternal&amp;#40;Double x, Double y&amp;#41;&lt;br /&gt;   at NetTopologySuite.Coordinates.BufferedCoordinate2DFactory.Create&amp;#40;Double x, Double y&amp;#41;&lt;br /&gt;   at GisSharpBlog.NetTopologySuite.Algorithm.CentroidArea&amp;#96;1.get_Centroid&amp;#40;&amp;#41;&lt;br /&gt;   at GisSharpBlog.NetTopologySuite.Geometries.Geometry&amp;#96;1.get_Centroid&amp;#40;&amp;#41;&lt;br /&gt;   at GisSharpBlog.NetTopologySuite.Geometries.Geometry&amp;#96;1.GeoAPI.Geometries.IGeometry.get_Centroid&amp;#40;&amp;#41;&lt;br /&gt;   at UserDefinedFunctions.Centroid&amp;#40;SqlBytes ewkb&amp;#41;&lt;br /&gt;</description><author>angelobac</author><pubDate>Wed, 13 Aug 2008 15:12:07 GMT</pubDate><guid isPermaLink="false">Created Issue: A .NET Framework error occurred during execution of user-defined routine or aggregate "Centroid": 20080813031207P</guid></item><item><title>New Post: ST.PointN Vs ST.NPoint</title><link>http://www.codeplex.com/MsSqlSpatial/Thread/View.aspx?ThreadId=33310</link><description>&lt;div style="line-height: normal;"&gt;Thanks &lt;span style="text-decoration:underline"&gt;&lt;a id="ctl00_ctl00_Content_TabContentPanel_Content_PostRepeater_ctl02_UserNameLink" href="../site/users/view/JohnDiss"&gt;JohnDiss&lt;/a&gt;&lt;/span&gt; for the help!&lt;br&gt;
&lt;br&gt;
-belame&lt;br&gt;
&lt;/div&gt;</description><author>belame</author><pubDate>Tue, 12 Aug 2008 15:50:05 GMT</pubDate><guid isPermaLink="false">New Post: ST.PointN Vs ST.NPoint 20080812035005P</guid></item><item><title>New Post: ST.PointN Vs ST.NPoint</title><link>http://www.codeplex.com/MsSqlSpatial/Thread/View.aspx?ThreadId=33310</link><description>&lt;div style="line-height: normal;"&gt;Hi belame, you want something like&amp;nbsp;&amp;nbsp;SELECT HUC FROM Intersection_Output_2 where ST.[Contains](Geometry,ST.Point(@a,@b,@srid)) = 1 &lt;br&gt;
srid is the spatial reference for the point which should match the srid of the geometry (or -1 if they are not known)&lt;br&gt;
&lt;br&gt;
ST.PointN&amp;nbsp;Returns the N'th point in the first linestring in the geometry., ST.PointFromText creates a point from its well known text. The best reference for the functions is at&amp;nbsp;&lt;a href="http://www.opengeospatial.org/standards/sfs"&gt;http://www.opengeospatial.org/standards/sfs&lt;/a&gt;&amp;nbsp;which are the standars which mssqlspatial implement. hth jd
&lt;/div&gt;</description><author>JohnDiss</author><pubDate>Tue, 12 Aug 2008 08:47:30 GMT</pubDate><guid isPermaLink="false">New Post: ST.PointN Vs ST.NPoint 20080812084730A</guid></item><item><title>New Post: ST.PointN Vs ST.NPoint</title><link>http://www.codeplex.com/MsSqlSpatial/Thread/View.aspx?ThreadId=33310</link><description>&lt;div style="line-height: normal;"&gt;Hello,&lt;br&gt;
&lt;br&gt;
I have to find if a given set of latitude and longitude is present in the given set of Polygon (polygons are in a field&amp;nbsp; named 'Geometry' in the spatial table ''Intersection_Output_2' ) &lt;br&gt;
..........................................................&lt;br&gt;
Here is what I have:&lt;br&gt;
&lt;br&gt;
Declare @a float&lt;br&gt;
Declare @b float&lt;br&gt;
Set @a = -93.6603392551339 &lt;br&gt;
Set @b = 29.8821835456083 &lt;br&gt;
&lt;br&gt;
SELECT HUC FROM Intersection_Output_2 where ST.[Contains](Geometry,ST.PointN(@a,@b)) = 1&lt;br&gt;
...............................................................................................................................................&lt;br&gt;
&lt;br&gt;
As I did not find any helpful explanation&amp;nbsp; for the 'Functions' available with the MSSQL Spatial. I just had to guess that the function&lt;br&gt;
&lt;br&gt;
ST.Contains would return a bit 1 /0 depending on if&amp;nbsp; the point is present in the the polygon..&lt;br&gt;
&lt;br&gt;
and to make a 'point' using the 'latitude' and 'longitude' available am not sure as to which function I need to use in the list below,&lt;br&gt;
&lt;br&gt;
ST.PointN&lt;br&gt;
ST.NPoint&lt;br&gt;
ST.PointFromText.....&lt;br&gt;
&lt;br&gt;
am sure there might be other mistakes in the above query.. as this is the 1st time am using this spatial extension to SQL server..If so Please do let me know I would really appreciate it!&lt;br&gt;
&lt;br&gt;
Thanks a lot in advance!&lt;br&gt;
-belame &lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>belame</author><pubDate>Mon, 11 Aug 2008 17:46:02 GMT</pubDate><guid isPermaLink="false">New Post: ST.PointN Vs ST.NPoint 20080811054602P</guid></item><item><title>New Post: measure for st.buffer</title><link>http://www.codeplex.com/MsSqlSpatial/Thread/View.aspx?ThreadId=33225</link><description>&lt;div style="line-height: normal;"&gt;Hi PuNk, the measure is the same unit as the geometry being buffered, hth jd
&lt;/div&gt;</description><author>JohnDiss</author><pubDate>Mon, 11 Aug 2008 11:02:22 GMT</pubDate><guid isPermaLink="false">New Post: measure for st.buffer 20080811110222A</guid></item><item><title>New Post: is MsSqlSpatial right for me?</title><link>http://www.codeplex.com/MsSqlSpatial/Thread/View.aspx?ThreadId=33060</link><description>&lt;div style="line-height: normal;"&gt;Have you looked at SQL Server 2008 ? It provides&amp;nbsp;a lot&amp;nbsp;of the functionality that MsSqlSpatial has out of the box, and its using its built-in spatial index instead.
&lt;/div&gt;</description><author>SharpGIS</author><pubDate>Sun, 10 Aug 2008 03:57:33 GMT</pubDate><guid isPermaLink="false">New Post: is MsSqlSpatial right for me? 20080810035733A</guid></item><item><title>New Post: measure for st.buffer</title><link>http://www.codeplex.com/MsSqlSpatial/Thread/View.aspx?ThreadId=33225</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br&gt;
&lt;br&gt;
what is the measure for distance in the St.buffer function?&lt;br&gt;
&lt;br&gt;
SELECT [database].[ST].[Buffer] (&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;lt;@ewkb, varbinary(max),&amp;gt;&lt;br&gt;
&amp;nbsp; ,&amp;lt;@distance, float,&amp;gt;)&lt;br&gt;
&lt;br&gt;
thanks, puNk&lt;br&gt;
&lt;/div&gt;</description><author>puNk</author><pubDate>Sat, 09 Aug 2008 13:20:16 GMT</pubDate><guid isPermaLink="false">New Post: measure for st.buffer 20080809012016P</guid></item><item><title>New Post: is MsSqlSpatial right for me?</title><link>http://www.codeplex.com/MsSqlSpatial/Thread/View.aspx?ThreadId=33060</link><description>&lt;div style="line-height: normal;"&gt;Hi ronnyek, I think you would find it easier to keep the int Primary Key, you can always add your uniqueidentifier column and add&amp;nbsp;appropriate indexes and unique constraints. This will allow the inner workings of mssqlspatial to work as intended while allowing you to use your original 'key' as an attribute filter. As far as index tables go, there isnt really a spatial index as such - rather each table has envelope columns added&amp;nbsp; and indexed e.g yourgeometrycolumn_Envelope_MinX&amp;nbsp; and these columns are used as a 'pre filter' for some of the query functions.&amp;nbsp;hth jd&amp;nbsp;
&lt;/div&gt;</description><author>JohnDiss</author><pubDate>Thu, 07 Aug 2008 10:25:57 GMT</pubDate><guid isPermaLink="false">New Post: is MsSqlSpatial right for me? 20080807102557A</guid></item><item><title>New Post: is MsSqlSpatial right for me?</title><link>http://www.codeplex.com/MsSqlSpatial/Thread/View.aspx?ThreadId=33060</link><description>&lt;div style="line-height: normal;"&gt;Ok,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I've got an application existing, location with lat/long coords. My site like I am sure many others you provide a latlong and it'll return locations within x range etc. Its functional, but was hoping for a bit more flexibility and a bit more performance.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I've got MsSqlSpatial installed, and was trying to follow the populating the geo tables not from shape files. It would complain saying it couldnt convert int to uniqueidentifier... (which I assume is because rather than using int id's, I use guids.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I am definately going to need more of the functionality in this project, however I wont be using GIS tables or etc... just my locations with my lat/longs. I'd like to know if this is a good use of this library and wondering if somone could point me in the right direction as to creating the index tables and if there is something fundametally wrong wiht what I am trying to do...&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:'Segoe UI';font-size:13px"&gt;&lt;pre style="background-color:rgb(236, 236, 236);border-top-style:dashed;border-right-style:dashed;border-bottom-style:dashed;border-left-style:dashed;border-top-width:0.1em;border-right-width:0.1em;border-bottom-width:0.1em;border-left-width:0.1em;border-top-color:rgb(62, 98, 166);border-right-color:rgb(62, 98, 166);border-bottom-color:rgb(62, 98, 166);border-left-color:rgb(62, 98, 166);font-family:Consolas, 'Courier New', Courier, monospace;font-size:1em;margin-top:0px;padding-top:0.5em;padding-right:0.5em;padding-bottom:0.5em;padding-left:0.5em;height:auto;overflow-x:auto;overflow-y:hidden"&gt;EXECUTE ST.AddGeometryColumn 'dbo', 'zctas', 'thepoint_lonlat', 4269, 'POINT'&lt;/pre&gt;&lt;pre style="background-color:rgb(236, 236, 236);border-top-style:dashed;border-right-style:dashed;border-bottom-style:dashed;border-left-style:dashed;border-top-width:0.1em;border-right-width:0.1em;border-bottom-width:0.1em;border-left-width:0.1em;border-top-color:rgb(62, 98, 166);border-right-color:rgb(62, 98, 166);border-bottom-color:rgb(62, 98, 166);border-left-color:rgb(62, 98, 166);font-family:Consolas, 'Courier New', Courier, monospace;font-size:1em;margin-top:0px;padding-top:0.5em;padding-right:0.5em;padding-bottom:0.5em;padding-left:0.5em;height:auto;overflow-x:auto;overflow-y:hidden"&gt;Thanks whats failing me with the fail between in and guid.&lt;/pre&gt;&lt;pre style="background-color:rgb(236, 236, 236);border-top-style:dashed;border-right-style:dashed;border-bottom-style:dashed;border-left-style:dashed;border-top-width:0.1em;border-right-width:0.1em;border-bottom-width:0.1em;border-left-width:0.1em;border-top-color:rgb(62, 98, 166);border-right-color:rgb(62, 98, 166);border-bottom-color:rgb(62, 98, 166);border-left-color:rgb(62, 98, 166);font-family:Consolas, 'Courier New', Courier, monospace;font-size:1em;margin-top:0px;padding-top:0.5em;padding-right:0.5em;padding-bottom:0.5em;padding-left:0.5em;height:auto;overflow-x:auto;overflow-y:hidden"&gt;Thanks in advance.&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description><author>ronnyek</author><pubDate>Thu, 07 Aug 2008 03:18:09 GMT</pubDate><guid isPermaLink="false">New Post: is MsSqlSpatial right for me? 20080807031809A</guid></item><item><title>New Post: What is the right syntax to define the DefinitionQuery </title><link>http://www.codeplex.com/MsSqlSpatial/Thread/View.aspx?ThreadId=32678</link><description>&lt;div style="line-height: normal;"&gt;Okay, I should use the DefinitionQuery like this .DefinitionQuery = &amp;quot;country = 'DEU'&amp;quot;&lt;br&gt;
&lt;br&gt;
solved!&lt;br&gt;
&lt;/div&gt;</description><author>puNk</author><pubDate>Thu, 31 Jul 2008 20:39:20 GMT</pubDate><guid isPermaLink="false">New Post: What is the right syntax to define the DefinitionQuery  20080731083920P</guid></item><item><title>New Post: What is the right syntax to define the DefinitionQuery </title><link>http://www.codeplex.com/MsSqlSpatial/Thread/View.aspx?ThreadId=32678</link><description>&lt;div style="line-height: normal;"&gt;Hi community,&lt;br&gt;
&lt;br&gt;
since&amp;nbsp; some days i have tested your project – i can say it is working well.&lt;br&gt;
&lt;br&gt;
Now, I want to use Sharpmap to display geometries in conjunction with the MsSqlSpatial database tools. I use sharpmap with shapefiles at the moment. My first tests and steps to implementation are finished. But there is a problem to form the DefinitionQuery for the FeatureDataTables.&lt;br&gt;
&lt;br&gt;
For the following example I‘d like to have a Dataset wich is filtered by a where clause before execution a spatial function. The result must filtered again by an intersection query. The function „ST.FilterQueryWhere“ works well inside the sql development tools&lt;br&gt;
What is the right syntax to define the query?&lt;br&gt;
&lt;br&gt;
Function….&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;Dim d As SharpMap.Data.Providers.MsSqlSpatial = New SharpMap.Data.Providers.MsSqlSpatial(Conn here, theTable, geomColum, idColumn)&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;Dim ds As SharpMap.Data.FeatureDataSet&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;ds = New SharpMap.Data.FeatureDataSet&lt;br&gt;
--&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;d.DefinitionQuery = &amp;quot;ST.FilterQueryWhere#dbo#datatable#the_geom ([ST].[MakeEnvelope](bounding 4x,SRID),'the clause here')&amp;quot;&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;d.Open()&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;d.ExecuteIntersectionQuery(bbox, ds)&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;d.Close()&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;d = Nothing&lt;br&gt;
&lt;br&gt;
return…&lt;br&gt;
&lt;br&gt;
I get an error like &amp;quot;near the ')' a boolean is expected&amp;quot;... Where is the documentation ;-)&lt;br&gt;
&lt;br&gt;
Thanks in advance,&lt;br&gt;
puNk&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>puNk</author><pubDate>Thu, 31 Jul 2008 19:48:08 GMT</pubDate><guid isPermaLink="false">New Post: What is the right syntax to define the DefinitionQuery  20080731074808P</guid></item><item><title>Source code checked in, #34396</title><link>http://www.codeplex.com/MsSqlSpatial/SourceControl/ListDownloadableCommits.aspx</link><description>v1.7.x ran resharper over the code.&amp;#13;&amp;#10;v1.7.x and v2 changed the deployment routine to only install assymetric keys for MsSqlSpatial Library - this should make installing multiple versions side by side easier. Untested on a completely fresh master db though. Feedback on install requested.</description><author>JohnDiss</author><pubDate>Fri, 18 Jul 2008 13:09:18 GMT</pubDate><guid isPermaLink="false">Source code checked in, #34396 20080718010918P</guid></item><item><title>Source code checked in, #34395</title><link>http://www.codeplex.com/MsSqlSpatial/SourceControl/ListDownloadableCommits.aspx</link><description>v1.7.x renamed solution and project files to reflect version</description><author>JohnDiss</author><pubDate>Fri, 18 Jul 2008 11:43:27 GMT</pubDate><guid isPermaLink="false">Source code checked in, #34395 20080718114327A</guid></item><item><title>Source code checked in, #34394</title><link>http://www.codeplex.com/MsSqlSpatial/SourceControl/ListDownloadableCommits.aspx</link><description>trunk, v1.7x,v2 Added Google Mercator EPSG&amp;#58;900913 to srid.csv</description><author>JohnDiss</author><pubDate>Fri, 18 Jul 2008 11:40:34 GMT</pubDate><guid isPermaLink="false">Source code checked in, #34394 20080718114034A</guid></item></channel></rss>