Search code examples
javagisgeospatialtiffgeotiff

How can I write a GEOTIFF in Java?


I want to write a GEOTIFF, with all the geographic metadata in Java. Which library etc. works best for this purpose?


Solution

  • GeoTIFF-JAI should be able to do this:

    http://sourceforge.net/projects/geotiff-jai/

    GeoTIFF-AI incorporates Extensible-TIFF-JAI, which is an extensible codec allowing tiled images, etc.

    There's also a GeoTIFF metadata adapter for Java ImageIO at:

    www.gelbin.org/code/

    and the NetCDF library also includes a GeoTIFF writer, documented at:

    www.unidata.ucar.edu/software/netcdf-java/v4.0/javadocAll/ucar/nc2/geotiff/GeotiffWriter.html