Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get Latitude and Longitude with a Tif file from a DJI P4 Multispectral #85

Open
imagoiq opened this issue Dec 22, 2021 · 0 comments

Comments

@imagoiq
Copy link

imagoiq commented Dec 22, 2021

Hi,

I'm unable to get location from multiple file coming from the same camera. It seems that GPS location is stored in the GPS header as well as in the XMP.

I'm able to retrieve data using the online viewer by doing:

exifr.parse(file, true)

But if I try to optimize a bit and use those kinds of command, it doesn't work:

exifr.gps(file) (or using benchmark/gps-dnd.html)

or

exifr.parse(file, { pick: ['GPSLongitude', 'GPSLatitude']})

or

exifr.parse(file, { pick: ['GPSLongitude', 'GPSLatitude'], xmp: true})
exifr.parse(file, { pick: ['GpsLongitude', 'GpsLatitude'], xmp: true})

The only location data that I'm getting with default options:

GPSVersionID: "2.3.0.0"
GPSLatitudeRef: "N"

Here is a sample. It looks like it's the same issue with different datasets from the same device.
DJI_0075.zip

Thanks in advance for looking at this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant