Lat Long或Long Lat [英] Lat Long or Long Lat

查看:268
本文介绍了Lat Long或Long Lat的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎没有标准是应该使用经度,纬度还是纬度,经度。
WSG84和直接基于它的东西,似乎更喜欢Long,Lat。


$ b

普通人总是倾向于说经纬度 - 所以我经常看到使用纬度,长度的代码或框架(例如谷歌地图) p>

对于这两种方式有没有强有力的论据?

解决方案

您是对的,订单上没有标准:

在x,y或lon,lat或inverse之间进行通用转换的数学函数中,应该使用lon,lat阶,因为x轴与经度有关,y与纬度有关,而x,y阶是另外,如果你编写一段与x,y坐标(屏幕)上的绘制lon,lat坐标相关的代码,我也会使用由于与x,y的直接关系,lon,lat order。

Order lat,lon是传统的,来自(旧)导航和地理。我假设该领域的纬度首先被使用,因为它更容易测量(仅使用标尺,太阳和长度的阴影测量棒)。
经度长时间不能确定。如果你读过古老的冒险报告,他们只会告诉他们的探险队到达的纬度)。

我认为他们首先使用纬度,经度的测量在历史的后期出现,一旦精确的计时器已经可用并且便携。
因此,对于在屏幕上显示坐标信息的应用,您应该首先显示纬度。


There seems to be no standard whether Longitude,Latitude or Latitude,Longitude should be used. WSG84 and stuff based directly on it, seem to prefer Long,Lat.

"Normal people" always tend to speak of Lat, Long - so I've very often seen code or frameworks that use Lat, Long (e.g. google Maps)

Is there any strong argument for either way?

解决方案

You are correct, there is no standard on the order:

In mathematical functions which do an universal conversion, between x,y or lon,lat or inverse, the lon,lat order should be used, because the x-axis relates to longitude and y to latitude and the x,y order is ususally prefered.

Further, if you program a piece of code which is related to draw a lon,lat coordinate on x,y coordinates (screen), I also would use the lon,lat order because of the direct relation to x,y.

The order lat,lon is the classical one, coming from (old) navigation and geography. I assume that latitude in that field is used first because it was easier to measure (using only a ruler, the sun and a stick for length of shadow measuring). The longitude was not determinable for long time. If you read old adventure reports, they only tell the latitude that their expeditions reached).

I think therefore they use latitude first, the measurement of longitude came later in history, once precise chronometers have been available and transportable.

So for apps that display coordinates info on a screen you should display latitude first.

这篇关于Lat Long或Long Lat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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