exif data on iPhone 7 doesn't include GPS location
I often use my iPhone to record a GPS location. Since I got my iPhone 7 running 10.0.2 I find that exported JPEG files don't contain the GPS location. But I appear to be recording it because Photos is able to produce a map that shows where the photo was taken. That's all fine but I want to use that information to add GPS coordinates to photos in Lightroom that I take with other cameras.
I've looked at the EXIF data attached to the iPhone images using the command line tool mdls. It shows that some GPS location information is being recorded because I see the heading etc but not the lat/long data.
Here's an example output:
$ mdls IMG_0106.JPG
_kMDItemOwnerUserID = 501
kMDItemAcquisitionMake = "Apple"
kMDItemAcquisitionModel = "iPhone 7 Plus"
kMDItemAperture = 2.970853573907009
kMDItemAuthors = (
"Adam Bridge"
)
kMDItemBitsPerSample = 32
kMDItemColorSpace = "RGB"
kMDItemContentCreationDate = 2016-10-08 17:32:34 +0000
kMDItemContentModificationDate = 2016-10-08 17:32:34 +0000
kMDItemContentType = "public.jpeg"
kMDItemContentTypeTree = (
"public.jpeg",
"public.item",
"public.data",
"public.image",
"public.jpeg",
"public.content"
)
kMDItemCopyright = "Adam Bridge"
kMDItemCreator = "10.0.2"
kMDItemDateAdded = 2016-10-09 05:14:51 +0000
kMDItemDisplayName = "IMG_0106.JPG"
kMDItemEXIFVersion = "2.2.1"
kMDItemExposureMode = 0
kMDItemExposureProgram = 2
kMDItemExposureTimeSeconds = 0.002358490566037736
kMDItemFlashOnOff = 0
kMDItemFNumber = 2.8
kMDItemFocalLength = 6.6
kMDItemFSContentChangeDate = 2016-10-09 03:06:03 +0000
kMDItemFSCreationDate = 2016-10-09 03:05:25 +0000
kMDItemFSCreatorCode = ""
kMDItemFSFinderFlags = 0
kMDItemFSHasCustomIcon = (null)
kMDItemFSInvisible = 0
kMDItemFSIsExtensionHidden = 0
kMDItemFSIsStationery = (null)
kMDItemFSLabel = 0
kMDItemFSName = "IMG_0106.JPG"
kMDItemFSNodeCount = (null)
kMDItemFSOwnerGroupID = 20
kMDItemFSOwnerUserID = 501
kMDItemFSSize = 4907694
kMDItemFSTypeCode = ""
kMDItemGPSDateStamp = "2016:10:08"
kMDItemGPSDestBearing = 161.6490566037736
kMDItemHasAlphaChannel = 0
kMDItemImageDirection = 161.6490566037736
kMDItemISOSpeed = 20
kMDItemKeywords = (
California,
"Eastern Sierra"
)
kMDItemKind = "JPEG image"
kMDItemLogicalSize = 4907694
kMDItemOrientation = 0
kMDItemPhysicalSize = 4911104
kMDItemPixelCount = 12192768
kMDItemPixelHeight = 3024
kMDItemPixelWidth = 4032
kMDItemProfileName = "Display P3"
kMDItemRedEyeOnOff = 0
kMDItemResolutionHeightDPI = 72
kMDItemResolutionWidthDPI = 72
kMDItemSpeed = 0
kMDItemTimestamp = "17:32:33"
kMDItemWhiteBalance = 0
iPhone 7 Plus, iOS 10.0.2