【发布时间】:2011-04-24 00:55:09
【问题描述】:
我试图从图像中获取纬度和经度。 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,但这些值似乎是可行的。是我做错了,还是数据不正确?谢谢
【问题讨论】: