This is a fork of the final commit to NHibernate.Spatial at Nhibernate Contrib site made in december 2011. The code has been updated to compile with the latest NTS, GeoAPI and NHibernate binaries.
NuGet packages are currently in pre-release, but stable releases for NHibernate 4.0 are expected soon (december 2014). The packages listed below are compatible with NHibernate 4.0.4 GA.
Nhibernate.Spatial for Microsoft SQL Server (Note! Assembly name has changed from MsSql2008 to MsSql)
Nhibernate.Spatial for PostGis
For configuring your application, please refer to Configuration and Mapping on the NHForge Wiki. Furthermore you can read about sample usage. For an updated in-depth look at NHibernate.Spatial, you can read this excellent blog post written by Pedro Sousa.
For general NHibernate help, the NHibernate community website - http://nhibernate.info/ - has a range of resources to help you get started with basic NHibernate, including wikis, blogs and reference documentation.
Discussion is made through the NHibernate.Spatial Mailing List. Feel free to join in with suggestions or thoughts!
All contributors are welcome. We need help improving the current dialects, getting tests to pass, identifying and fixing bugs, and keeping the project going.
Presently the Oracle Spatial dialect is excluded from the solution. The Oracle Dialect has never been functional, but with some work it could be. Contributors who may be able to help out with this are especially welcome.
Many thanks to the following individuals, organisations and projects whose work is so important to the success of NHibernate.Spatial (in no particular order):
- Nhibernate - Parent library
- NUnit - unit-testing
- GitHub and SourceForge - source code hosting
- Log4net - logging, by the Apache Software Foundation
- JetBrains - ReSharper licences for NHibernate.Spatial developers
- NetTopologySuite and GeoAPI.Net - Spatial Libraries