Hello everybody I'm new in this forum.
I've found some 3Ds that could help me, but the code I find doesn't work.
I've to insert gpsLat and gpsLon into my image file.jpg
I use VBA in Access 2010.
I prepare the command line:
"ExifTool -GPSLatitude=" & latt & " -GPSLatitudeRef=N -GPSLongitude=" & lonn & " -GPSLongitudeRef=W " & """" & Img_001.jpg & """"
where latt and lonn are the values of the lat and lon I want to insert.
Than I use it:
shell.Run exifCommand, 1, False
I tried also -GPSLatitude*, uselessly...
When I search Lat and Lon in the properties of the image file I don't find them: WHY?
Where am I wrong?
1. Try running the command from the command line to see if it is a problem with your shell.Run syntax.
2. Use ExifTool from the command line to read back the metadata to verify it was inserted.
- Phil
Also, you can simplify things by letting exiftool figure out the N/S/E/W references. Just pass your latt/lonn to the reference tags.
exiftool -GPSLatitude=" & latt & " -GPSLatitudeRef=" & latt & " -GPSLongitude=" & lonn & " -GPSLongitudeRef=" & lonn