Lat Long or Long Lat

后端 未结 2 1419
时光说笑
时光说笑 2020-12-15 14:52

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.

\"Norm

2条回答
  •  佛祖请我去吃肉
    2020-12-15 15:34

    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.

提交回复
热议问题