[jira] [Updated] (SANSELAN-21) Fetching GPS Latitude Ref gets Interoperability Index instead of Reference

2011-11-27 Thread Damjan Jovanovic (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/SANSELAN-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Damjan Jovanovic updated SANSELAN-21:
-

Attachment: tiff-tag-exact-directory.patch

This patch fixes your test case, but doesn't fix what toString() of 
JpegImageMetadata returns. That seems to require further changes to TIFF code.


 Fetching GPS Latitude Ref gets Interoperability Index instead of Reference
 --

 Key: SANSELAN-21
 URL: https://issues.apache.org/jira/browse/SANSELAN-21
 Project: Commons Sanselan
  Issue Type: Bug
Affects Versions: 0.94-incubator
 Environment: Windows XP SP3, java version 1.5.0_17
 apache-sanselan-incubating-0.97-bin.zip
Reporter: Christian Junk
Priority: Minor
 Attachments: R0013102.jpg, geo1.jpg, sanselan-21.patch, 
 tiff-tag-exact-directory.patch


 When testing  the following example
 https://svn.apache.org/repos/asf/incubator/sanselan/trunk/src/test/java/org/apache/sanselan/sampleUsage/MetadataExample.java
 with apache-sanselan-incubating-0.97 it always stops working throwing a 
 ClassCastException. It seems, that the line 
 TiffField gpsLatitudeRefField = jpegMetadata
   
 .findEXIFValue(TiffConstants.GPS_TAG_GPS_LATITUDE_REF);
 returns the Interoperability Index (R98) instead of the GPS Latitude Ref.
 XResolution: 72
 Date Time: '2008:07:23 18:19:58'
 Date Time Original: '2008:07:23 10:05:21'
 Create Date: '2008:07:23 10:05:21'
 ISO: 64
 Shutter Speed Value: Not Found.
 Aperture Value: 6
 Brightness Value: 81/10 (8,1)
 GPS Latitude Ref: 'R98'  
  !!!
 GPS Latitude: 48, 49, 48, 48
 GPS Longitude Ref: 'E'
 GPS Longitude: 6, 38, 2061/100 (20,61)
 GPS Description: [GPS. Latitude: 49 degrees, 45 minutes, 34,18 seconds N, 
 Longitude: 6 degrees, 38 minutes, 20,61 seconds E]
   
 Exception in thread main java.lang.ClassCastException: [B
 at com.alta4.phasr.MetadataExample.metadataExample(MetadataExample.java:113)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (SANSELAN-21) Fetching GPS Latitude Ref gets Interoperability Index instead of Reference

2009-11-25 Thread Bill Evans (JIRA)

 [ 
https://issues.apache.org/jira/browse/SANSELAN-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bill Evans updated SANSELAN-21:
---

Attachment: sanselan-21.patch

Attached what I hope is a proper patch.

 Fetching GPS Latitude Ref gets Interoperability Index instead of Reference
 --

 Key: SANSELAN-21
 URL: https://issues.apache.org/jira/browse/SANSELAN-21
 Project: Commons Sanselan
  Issue Type: Bug
Affects Versions: 0.94-incubator
 Environment: Windows XP SP3, java version 1.5.0_17
 apache-sanselan-incubating-0.97-bin.zip
Reporter: Christian Junk
Priority: Minor
 Attachments: geo1.jpg, R0013102.jpg, sanselan-21.patch


 When testing  the following example
 https://svn.apache.org/repos/asf/incubator/sanselan/trunk/src/test/java/org/apache/sanselan/sampleUsage/MetadataExample.java
 with apache-sanselan-incubating-0.97 it always stops working throwing a 
 ClassCastException. It seems, that the line 
 TiffField gpsLatitudeRefField = jpegMetadata
   
 .findEXIFValue(TiffConstants.GPS_TAG_GPS_LATITUDE_REF);
 returns the Interoperability Index (R98) instead of the GPS Latitude Ref.
 XResolution: 72
 Date Time: '2008:07:23 18:19:58'
 Date Time Original: '2008:07:23 10:05:21'
 Create Date: '2008:07:23 10:05:21'
 ISO: 64
 Shutter Speed Value: Not Found.
 Aperture Value: 6
 Brightness Value: 81/10 (8,1)
 GPS Latitude Ref: 'R98'  
  !!!
 GPS Latitude: 48, 49, 48, 48
 GPS Longitude Ref: 'E'
 GPS Longitude: 6, 38, 2061/100 (20,61)
 GPS Description: [GPS. Latitude: 49 degrees, 45 minutes, 34,18 seconds N, 
 Longitude: 6 degrees, 38 minutes, 20,61 seconds E]
   
 Exception in thread main java.lang.ClassCastException: [B
 at com.alta4.phasr.MetadataExample.metadataExample(MetadataExample.java:113)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (SANSELAN-21) Fetching GPS Latitude Ref gets Interoperability Index instead of Reference

2009-11-20 Thread FG (JIRA)

 [ 
https://issues.apache.org/jira/browse/SANSELAN-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

FG updated SANSELAN-21:
---

Attachment: geo1.jpg

file to demonstrate geotag error

 Fetching GPS Latitude Ref gets Interoperability Index instead of Reference
 --

 Key: SANSELAN-21
 URL: https://issues.apache.org/jira/browse/SANSELAN-21
 Project: Commons Sanselan
  Issue Type: Bug
Affects Versions: 0.94-incubator
 Environment: Windows XP SP3, java version 1.5.0_17
 apache-sanselan-incubating-0.97-bin.zip
Reporter: Christian Junk
Priority: Minor
 Attachments: geo1.jpg, R0013102.jpg


 When testing  the following example
 https://svn.apache.org/repos/asf/incubator/sanselan/trunk/src/test/java/org/apache/sanselan/sampleUsage/MetadataExample.java
 with apache-sanselan-incubating-0.97 it always stops working throwing a 
 ClassCastException. It seems, that the line 
 TiffField gpsLatitudeRefField = jpegMetadata
   
 .findEXIFValue(TiffConstants.GPS_TAG_GPS_LATITUDE_REF);
 returns the Interoperability Index (R98) instead of the GPS Latitude Ref.
 XResolution: 72
 Date Time: '2008:07:23 18:19:58'
 Date Time Original: '2008:07:23 10:05:21'
 Create Date: '2008:07:23 10:05:21'
 ISO: 64
 Shutter Speed Value: Not Found.
 Aperture Value: 6
 Brightness Value: 81/10 (8,1)
 GPS Latitude Ref: 'R98'  
  !!!
 GPS Latitude: 48, 49, 48, 48
 GPS Longitude Ref: 'E'
 GPS Longitude: 6, 38, 2061/100 (20,61)
 GPS Description: [GPS. Latitude: 49 degrees, 45 minutes, 34,18 seconds N, 
 Longitude: 6 degrees, 38 minutes, 20,61 seconds E]
   
 Exception in thread main java.lang.ClassCastException: [B
 at com.alta4.phasr.MetadataExample.metadataExample(MetadataExample.java:113)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.