简体   繁体   English

此地理位置字符串是什么格式

[英]What format is this geo string

N55.30.3878,E9.44.4944 N55.30.3878,E9.44.4944

(The comma may, or may not be part of the format!) (逗号可能是该格式的一部分,也可能不是该格式的一部分!)

Which format is this? 这是哪种格式? I know the latitude and longitude of this point is: 我知道这一点的经度和纬度是:

Latitude: 55.506196666667 纬度:55.506196666667

Longitude: 9.7416983333333 经度:9.7416983333333

Also, if you are extra cool and didn't know which format this was by experience, please tell me how you figured out which format it is! 另外,如果您格外酷炫,并且根据经验不知道它是哪种格式,请告诉我您如何确定它是哪种格式! I've been googling and pulling my hair for the last 2 hours because of this! 因此,我过去两个小时一直在谷歌搜索和拔头发!

It's degrees, minutes and seconds notation 用度,分和秒表示

  • N55.30.3878 N55.30.3878
  • N: above equator, positive latitude N:赤道以上,纬度为正
  • 55: 55 degrees, same as in decimal coords 55:55度,与十进制坐标相同
  • 30: 30 minutes, or (30 / 60 ) degrees 30:30分钟,或(30/60)度
  • 3878: 38.78 seconds, or (38.78 / 60 ) minutes, or (38.78 / 3600 ) degrees. 3878:38.78秒,或(38.78 / 60)分钟,或(38.78 / 3600)度。

.

55 + 30/60 + 38.78 / 3600 
55 + 0.5 + 0.0061967
55.5061967

The longitude process is pretty much the same 经度过程几乎相同

PD: You can find variations of this notation such as PD:您可以找到此符号的变体,例如

  • +50.30.3878 +50.30.3878
  • +50°30'3878" + 50°30'3878"

you can't really deprecate traditional notations, but they are less used because they are less efficient to parse. 您不能真正弃用传统符号,但是它们使用较少,因为它们解析效率较低。 Most databases would consider above inputs to be just strings. 大多数数据库会认为上述输入只是字符串。

Edit : I was wrong when I assumed lightly that the formula matched your coordinates. 编辑 :当我轻易假设公式与您的坐标匹配时,我错了。 I didn't had a calc at hand and switching tasks in my cellphone often leads to lose the answer draft. 我手头没有计算能力,而手机中的切换任务常常会导致丢失答案草稿。

So, as you've seen, the degrees + minutes + seconds interpretation +55°30'3878" 因此,如您所见,度+分钟+秒解释+ 55°30'3878“

translates to 55.51772 转换为55.51772

And the degrees + decimal minutes interpretation +55°30.3878' 而度数+小数分钟的解释+ 55°30.3878'

translates to 55.5064633 转换为55.5064633

Regarding the longitude, it either translates to 9.74157 (9°44.4944') or 9.74706 (9°44'4944") 关于经度,它可以转换为9.74157(9°44.4944')或9.74706(9°44'4944“)

As you can see, none of these alternatives translates to 55.5061967. 如您所见,这些替代方法都没有转换为55.5061967。 They don't seem to be one of the three coordinate formats I know. 它们似乎不是我所知道的三种坐标格式之一

I'm sorry my answer misled you. 对不起,我的回答误导了你。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM