Hi,
I would like imprt GPS information from NMEA log, created by BeeLine GPS software. My log's name is HAJO.LOG. My picture's name is img1.jpg.
My log file looks like that:
....
$GPGGA,111922.286,4743.2364,N,01641.5161,E,1,07,1.2,164.5,M,42.8,M,0.0,0000*7C
$GPGSA,A,3,26,12,28,15,27,17,09,,,,,,2.2,1.2,1.8*3B
$GPGSV,3,1,09,15,69,243,29,27,59,299,35,26,49,158,33,17,41,109,33*74
$GPGSV,3,2,09,09,39,289,38,28,36,053,30,18,21,297,25,12,11,228,37*7E
$GPGSV,3,3,09,22,07,328,00*4E
$GPRMC,111922.286,A,4743.2364,N,01641.5161,E,1.08,210.80,040711,,*00
$GPGSA,A,3,12,28,15,27,17,09,,,,,,,2.5,1.5,2.0*34
$GPRMC,111923.286,A,4743.2362,N,01641.5159,E,0.80,219.66,040711,,*0C
$GPGSA,A,3,26,12,28,15,27,17,09,,,,,,2.2,1.2,1.8*3B
$GPRMC,111924.286,A,4743.2359,N,01641.5157,E,1.14,201.47,040711,,*0B
$GPGSA,A,3,12,27,17,09,,,,,,,,,9.2,5.0,7.7*35
$GPRMC,111925.286,A,4743.2355,N,01641.5155,E,1.45,210.03,040711,,*00
$GPGGA,111926.286,4743.2350,N,01641.5151,E,1,05,1.7,163.2,M,42.8,M,0.0,0000*7B
...
I try import GPS positions to image with this command:
exiftool -geotag hajo.log img1.jpg
But after execute I get the following message:
Warning: Month '13' out of range 0..11 in File:Geotag (ValueConvInv)
Warning: GPS track is empty in File:Geotime (ValueConvInv) - img1.jpg
Warning: No writable tags found - img1.jpg
0 image files updated
1 image files unchanged
I can't find nothing about this warning message...
Please help!
Could you please email me the track log and the image so I can reproduce this problem?
philharvey66 at gmail.com
Thanks.
- Phil
I sent the files.
Thanks!!
Thanks, I got them. I'll take a look at them tomorrow morning because I'm on dialup tonight and can't download the large files.
- Phil
The problem is that your GPS log file is badly corrupted. However, I will add some validation to ExifTool 8.61 to check for out-of-range dates like this. So with the new version (likely to be released Saturday), you may be able to use this damaged GPS log file.
- Phil
Thaks!!! Can you tell me, what was the problem in the log file?
Open it up in a text editor and you should immediately see the problem. Many lines are truncated and/or concatenated with subsequent lines.
- Phil
Yes, I see. The Exifer will ignore these lines in the new version?
Exifer? No.
ExifTool? Yes...
..sort of. ExifTool does a certain amount of validation, but doesn't validate the checksum so it is possible that some invalid lines may slip through. What I will do for the next release is add date/time validation, which will solve the immediate problem.
- Phil
Exifer.... sorry :-[ :)
I downloaded the new version, working fine. Many thanks!!! Excellent support! :):)