System.Data.Spatial DbGeography.Distance单位? [英] System.Data.Spatial DbGeography.Distance units?

查看:320
本文介绍了System.Data.Spatial DbGeography.Distance单位?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当测量两个地点之间的距离使用 DbGeography.Distance(otherLocation)什么是距离的单位?

When measuring the distance between two locations using the DbGeography.Distance(otherLocation) what is the unit of the distance?

即使在MSDN信息和智能感知未指定距离的单位。

Even the msdn information and the intellisense fails to specify the unit of the distance.

任何人都知道?


我使用SRID 4326其中大部分的例子似乎使用。
从什么我可以发现,4326似乎是弧度,这让我完全一无所知。
弧度是用来衡量角度/度等什么在现实中这意味着什么?

[edit] I'm using srid 4326. which most examples seems to use. From what I can find, 4326 seems to be radians, this leaves me completely clueless. radians are used to measure angles/degrees so what does this mean in reality ?

推荐答案

若干条款似乎同意上米4326被用来作为距离单位。

Several articles seem to agree on meters being used in 4326 as the unit of distance.

WGS 84米,要做的事,这可能是为什么这款采用米。

WGS 84 is done in meters as well, which is probably why this uses meters.

HTTP:/ /blogs.msdn.com/b/adonet/archive/2011/06/30/walkthrough-spatial-june-ctp.aspx
http://www.jasonfollas.com/blog/archive/2011/07/20/entity-framework-spatial-第一look.aspx
http://blog.simplecode.eu/post/DistancesWithDbGeographyAndDbGeometry

这篇关于System.Data.Spatial DbGeography.Distance单位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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