Bug#1023889: libimage-exiftool-perl: exiftool ignores GPSLongitudeRef option

Andreas Tille andreas at fam-tille.de
Tue Nov 15 07:17:53 GMT 2022


Hi Phil,

Am Sun, Nov 13, 2022 at 07:30:42AM -0500 schrieb Phil Harvey:
> It is not as simple as you are imagining.  Add the -v2 option to see what you are actually writing.  There are various types of GPS tags and your command isn't specific about which one(s) to write.

Well, admittedly its not simple.  From a user perspective it feels wrong
anyway.  If the issue can't be solved inside the code it should at least
be explained verbosely in documentation.  Meanwhile I've changed my scripts
to work as expected.  However, we should give users a good chance that
they do not end up with GPSLongitudeRef='E' when the only specification
in command line is

    -GPSLongitudeRef='W'

This could be done by

   1. issuing a warning if -GPSLongitudeRef is given at all and recommend
      using the -exif:  representation of possibly all those options
      (matching your recommendation 1 of your first response)

   2. Drop -GPSLongitudeRef from documentation and recommend specifying
      the direction right in the -GPSLongitude option
      (matching your recommendation 3 of your first response)

The current behaviour is simply error prone and should be avoided.

Kind regards
   Andreas.

-- 
http://fam-tille.de



More information about the pkg-perl-maintainers mailing list