Ciao Alex, see below... ------------------------------------------------------- Ing. Simone Giannecchini GeoSolutions S.A.S. Owner - Software Engineer Via Carignoni 51 55041 Camaiore (LU) Italy
phone: +39 0584983027 fax: +39 0584983027 mob: +39 333 8128928 http://www.geo-solutions.it http://simboss.blogspot.com/ http://www.linkedin.com/in/simonegiannecchini ------------------------------------------------------- On Wed, Jun 17, 2009 at 2:23 AM, Alex Maddern<[email protected]> wrote: > > Greetings, > > While not a complete moron, I am relatively new to Java and have been > struggling swimming through the various class libraries for reading images > into GeoTools. > > I am trying to extract the Geo metadata from a JPEG2000 (GeoJPEG) image and > I am struggling to find any examples on the Web of how this is accomplished. > My previous task, using GeoTIFF as a source, was pretty trivial using > GeoTiffReader once I got my head around it. > > I have seen a few discussions talking about using native libraries through > GDAL, but I am trying to locate a pure Java approach to this as all I am > after is the Geo Metadata so that I can extract out the geographical or > projected co-ordinates which I can then map to WGS84 using MathTransform. > > Can anyone point in me in the right direction, perhaps some example code or > a blog/article discussing this ? Unfortunately there is not really any robust java reader/writer for jpeg2000 around. In the past I have been using JJ2000 but I gave up because of performance/stability problems. You might wat to check it thought, since you are basically interested in just getting metadata (if I understood correctly your use case). If you can go native there are alternative, free and commercial that we can try to let you use. Ciao, Simone. > > Thanks in advance > > Al > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
