Insert GPS coordinates (lat/long/altitude) to batch of pictures using excel info

Started by kempo, May 12, 2014, 04:28:09 PM

Previous topic - Next topic

Phil Harvey

Hi Alex,

Thanks, but that is only half the picture.  I need to know the full path as imported from the CSV file too (toward the top of the output).  I don't need to see them for all of the files, just both full paths for one image file.

- 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 ($).

kempo

Quote from: Phil Harvey on May 25, 2014, 03:23:25 PM
Hi Alex,

Thanks, but that is only half the picture.  I need to know the full path as imported from the CSV file too (toward the top of the output).  I don't need to see them for all of the files, just both full paths for one image file.

- Phil

Here is the info :


StarGeek

The path shown in the video is c:\gps\img.  The path in the screen shot is c:\img\
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

kempo

Quote from: StarGeek on May 25, 2014, 03:38:24 PM
The path shown in the video is c:\gps\img.  The path in the screen shot is c:\img\.

By mistake, after I have done the video, I have deleted the c:\gps\img. folder.

Today I have created a new one, this time at c:\img\.

I can put back the "img" folder in the "gps" folder.

StarGeek

If the images are in C:\img\ then just ignore me.  It was just a discrepancy I had noticed.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

kempo

Quote from: StarGeek on May 25, 2014, 03:54:42 PM
If the images are in C:\img\ then just ignore me.  It was just a discrepancy I had noticed.

I can confirm that the images and the position_data.txt file are in c:\img\ .

Phil Harvey

Thanks.

The problem is that the full path derived from the database entries has a capital "C:", while the path for the file has a lower-case "c:".   Both are obtained by calling Cwd::abs_path() ... darned inconsistencies in this function :(

Can I always assume case-insensitivity for a Windows filesystem?  If so, then I can deal with this.

- Phil

Edit: I did a bit of googling, and it appears to be a reasonable assumption that all Windows filesystems are case insensitive.  (Perhaps not some NTFS-mounted volumes, but assuming these are case-insensitive too would be unlikely to cause any problems.)  So I will add a patch for this in ExifTool 9.63.
...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 ($).

kempo

Hi Phil, after v9.63 will be available I will do some trials.

Regarding my request from above : it is possible to have on the KML file the picture/tags at the height mentioned in the EXIF (there is an example in a previous post)?

Thank you,
Alex

Phil Harvey

Hi Alex,

You can do anything you want in the KML.  The example I gave is very basic.  Just edit the kml.fmt file to do whatever you want.  For help with the KML format, I suggest a Google Earth forum.

- 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 ($).

Amrit

Hi Phil

I have the same  issues and wondering if there is other solution to this. I am trying to modify the GPS coordinates of pictures with corrected GPS coordinates.

I saw this link but not sure if there is a solution.

Thanks


Phil Harvey

You'll have to be more specific.  The case-sensitivity problem should have been solved in ExifTool 9.63.

- 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 ($).

Amrit

The problem is not solved I have the same issue


Phil Harvey

I can't see the whole -v2 output.  At the start it should say what entries were imported from the database.  Compare these file names with the ones from the processed files.

- 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 ($).

Amrit


StarGeek

Just to verify, you are using a recent version of exiftool?  Type exiftool -ver to check.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype