任何C#空间数据库知道吗? [英] Know of any C# spatial data libraries?

查看:127
本文介绍了任何C#空间数据库知道吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找实施.NET空间查询,而无需使用SQL2008。第一个要求是要能够创建一个(B树风格)空间索引,并能够查询。

I'm looking at implementing spatial queries in .NET without using SQL2008. The first requirement is to be able to create a (BTree styled) spatial index and be able to query it.

虽然SQL 2008附带的各类.NET库,你需要使用SQL的空间索引。

Although SQL 2008 ships with .NET libraries for the types, you need to use SQL for the spatial indexes.

有没有人用于空间数据(OS或商业)的.NET库?我期待在NetTopologySuite,但它看起来安静,我不希望死库。

HAs anybody used any .NET libraries for spatial data (OS or commercial)? I am looking at NetTopologySuite but it looks quiet and I don't want a dead library.

推荐答案

SharpMap中是(众所周知和使用)的.NET空间库开源集合

SharpMap is a (well known and used) OpenSource collection of spatial libraries for .NET

HTTP:// WWW。 codeplex.com/SharpMap

商业库将是最广泛的应用。
我能问你为什么不想使用SQL创建空间索引?

Commercial libraries from ESRI would be the most widely used. Can I ask why you don't want to use SQL for creating spatial indexes?

http://msdn.microsoft.com/en-us/library/bb964712.aspx

如果你不希望在数据库中,那么你将使用shape文件被卡住创建索引:

If you don't want to create indexes in the database then you will be stuck using shapefiles:

http://mapserver.org/utilities/shptree.html

更新

我没有用NTS或JTS,但也有一个C ++实现JTS在 HTTP: //trac.osgeo.org/geos/ 它有一个活跃的用户社区,和我一对夫妇的项目中使用。

I've not used NTS or JTS, but there is also a C++ implementation of JTS at http://trac.osgeo.org/geos/ which has an active user community, and I've used on a couple of projects.

http://gispython.org/shapely/manual.html 建立在GEOS Python编写的。如果你正在做的云一切那么它可能是值得一读的这篇文章 - 的http:// sgillies。净/博客/ 986 / manipulimization-OF-whatchamacallems /

Shapely http://gispython.org/shapely/manual.html builds on GEOS in Python. If you are doing everything in "the cloud" then it may be worth reading this article - http://sgillies.net/blog/986/manipulimization-of-whatchamacallems/

重新索引 - 我发现的SQL Server +空间索引跑赢shape文件+索引使用相同的数据。如果您需要用于显示数据的索引,然后平铺缓存将执行远远超过任何索引更好。

Re indexes - I found SQL Server + spatial indexes to outperform shapefile + indexes with the same data. If you require the indexes for displaying data then tile caches would perform far better than any indexing.

Python中似乎已经成为GIS的主要语言之一。此外,还有一个R型指数库 - http://pypi.python.org/pypi/Rtree/

Python seems to have become one of the key languages in GIS. There is also an R-type index library - http://pypi.python.org/pypi/Rtree/

这篇关于任何C#空间数据库知道吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆