0
我試圖從圖像中獲取經度和緯度。的EXIF GPS陣列:php exif;緯度和經度?
[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
)
我想緯度會千分之四萬五千五百九十四和經度一千分之五萬六千六百十五,但這些值似乎是這樣的。我做錯了,還是數據不正確?由於
每個座標分量的/#部分可能是最大誤差範圍。所以北57 +/- 1度。相當龐大。 – 2011-04-24 02:52:08
是的,馬克,我沒有想到這一點;這將是一個精確的表達。我忽略了「/ 1」,因爲我根本不理解它們;-) – corlettk 2011-04-24 03:46:33