Human readable GPS values could be bad
|Status:||Closed||Start date:||26 Aug 2016|
|Assignee:||Robin Mills||% Done:|
|Category:||exif||Estimated time:||1.00 hour|
The problem is in function printDegrees in tags.cpp file. GPS values is defined as unsignedRational, but printDegress read values to int32_t instead of uint32_t. That create bad values at the end of precision like: 49deg 21' -2.596" which is bad. The right value could be 49deg 21' 40.354".
#1 Updated by Robin Mills 11 months ago
- Status changed from New to Assigned
- Assignee set to Robin Mills
- Target version set to 0.26
- % Done changed from 0 to 100
- Estimated time changed from 0.10 to 1.00
Patch submitted r4440. Thank You to Ondřej for reporting this and providing the patch.
I added a cast to your code because I suspect either the MSVC 64 or 32 bit build will need it.