[gdal-dev] Reading from PNG file in Java from using GDAL

Brad Hards bradh at frogmouth.net
Tue Aug 17 22:52:22 PDT 2021


On Wednesday, 18 August 2021 3:24:27 PM AEST paul.malm at lfv.se wrote:
> The problem is reading "GridCoverage2D" from the reader "cov =
> reader.read(null);", where it breaks. It works with the original TIF-file.
> The program breaks here:
> java.awt.geom.affineTransform.class (public AffineTransform(AffineTransform
> Tx) { this.m00 = Tx.m00; ) I have the gt-image module and matching .wld,
> .prj and .png.aux.xml files. 
What is the exception?

Do you have a referencing jar loaded (or in the classpath) - something like 
gt-epsg-hsql ?

Brad






More information about the gdal-dev mailing list