【发布时间】:2017-07-28 04:51:45
【问题描述】:
可以说我有这个职位:32.709237, 51.627789
我需要知道它的纬度是 W 还是 E ,经度是 N 还是 S 。
【问题讨论】:
标签: php gps latitude-longitude
可以说我有这个职位:32.709237, 51.627789
我需要知道它的纬度是 W 还是 E ,经度是 N 还是 S 。
【问题讨论】:
标签: php gps latitude-longitude
北纬为正,南为负。
同理,东经度为正值,西经度为负值。
if(value<0)
//value is negative
【讨论】:
If 1st value = positive the mean you are in East
If 1st value = negative the mean you are in West
If 2nd value = positive the mean you are in North
If 2nd value = negative the mean you are in South
【讨论】: