Hi Jon, Thanks so much for the patch. I'm aiming to do a new build soon and I'll be sure to include it.
Thanks, Charles. ps. I've cc'd the sanselan-dev mailing list. On Tue, Apr 22, 2008 at 5:41 PM, Jon Anders Amundsen <[EMAIL PROTECTED]> wrote: > Hi! > > I want to report a small bug in Sanselan in the convenience functions to > read GPS data. > > In the class org.cmc.sanselan.formats.tiff.TiffImageMetadata.GPSInfo there > are two functions called getLongitudeAsDegreesEast() and > getLatitudeAsDegreesNorth() which is affected by the bug. > These functions will return a position that may be several kilometers wrong > because of a small calculation error. These two functions assume that there > are 360 seconds in one degree, while the correct number is 3600. This is on > line number 369 and 384 (according to the file in release 0.91). > > I have attached a .diff-file that will fix the bug. > > -- > Jon Anders Amundsen > MSc Student at the Norwegian University of Science and Technology > Department of Computer and Information Science >
