<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>NHibernateSpatial Forum Rss Feed</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/List.aspx</link><description>NHibernateSpatial Forum Rss Description</description><item><title>New Post: Is there an Oracle implementation?</title><link>http://nhibernatespatial.codeplex.com/Thread/View.aspx?ThreadId=23874</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Any update on this? I am willing to assist with creating an Oracle dialect as well&lt;/p&gt;&lt;/div&gt;</description><author>Greif</author><pubDate>Mon, 15 Jun 2009 00:37:43 GMT</pubDate><guid isPermaLink="false">New Post: Is there an Oracle implementation? 20090615123743A</guid></item><item><title>New Post: MySQL Provider</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=29032</link><description>&lt;div style="line-height: normal;"&gt;Ben,$0$0$0$0Check out the latest release of NH.Spatial:$0$0&lt;a href="http://www.nhforge.org/media/p/83.aspx"&gt;http://www.nhforge.org/media/p/83.aspx&lt;/a&gt;$0$0$0$0$0$0Ricardo.$0&lt;/div&gt;</description><author>rstuven</author><pubDate>Wed, 08 Oct 2008 16:25:35 GMT</pubDate><guid isPermaLink="false">New Post: MySQL Provider 20081008042535P</guid></item><item><title>New Post: MySQL Provider</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=29032</link><description>&lt;div style="line-height: normal;"&gt;dodecaphonic,&lt;br&gt;
&lt;br&gt;
How is it going wit the MySQL provider?&amp;nbsp; My host has MySQL and I really want to use NHibernate.Spatial!&lt;br&gt;
&lt;br&gt;
Ben&lt;br&gt;
&lt;/div&gt;</description><author>santoshamb</author><pubDate>Sun, 05 Oct 2008 06:18:26 GMT</pubDate><guid isPermaLink="false">New Post: MySQL Provider 20081005061826A</guid></item><item><title>New Post: NH.Spatial Postgis possible bug?</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=36528</link><description>&lt;div style="line-height: normal;"&gt;$0I think what you want to query is &amp;quot;City contains a point&amp;quot;, so you sould use Contains instead of Within (ie. SpatialExpression.Contains(A,B) = &amp;quot;A contains B&amp;quot;)$0&lt;/div&gt;</description><author>rstuven</author><pubDate>Fri, 26 Sep 2008 18:48:15 GMT</pubDate><guid isPermaLink="false">New Post: NH.Spatial Postgis possible bug? 20080926064815P</guid></item><item><title>New Post: NH.Spatial Postgis possible bug?</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=36528</link><description>&lt;div style="line-height: normal;"&gt;&lt;span style="border-collapse:collapse;color:rgb(0, 0, 0);font-family:arial;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"&gt;Hello guys...&lt;br&gt;
I´m trying to execute a &amp;quot;within&amp;quot; postgis function using NH.Spatial ...&lt;br&gt;
The SQL that I need to get is something like that :&lt;br&gt;
&lt;br&gt;
select nomemunicipio from tblcity m where within&lt;br&gt;
( '&lt;wbr&gt;0101000020C31000000000000000C0&lt;wbr&gt;49C06666666666E633C0', m.the_geom)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
So, I created my City class/xml, with geom like that:&lt;br&gt;
&amp;nbsp;&amp;lt;property name=&amp;quot;Geometry&amp;quot; column=&amp;quot;the_geom&amp;quot;&amp;gt;&lt;br&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;type&lt;br&gt;
name=&amp;quot;NHibernate.Spatial.Type.&lt;wbr&gt;GeometryType,NHibernate.&lt;wbr&gt;Spatial&amp;quot;&amp;gt;&lt;br&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;param name=&amp;quot;subtype&amp;quot;&amp;gt;MULTIPOLYGON&amp;lt;/&lt;wbr&gt;param&amp;gt;&lt;br&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;param name=&amp;quot;srid&amp;quot;&amp;gt;4291&amp;lt;/param&amp;gt;&lt;br&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/type&amp;gt;&lt;br&gt;
&amp;lt;/property&amp;gt;&lt;br&gt;
&lt;br&gt;
That works great to load, insert ...&lt;br&gt;
&lt;br&gt;
So, I execute that:&lt;br&gt;
&lt;br&gt;
public IList FindByPoint(IPoint __point)&lt;br&gt;
&amp;nbsp;{&lt;br&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IList results = Session.CreateCriteria(typeof(&lt;wbr&gt;City))&lt;br&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.Add(SpatialExpression.Within(&lt;wbr&gt;&amp;quot;Geometry&amp;quot;, __point))&lt;br&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.List();&lt;br&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return results;&lt;br&gt;
}&lt;br&gt;
And I always got a empty result...&lt;br&gt;
The SQL generated was :&lt;br&gt;
&lt;br&gt;
SELECT ... FROM tblCity this_ WHERE&lt;br&gt;
ST_Within(this_.the_geom, :p0); :p0 =&lt;br&gt;
'&lt;wbr&gt;0101000020C31000000000000000C0&lt;wbr&gt;49C06666666666E633C0'&lt;br&gt;
&lt;br&gt;
It seems the ST_Within attributes was inverted... The geometry (p0)&lt;br&gt;
needs to be the fisrt in function...&lt;br&gt;
Is that corrected?&lt;br&gt;
&lt;br&gt;
Ps,: I´m using trunk build...&lt;br&gt;
&lt;br&gt;
Thanks&lt;/span&gt;
&lt;/div&gt;</description><author>demol</author><pubDate>Fri, 26 Sep 2008 14:47:29 GMT</pubDate><guid isPermaLink="false">New Post: NH.Spatial Postgis possible bug? 20080926024729P</guid></item><item><title>New Post: New NHibernate support?</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=35927</link><description>&lt;div style="line-height: normal;"&gt;WOW :-0&lt;/div&gt;</description><author>D_Guidi</author><pubDate>Sat, 20 Sep 2008 08:33:56 GMT</pubDate><guid isPermaLink="false">New Post: New NHibernate support? 20080920083356A</guid></item><item><title>New Post: New NHibernate support?</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=35927</link><description>&lt;div style="line-height: normal;"&gt;&lt;span style="border-collapse:collapse;font-family:arial;font-size:13px"&gt;Sorry for not mentioning it in the project homepage here at Codeplex in a timely manner: &lt;span style="font-weight:bold"&gt;NH Spatial is moving to &lt;/span&gt;&lt;a href="http://sourceforge.net/projects/nhcontrib/" style="color:rgb(0, 0, 204)"&gt;&lt;span style="font-weight:bold"&gt;NH Contrib project&lt;/span&gt;&lt;/a&gt;. NH Spatial aims to support NH 2.0 SP1 and NH 1.2 support has already been dropped.&lt;/span&gt;&lt;/div&gt;</description><author>rstuven</author><pubDate>Fri, 19 Sep 2008 18:46:59 GMT</pubDate><guid isPermaLink="false">New Post: New NHibernate support? 20080919064659P</guid></item><item><title>New Post: New NHibernate support?</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=35927</link><description>&lt;div style="line-height: normal;"&gt;Hello guys...I´d like to known if you plan to realease support to the new NHibernate version ...&lt;br&gt;
If yes, when?&lt;br&gt;
&lt;br&gt;
Thnx
&lt;/div&gt;</description><author>demol</author><pubDate>Thu, 18 Sep 2008 14:21:53 GMT</pubDate><guid isPermaLink="false">New Post: New NHibernate support? 20080918022153P</guid></item><item><title>New Post: NHibernate Compatibility</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=31730</link><description>&lt;div style="line-height: normal;"&gt;Currently, NHibernate 1.2 and an alpha (and &lt;a href="http://jira.nhibernate.org/browse/NH-1034"&gt;patched&lt;/a&gt;) version of NHibernate 2.&lt;br&gt;
&lt;/div&gt;</description><author>rstuven</author><pubDate>Thu, 31 Jul 2008 20:19:03 GMT</pubDate><guid isPermaLink="false">New Post: NHibernate Compatibility 20080731081903P</guid></item><item><title>New Post: NHibernate Compatibility</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=31730</link><description>&lt;div style="line-height: normal;"&gt;Which version of NHibernate are you compatible with?&lt;br&gt;
I´ve noticed a change from NHibernate.Expression to NHibernate.Criterion namespaces at some point in NHibernate development.&lt;br&gt;
&lt;/div&gt;</description><author>kvalcanti</author><pubDate>Thu, 17 Jul 2008 14:22:43 GMT</pubDate><guid isPermaLink="false">New Post: NHibernate Compatibility 20080717022243P</guid></item><item><title>New Post: MySQL Provider</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=29032</link><description>&lt;div style="line-height: normal;"&gt;I don't have any news of someone implementing a MySQL provider. If you want to be the first, please go ahead! :-)&lt;br&gt;
&lt;br&gt;
Note that the code structure has changed in recent days, giving to every provider its own project. So, if you want to implement a provider, you should create two new projects: one for the provider implementation and another for the tests.&lt;br&gt;
&lt;br&gt;
Best regards,&lt;br&gt;
Ricardo Stuven.&lt;br&gt;
&lt;/div&gt;</description><author>rstuven</author><pubDate>Mon, 23 Jun 2008 10:33:37 GMT</pubDate><guid isPermaLink="false">New Post: MySQL Provider 20080623103337A</guid></item><item><title>NEW POST: MySQL Provider</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=29032</link><description>&lt;div style="line-height: normal;"&gt;Hello, everyone. I'm about to start implementing a MySQL provider for NHibernate.Spatial, and I was wondering if there was anyone already working on that. It's my wish to help if there is, so if anyone is already on the task, please let me know.&lt;br&gt;
&lt;/div&gt;</description><author>dodecaphonic</author><pubDate>Wed, 04 Jun 2008 14:21:39 GMT</pubDate><guid isPermaLink="false">NEW POST: MySQL Provider 20080604022139P</guid></item><item><title>NEW POST: Is there an Oracle implementation?</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=23874</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Great! Regarding your questions:&lt;br&gt;
&lt;br&gt;
1.  I would prefer to keep the code compatible with C# 2.0, but there is no problem if you create solution and project files for VS2008.&lt;br&gt;
&lt;br&gt;
2.  So far, there is limited support for NH 1.2 and experimental support for NH 2. Run the unit tests to get a picture of the progress of each version. To get NH2 version up and running, I had to create a patch to support parameters in HQL functions (&lt;a href="http://jira.nhibernate.org:8080/jira/browse/NH-1034"&gt;submitted to NHibernate&lt;/a&gt; but not applied yet). As I said above, you will find a good reference implementation of an Oracle provider in the Java analogue of this project.&lt;/p&gt;
&lt;p&gt;Please, don't hesitate to make more questions. Have fun!&lt;/p&gt;
&lt;/div&gt;</description><author>rstuven</author><pubDate>Fri, 23 May 2008 20:03:09 GMT</pubDate><guid isPermaLink="false">NEW POST: Is there an Oracle implementation? 20080523080309P</guid></item><item><title>NEW POST: Is there an Oracle implementation?</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=23874</link><description>&lt;div style="line-height: normal;"&gt;&amp;nbsp;.&lt;br&gt;
&lt;/div&gt;</description><author>rnbell</author><pubDate>Thu, 22 May 2008 20:20:44 GMT</pubDate><guid isPermaLink="false">NEW POST: Is there an Oracle implementation? 20080522082044P</guid></item><item><title>NEW POST: Is there an Oracle implementation?</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=23874</link><description>&lt;div style="line-height: normal;"&gt;I'm interested on working on an implementation of Oracle Spatial in NHibernate.Spatial. &lt;br&gt;
&lt;br&gt;
Couple of quick questions to help things along:&lt;br&gt;
&amp;nbsp;&lt;br&gt;
1. Is there a port of this for VS2008, or would you like me to keep it in VS2005&lt;br&gt;
2. Is there anything that will help me understand what you've been doing so far besides going through the code (which I've already started doing).&amp;nbsp; It looks like the major complexity of the project has been mapped out by you guys and someone just needs to fill in the Oracle Spatial end of it.&lt;br&gt;
&lt;/div&gt;</description><author>rnbell</author><pubDate>Thu, 22 May 2008 20:20:18 GMT</pubDate><guid isPermaLink="false">NEW POST: Is there an Oracle implementation? 20080522082018P</guid></item><item><title>NEW POST: IsWithin() and other table-valued functions being implemented</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=23470</link><description>&lt;div class="wikidoc"&gt;
I think you meant &lt;span class="codeInline"&gt;ST.IsWithinDistanceQuery&lt;/span&gt; because there is no &lt;span class="codeInline"&gt;ST.IsWithinQuery&lt;/span&gt;... but definitvely you pose a very good question.&lt;br /&gt; &lt;br /&gt;Yes, NHibernate does not support table-valued functions, but that is not a problem in this case (see &lt;span class="codeInline"&gt;GetSpatialFilterString&lt;/span&gt; method implementation in &lt;span class="codeInline"&gt;MsSqlSpatialDialect.cs&lt;/span&gt;). Then an interface to &lt;span class="codeInline"&gt;ST.IsWithinDistanceQuery&lt;/span&gt; is possible and I think it could be added in future versions.&lt;br /&gt;
&lt;/div&gt;</description><author>rstuven</author><pubDate>Mon, 31 Mar 2008 05:38:47 GMT</pubDate><guid isPermaLink="false">NEW POST: IsWithin() and other table-valued functions being implemented 20080331053847A</guid></item><item><title>NEW POST: Is there an Oracle implementation?</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=23874</link><description>&lt;div class="wikidoc"&gt;
No, there's no support for Oracle and I have no plans to implement it in the near future.  But if you or anyone wants to contribute an implementation, there is a good starting point in the &lt;a href="http://www.hibernatespatial.org/" class="externalLink"&gt;Hibernate Spatial&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; project. Though (N)Hibernate Spatial projects are not ports one of each other, they share a similar structure since both are based on the same ports (Hibernate/NHibernate and JTS/NTS) .&lt;br /&gt;
&lt;/div&gt;</description><author>rstuven</author><pubDate>Mon, 31 Mar 2008 03:21:37 GMT</pubDate><guid isPermaLink="false">NEW POST: Is there an Oracle implementation? 20080331032137A</guid></item><item><title>NEW POST: Is there an Oracle implementation?</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=23874</link><description>&lt;div class="wikidoc"&gt;
Does anybody know if there is an Oracle implementation of NHibernate.Spatial?  Is one planned?&lt;br /&gt; &lt;br /&gt;Cheers&lt;br /&gt;
&lt;/div&gt;</description><author>frick</author><pubDate>Wed, 12 Mar 2008 14:24:28 GMT</pubDate><guid isPermaLink="false">NEW POST: Is there an Oracle implementation? 20080312022428P</guid></item><item><title>NEW POST: IsWithin() and other table-valued functions being implemented</title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=23470</link><description>&lt;div class="wikidoc"&gt;
I started using this for a project that ties into mssqlspatial. I noticed that the functions that were based on table-valued functions in sql 2005 weren't implemented. I'd like to work on this particularly the IsWithin() function. &lt;br /&gt; &lt;br /&gt;I was wandering if you had a plan or path for this. Looking at it, I'm not sure yet how to integrate calls to ST.IsWithinQuery or ST.EqExactQuery.  I see that i can register them and i know that we can map and call table-valued functions via nhibernate (see http://www.ayende.com/Blog/archive/2006/10/01/7235.aspx for info). But how do we go about getting to smoothly integerate into the current nhibernate.spatial library?&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>dpollock</author><pubDate>Thu, 06 Mar 2008 02:15:58 GMT</pubDate><guid isPermaLink="false">NEW POST: IsWithin() and other table-valued functions being implemented 20080306021558A</guid></item><item><title>NEW POST: Katmai / SQL Server 2008 </title><link>http://www.codeplex.com/NHibernateSpatial/Thread/View.aspx?ThreadId=20482</link><description>&lt;div class="wikidoc"&gt;
Yes. I'm working on that.  But, if we compare the current Katmai support to PostGIS and MsSqlSpatial support, it's very incomplete yet (no agreggate and transform projections, no ability to create new spatial reference definitions, some internal WKT issues) and many tests don't pass. Besides, Katmai ground is still shaky, so I think I will wait to the next CTP to commit these changes&lt;br /&gt; &lt;br /&gt;Best regards,&lt;br /&gt;Ricardo Stuven.&lt;br /&gt;
&lt;/div&gt;</description><author>rstuven</author><pubDate>Thu, 17 Jan 2008 00:07:02 GMT</pubDate><guid isPermaLink="false">NEW POST: Katmai / SQL Server 2008  20080117120702A</guid></item></channel></rss>