incubator-sanselan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "john schneider (JIRA)" <j...@apache.org>
Subject [jira] Created: (SANSELAN-2) incorrect calculation of decimal representation of GPS coordiante in TiffImageMetaData.GPSInfo
Date Thu, 24 Apr 2008 04:57:21 GMT
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.


Mime
View raw message