经纬度或经纬度 [英] Lat Long or Long Lat

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

问题描述

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

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 universal standard on the order:

在进行通用转换的数学函数中,在 x,y 或 lon,lat 或逆时,应使用 lon,lat 顺序,因为 x 轴与经度相关,y 与纬度相关,x,y 顺序通常是首选.

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 usually preferred.

此外,如果您编写一段与在 x,y 坐标(屏幕)上绘制 lon,lat 坐标相关的代码,我也会使用 lon,lat 顺序,因为它与 x,y 有直接关系.

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.

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

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