You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running the following command with the extra argument -n to extract the real exif data (I want the integer value for the orientation tag).
Exiftool.new('some-image-file.jpg,'-n').to_hash
I see some warnings for both the 'GPSLatitude' & 'GPSLongitude': :gps_latitude=>"Warning: Parsing '52.7353472222222' for attribute 'GPSLatitude' raised undefined methodsplit' for 52.7353472222222:Float"`
added an image for any testing:
The text was updated successfully, but these errors were encountered:
rempargo
changed the title
using the '-n' option for an image with gps coordinates gies
using the '-n' option for an image with gps coordinates gives warnings
Aug 30, 2016
morozgrafix
pushed a commit
to morozgrafix/exiftool
that referenced
this issue
Oct 5, 2016
Fixesexiftool-rb#7
If `-n` option is used, GPS coordinates come as numeric values and there is no need to attempt to split cardinal directions from the value.
Also added a test for this scenario.
I'm running the following command with the extra argument
-n
to extract the real exif data (I want the integer value for the orientation tag).Exiftool.new('some-image-file.jpg,'-n').to_hash
I see some warnings for both the 'GPSLatitude' & 'GPSLongitude':
:gps_latitude=>"Warning: Parsing '52.7353472222222' for attribute 'GPSLatitude' raised undefined method
split' for 52.7353472222222:Float"`added an image for any testing:

The text was updated successfully, but these errors were encountered: