incorrect calculation of decimal representation of GPS coordiante in
TiffImageMetaData.GPSInfo
----------------------------------------------------------------------------------------------
Key: SANSELAN-2
URL: https://issues.apache.org/jira/browse/SANSELAN-2
Project: Sanselan
Issue Type: Bug
Environment: any
Reporter: john schneider
Assignee: Carsten Ziegeler
incorrect calculation of decimal representation of GPS coordiante in
TiffImageMetaData.GPSInfo
in public double getLongitudeAsDegreesEast() and public double
getLatitudeAsDegreesNorth()
example from getLongitudeAsDegreesEast()
double result = longitudeDegrees.doubleValue()
+ (longitudeMinutes.doubleValue() /
60.0)
+ (longitudeSeconds.doubleValue() /
360.0);
last part is incorrect
+ (longitudeSeconds.doubleValue() /
360.0);
should be
+ (longitudeSeconds.doubleValue() /
3600.0);
this is wrong in both methods
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.