Mnementh
Mnementh

Reputation: 51331

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?

Upvotes: 8

Views: 6997

Answers (4)

0xMinCha
0xMinCha

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

winwaed
winwaed

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

winwaed
winwaed

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

Related Questions