Extracting GPS info from Nikon D850 NEF files

Started by HarryEC123, April 22, 2019, 06:43:17 AM

Previous topic - Next topic

Phil Harvey

As Alan said, the GPS is not in the NEF, so a sample won't help.

- Phll
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

HarryEC123

Enclosed is an example nksc file where the GPS information is stored.
ExifTool can read the file, and identifies the fields correctly, but not the formatting. For example, GPSPosition returns
"AAAAAACAQ0AAAAAAAIBDQAAAAKC/i0xA AAAAAAAAM0AAAAAAAABHQAAAAOBHYDtA"

Phil Harvey

See the config file that I posted earlier in this thread.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

aroach

Having experienced this problem as well, and faced with the prospect of having to fix several hundred files by hand, I wrote a small open source windows CLI program (https://github.com/a-roach/nkscgeosync) to automate the process. As a bonus, the program also lets you set various noise reduction settings en-mass.

Phil Harvey

Note that the current version of ExifTool does decode GPS from NKSC files.  The config file is no longer necessary.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).