简体   繁体   English

SQL Server 2008中的空间数据/地理,OR映射器和C#

[英]Spatial data/Geography in SQL Server 2008, OR mappers and C#

I'm developing an application in C# that will use and store geographic locations using the data type "Geography" in SQL Server 2008. I was planning to use the Entity Framework but soon discovered it lacks support for spatial data. 我正在使用SQL Server 2008中的数据类型“Geography”在C#中开发一个使用和存储地理位置的应用程序。我计划使用实体框架但很快发现它缺乏对空间数据的支持。 Does anyone have experience with or know of other OR mappers with spatial support? 有没有人有空间支持的其他OR映射器的经验或知道?

The system will have few writes and many reads of geographical data. 该系统将具有很少的写入和许多地理数据读取。 What is a good/preffered way to read/write spatial/Geography data from C#? 从C#读取/写入空间/地理数据的好/优先方法是什么?

You may want to check out the following Stack Overflow post: 您可能需要查看以下Stack Overflow帖子:

In addition, you might also be interested to give a look to SketchPad from the MSDN Code Library, and its blog article SketchPad: A Simple Drawing Editor . 此外,您还可能有兴趣给看看,以SketchPad系统从MSDN代码库,而其博客文章画板:一个简单的绘图编辑器

SketchPad is a simple drawing editor that allows you to create elementary geometric shapes, and model them as entities using either the Entity Framework or LINQ to SQL. SketchPad是一个简单的绘图编辑器,允许您创建基本几何形状,并使用Entity Framework或LINQ to SQL将它们建模为实体。 You can create, read, and delete shapes, and use the built-in spatial index to search for entities by attribute value. 您可以创建,读取和删除形状,并使用内置空间索引按属性值搜索实体。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM