tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Gauss II (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-915) Image geodata being rounded to integers
Date Mon, 14 May 2012 14:55:53 GMT

    [ https://issues.apache.org/jira/browse/TIKA-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13274632#comment-13274632

Ray Gauss II commented on TIKA-915:

I've investigated the latest release, 2.5.0-RC3, of the Drew Noakes library and the bit of
code that handles the geo extraction and parsing has in fact been updated and works with this
particular image file.

Unfortunately there are two issues in moving to that release:

1) 2.4.0-beta-1 (the version we currently use) is still the latest available in maven central

2) Major refactoring has been done on the Noakes side, and while I have completed much of
that work locally there's still a fair amount to be done.

I can complete that work on issue 2 if there's consensus on when and how we solve issue 1.

> Image geodata being rounded to integers
> ---------------------------------------
>                 Key: TIKA-915
>                 URL: https://issues.apache.org/jira/browse/TIKA-915
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.2
>            Reporter: Nick Burch
>         Attachments: problem_jpeg_geo_test.diff, testJPEG_GEO_2.jpg
> This was initially reported as an Alfresco issue, https://issues.alfresco.com/jira/browse/ALF-13004,
but is actually a Tika problem. It seems that for some images, the geo metadata is being incorrectly
rounded to an integer:
>    $ tika --metadata 2012-02-19\ 16.43.29.jpg | grep --text geo
>    geo:lat: 51.0
>    geo:long: -1.0
> The image was actually taken at (as extracted by exiftool)
>    $ exiftool 2012-02-19\ 16.43.29.jpg | grep GPS
>    ....
>    GPS Altitude                    : 295 m Above Sea Level
>    GPS Date/Time                   : 2012:02:20 16:44:22Z
>    GPS Latitude                    : 51 deg 34' 32.74" N
>    GPS Longitude                   : 1 deg 34' 4.39" W
>    GPS Position                    : 51 deg 34' 32.74" N, 1 deg 34' 4.39" W
> The sample file for this example is available at <https://issues.alfresco.com/jira/secure/attachment/29236/2012-02-19+16.43.29.jpg>.
We do have the OK to use the photo in a test suite, but it's possibly a bit big as-is so we
may need to resize it whilst preserving the exif data for a unit test.

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


View raw message