Menu

Populate EXIF parameters using CSV file

Newbies
2022-12-02
2022-12-06
  • Mark Quilter

    Mark Quilter - 2022-12-02

    I posted this on the Exiftools forum and tried to create login but could not get back into to reply.

    Phil sent me the code for exiftools to add lat long and elevation. The code worked except that the elevation data was not entered into the images. I have also found out that I need to enter the following paramenters into the images to get my software to mosaic the images: Camera, Camera Model, GpsLatRef, GPsLongRef, DateTimeOriginal, and FocalLength.

    Will the following code work with the above fields added to the csv file?

    exiftool -csv=YOURCSVFILENAME -gpslatituderef=N -gpslongituderef=W -gpsaltituderef=above -Cameera -Camera Model -FocalLength -DateTimeOriginal *.jpg

     
  • Phil Harvey

    Phil Harvey - 2022-12-06

    In the CSV file, you should make the following changes to the header line:

    GPSElevation should be GPSAltitude
    GPSLatRef should be GPSLatitudeRef
    GPSLongRef should be GPSLongitudeRef
    Camera should be Make
    "Camera Model" should be Model

    Also, the single quotes after the GPSLatitude/LongitudeRef values is weird, but it should work with this anyway.

    Your command line doesn't need GPSLatitude/LongitudeRef since they are in the CSV file, and this should be removed: " -Cameera -Camera Model -FocalLength -DateTimeOriginal ".

    • Phil
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.