iphone图片中的地理位置信息

时间:2014-12-02 22:54:18

标签: ios objective-c iphone geolocation exif

我正在尝试制作一个可以将图片从iphone的照片库映射到谷歌地图的应用程序。我试图从图像中提取经度和纬度信息。我引用了此Get Exif data from UIImage - UIImagePickerController指南并成功检索了exif数据,但它不包含纬度和经度信息。它给了我以下输出     exif_dict: { ApertureValue = "2.52606882168926"; BrightnessValue = "3.144031311154599"; ColorSpace = 1; ComponentsConfiguration = ( 1, 2, 3, 0 ); DateTimeDigitized = "2014:10:25 13:31:21"; DateTimeOriginal = "2014:10:25 13:31:21"; ExifVersion = ( 2, 2, 1 ); ExposureMode = 0; ExposureProgram = 2; ExposureTime = "0.008333333333333333"; FNumber = "2.4"; Flash = 32; FlashPixVersion = ( 1, 0 ); FocalLenIn35mmFilm = 35; FocalLength = "3.85"; ISOSpeedRatings = ( 320 ); LensMake = Apple; LensModel = "iPhone 4 front camera 3.85mm f/2.4"; LensSpecification = ( "3.85", "3.85", "2.4", "2.4" ); MeteringMode = 5; PixelXDimension = 640; PixelYDimension = 480; SceneCaptureType = 0; SceneType = 1; SensingMethod = 2; ShutterSpeedValue = "6.909195402298851"; SubsecTimeDigitized = 616; SubsecTimeOriginal = 616; WhiteBalance = 0; } 请帮我检索经度和纬度信息。提前致谢

0 个答案:

没有答案