JP2KReader should not depend on Kakadu to get the UUIDBox
---------------------------------------------------------

                 Key: GEOT-3135
                 URL: http://jira.codehaus.org/browse/GEOT-3135
             Project: GeoTools
          Issue Type: Improvement
          Components: gc jp2k
    Affects Versions: 2.7-M0
            Reporter: David Smiley
             Fix For: 2.7-M1
         Attachments: jp2k_without_kakadu.patch

The JP2KReader appears to have been enhanced over the past year to work 
somewhat without the Kakadu native libraries.  However, when the code tries to 
get the GeoTIFF metadata, from the JP2, it won't even try if its not dealing 
with a Kakadu based image reader.  That requirement isn't necessary since Sun 
specified with the metadata tree looks like for JP2: 
http://download.java.net/media/jai-imageio/javadoc/1.1/com/sun/media/imageio/plugins/jpeg2000/package-summary.html
  I am attaching a patch here that fixes this.  It works correctly in my 
environment.  I don't have a JP2 with GeoTiff headers I can share for testing 
and so there is no test.

My employer has relinquished copyright claims and I submitted the required form 
to Tyler Mitchell at OSGeo.

I would really appreciate this getting into v2.7.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to