我试图从图像中获取纬度和经度。 exif gps数组:
[GPS] => Array
(
[GPSVersion] =>
[GPSLatitudeRef] => N
[GPSLatitude] => Array
(
[0] => 57/1
[1] => 42/1
[2] => 45594/1000
)
[GPSLongitudeRef] => E
[GPSLongitude] => Array
(
[0] => 11/1
[1] => 54/1
[2] => 56615/1000
)
[GPSAltitudeRef] =>
[GPSAltitude] => 228/10
[GPSTimeStamp] => Array
(
[0] => 10/1
[1] => 46/1
[2] => 12000/1000
)
[GPSStatus] => A
[GPSMeasureMode] => 3
[GPSSpeedRef] => K
[GPSSpeed] => 4/10
[GPSTrackRef] => T
[GPSTrack] => 1719/100
[GPSImgDirectionRef] => M
[GPSImgDirection] => 32900/100
[GPSMapDatum] => WGS-84
[GPSDateStamp] => 2011:04:23
[GPSDifferential] => 0
)
我认为纬度是45594/1000和经度56615/1000,但这些值似乎是这样的。我做错了,还是数据不正确?感谢
答案 0 :(得分:0)
我会解释:
[GPSLatitudeRef] => N
[GPSLatitude] => Array
(
[0] => 57/1
[1] => 42/1
[2] => 45594/1000
)
北纬为57度,42分钟,45秒和594毫秒...... Ergo:在加拿大或西伯利亚的某个地方。
下一个问题是“基准是什么?”,在[GPSMapDatum] => WGS-84
元素中给出。
干杯。基思。
PS:谷歌(WGS-84)说:http://en.wikipedia.org/wiki/World_Geodetic_System
PPS:看http://www.worldpress.org/images/maps/europe_600w.jpg,我把这一点放在靠近挪威海岸的北海......我温暖吗?