SQL Server 和地图点/空间表/经度和纬度
我正在尝试使用 Sql 服务器的 Mappoint 插件从 MS SQL Server 2008 (express) 和 Mappoint 映射一些数据。我唯一的问题是这个空间表的东西。我想我现在明白什么是空间数据,但我只需要一个示例来说明如何交叉引用我的状态表及其空间数据。所以我有一个表格,其中包含供应商名称、他们从事工作的州、他们所做的工作类型等。列出的州例如(佛罗里达州、蒙大拿州、波多黎各,所有 50 个州)将是他们的空间参考。或者我可以在表中添加经度和纬度来引用各州吗?此时我放弃整个空间表或查询内容。我可以在该表中只放一个长的 Lat 列吗? Long&Lat 会是桌子上 2 个不同列中的 2 个吗?
I am trying to map some data out of MS SQL Server 2008 (express) and Mappoint with the Mappoint addin for Sql server. The only issue i have is this spatial table stuff. I think i understand what a spatial data is now but i just need an example of how to go about cross referencing my states table with its spatial data. so i have a table with Vendor names, states they perform work in, type of work they do etc. States listed e.g (Florida, Montana, Puerto Rico, all 50 states) what is going to be their spatial reference. Or can i just add a Long and Lat to the table to reference the states. At this point i am giving up on the whole spatial table or query stuff. Can i just have a long and Lat colum in that table? Would Long&Lat be 2 in 2 different colums on the table?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不明白你想做什么 - 你能重述一下吗?给出您想要解决的首要问题。
I do not understand what you are trying to do - can you please restate. Give the overarching question you are trying to solve.
也许值得迁移到带有地理空间扩展的 SQL Server 完整版本。
或者按照您的建议使用数据列进行经度和纬度。然后您将完全放弃使用 MapPoint 加载项,而只需使用 MapPoint 的数据导入向导。 (您可能需要创建到 SQL Server 的 udl 连接)。
It may be worth moving to full version of SQL Server with its geospatial extensions.
Or do as you suggest use data columns for longitude & latitude. Then you'd drop using the MapPoint add-in completely, and simply use MapPoint's Data Import Wizard. (you may need to create a udl connection to SQL Server).