Embed Additional GPS Lat/Long in Custom Field

Started by RonChapple, November 30, 2019, 11:35:52 AM

Previous topic - Next topic

RonChapple

Does the Nikon EXIF metadata support a custom field where an additional GPS Lat/Long can be logged? This Lat/Long would be different than the Lat/Long embedded in the standard GPS fields.

StarGeek

Nikon Makernotes (Nikon, NikonCustom, and NikonCapture), which are part of the EXIF block, do not support any custom metadata.  You can create non-Nikon specific custom tags as part of the EXIF block (see example.config file), but custom fields are pretty much limited to only being read by exiftool.  Other programs will not be able to read the data.

What is your goal in creating a second GPS coordinate set?  There is the possibility of repurposing another tag to achive that, such as using GPSDestLatitude/GPSDestLongitude and their associated Ref tags.

* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Alan Clifford

You could use xmp.  Mine are the same as exif and I don't know if other software would throw a wobbly if they were different.

exiftool -G -a -gps* x-s1_3867.jpg


[EXIF]          GPS Version ID                  : 2.3.0.0
[EXIF]          GPS Latitude Ref                : South
[EXIF]          GPS Latitude                    : 33 deg 11' 38.87"
[EXIF]          GPS Longitude Ref               : East
[EXIF]          GPS Longitude                   : 18 deg 7' 13.96"
[EXIF]          GPS Altitude Ref                : Below Sea Level
[EXIF]          GPS Altitude                    : 6.875933076 m
[EXIF]          GPS Time Stamp                  : 13:54:08
[EXIF]          GPS Date Stamp                  : 2019:03:14
[XMP]           GPS Altitude                    : 6.87593307593308 m
[XMP]           GPS Altitude Ref                : Below Sea Level
[XMP]           GPS Latitude                    : 33 deg 11' 38.87" S
[XMP]           GPS Longitude                   : 18 deg 7' 13.96" E
[XMP]           GPS Date/Time                   : 2019:03:14 13:54:08
[Composite]     GPS Altitude                    : 6.8 m Below Sea Level
[Composite]     GPS Date/Time                   : 2019:03:14 13:54:08Z
[Composite]     GPS Latitude                    : 33 deg 11' 38.87" S
[Composite]     GPS Latitude Ref                : South
[Composite]     GPS Longitude                   : 18 deg 7' 13.96" E
[Composite]     GPS Longitude Ref               : East
[Composite]     GPS Position                    : 33 deg 11' 38.87" S, 18 deg 7' 13.96" E
c

RonChapple

Thanks for the fast responses!  We are integrating a Nikon D850 with an IMU/INS to determine position, pitch, angle and roll with a Laser Rangefinder to determine distance with software to establish where the camera is looking. We are already pushing the heading and position information into the EXIF metadata, and would also like to push the calculated position into the EXIF as well while retaining the position of where the image was acquired.  Our integration uses the 10-pin connector.

StarGeek

Quote from: RonChapple on November 30, 2019, 02:15:00 PMWe are already pushing the heading and position information into the EXIF metadata, and would also like to push the calculated position into the EXIF as well while retaining the position of where the image was acquired.

That sounds like GPSDestLatitude/GPSDestLongitude/GPSDestLatitudeRef/GPSDestLongitudeRef would the right places to put it.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

RonChapple

Thanks StarGeek, much appreciated.

Just to confirm, does the Nikon D850 EXIF have support for the GPSDestLatitude/GPSDestLongitude/GPSDestLatitudeRef/GPSDestLongitudeRef fields?

StarGeek

I'm not sure what you mean by that.  The EXIF (and IPTC and XMP) specs are not specific to any camera.  The only thing specific to a single camera type are the Makernotes.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

RonChapple

I think that answers my question. I was not sure if the D850 limits the EXIF fields that can be accessed.

On another note - do you know anyone that has expertise in the data that can be passed from the 10-pin to and from the D850?

StarGeek

Quote from: RonChapple on November 30, 2019, 03:46:55 PMI was not sure if the D850 limits the EXIF fields that can be accessed.

Maybe after downloading the file from the camera, making changes, and then uploading back to the camera to view in the camera.  But otherwise, no problems.

QuoteOn another note - do you know anyone that has expertise in the data that can be passed from the 10-pin to and from the D850?

Nope, not even sure what that would be.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).