NHibernate Forge
The official new home for the NHibernate for .NET community

Comments: Introduction

Comments (14)
History (6)

Introduction

Sort by: Published Date | Most Recent | Most Useful
1 2 3 Next >
By: kvalcanti Posted on 09-30-2008 10:58

Is there any bast-practice involving the use of Geography or Geometry data types? I've just started using Geospatial data with MS Sql Server 2008, intuitively with Geography data types.

I can only see Geometry data types in NH.Spatial, and on any other tutorial about GIS and LBS.

What are the problems and benefits of using Geometry data to store geospatial content? The simple use of a specific SRID (I guess that would be 4326) does the job?

thanks in advance.

By: Ricardo Stuven Posted on 10-01-2008 0:39

The discussion about best-practices regarding Geometry vs. Geography data types is beyond the scope of this comment. But what it explains the preference of Geometry in NH.Spatial is basically OGC compliance. In this respect, Geography is very limited (check out links below) and supporting it would break many test cases aiming to standardize access among spatial databases. That said, I'm open to suggestions on how to support Geography in NH.Spatial in a better way.

By: kvalcanti Posted on 10-01-2008 8:53
Thanks a lot. I see that the discussion "Geometry vs. Geography" goes far beyond this scope. Still, could you give any hints on using geometry to represent geospatial data?Is it supposed to be straight-forward?
By: kvalcanti Posted on 10-01-2008 12:42
Nevermind, using geometry to represent geospatial data is probably nonsense.
By: Steve Bohlen Posted on 10-24-2008 9:14

I notice that conspicuously absent from the list of supported spatial dialects is Oracle Spatial, perhaps the grand-daddy of all spatially-enabled DB platforms.  Is there any intention/effort underway to develop a dialect that would support ORA in addition to the present MS and OSS spatial targets?

We are an avid user of NHibernate at my organization and also do significant GIS work, but most if not all of our spatial backend infrastructure for our projects tends to be ORA rather than the present listed DB targets.

Thanks for any info you can provide (and yes, I know that if there isn't an effort underway, you'd be glad to accept a patch <g>).

Powered by Community Server (Commercial Edition), by Telligent Systems