Re: [netcdf-java] CDM and GeoTIFF



On May 24, 2012, at 3:01 AM, Jon Blower wrote:

> Hi all,
> 
> I remember some discussions on this list a while ago about reading in 
> GeoTIFFs through NetCDF-Java.  Has anyone achieved this and if so, is code 
> available somewhere?  Would be terrific if this is possible.
> 
> Cheers, Jon
> 
> --
> Dr Jon Blower
> Technical Director, Reading e-Science Centre
> Environmental Systems Science Centre
> University of Reading, UK
> Tel: +44 (0)118 378 5213
> Mob: +44 (0)7919 112687
> http://www.resc.reading.ac.uk
> 
> 
> _______________________________________________
> netcdf-java mailing list
> netcdf-java@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit: 
> http://www.unidata.ucar.edu/mailing_lists/ 


Hi Jon,

I have a GeoTIFF IOSP available on GitHub, 
https://github.com/tkunicki-usgs/geotiff-iosp .  It's built using maven and the 
dependencies will be listed in the pom.xml for the project.  While not 
explicitly listed in the pom, I would strongly recommend utilizing the 
ImageIO-EXT tiff implementation  as it has better handling for TIFF images with 
"scientific" data types (bands with floating point).  In fact there's a bug in 
the Java ImageIO implementation reading these data types with strides.  Access 
to a complete EPSG database is required due to the numerous ways CRS can be 
defined.  I currently use EPSG database CSV dumps from the libgeotiff svn repo 
but some work has been done with plugins to use either the GeoTools or GeoTK 
referencing APIs (I have a GeoTools working but it's not enabled in the current 
incarnation of the source).  Let me know if you have any questions.

Tom Kunicki
Center for Integrated Data Analytics
U.S. Geological Survey
8505 Research Way
Middleton, WI  53562



  • 2012 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: