Reputation: 51331
I want to write a GEOTIFF, with all the geographic metadata in Java. Which library etc. works best for this purpose?
Upvotes: 8
Views: 6997
Reputation: 416
Apache Commons Imaging offers a pure Java-based TiFF image manipulation. I came across by following this question in GIS-Stack-Exchange. It offers a range of functionalities to manipulate GeoTiFF.
Upvotes: 0
Reputation: 3008
check out geotools geotiffwriter: http://docs.geotools.org/stable/javadocs/org/geotools/gce/geotiff/GeoTiffWriter.html
Upvotes: 1
Reputation: 7829
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
Upvotes: 8
Reputation: 7829
This isn't an ideal solution but as no one else has replied in two months...
libgeotiff is a pretty good open source C++ library that I have successfully used in production code to read geotiff meta data. This could be used in Java with a bridge.
Upvotes: 1