Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Incorrect harvesting of location from some images #2
This problem was reported in an email from Andrew Stanger:
Most of my records are a little bit east of the Greenwich meridian. When I import data from digital photos (which is very useful as I normally photograph everything of interest when on field trips), the OS grid ref generated by the program has the same latitude, but the longitude has been changed from e.g. 0.169617 E to -0.169617 (or very close to that), so I get a mirror image location the other side of the Greenwich meridian.
This turned out to be a small bug in the clsExifWorks class which G21 uses to retrieve EXIF location information from photos (Michal A. Valášek - Altair Communications, 2003-2005). The small bug in function DMStoDD resulted in positive longitudes (i.e. east of Greenwich Meridian) which were less than 1 degree being converted to negative longitudes (west of meridian). I fixed this bug in clsExifWorks and all should now work correctly.