That is the same library geotools uses. Just like we use JTS from geometry
we use ImageIO-EXT to read the spatial data formats.
--
Jody Garnett
On Thu, 9 Sept 2021 at 06:45, Juan Felipe Arjona
wrote:
> Thanks Jody!
>
> Yes you are right, the uDig I am running uses GT v. 14.1. I tried to
> down
Thanks Daniele! I have raised the problem as well to the Sentinel-Hub
team. I sent your analysis and their answer is at the bottom of this email.
The image is a satellite image (true color), here is the json that
represents the info:
{
"id": "TRUE-COLOR-S2L2A",
"title": "TRUE COLOR
I added the imageio-ext-tiff plugin in my dependencies, and Java ImageIO
can open and read the TIFF images, but when using GeoTools, the
application throws the same Exception.
Juan
On 9/9/2021 8:45 AM, Juan Felipe Arjona wrote:
Thanks Jody!
Yes you are right, the uDig I am running uses GT
Thanks Jody!
Yes you are right, the uDig I am running uses GT v. 14.1. I tried to
downgrade my dependencies but I am using classes that were not present
at that release, so difficult to test.
On the other hand, I think that uDig has its own tiff reader, from their
pom.xml:
...
it.geosolu
It looks like gdalinfo is also indicating there is a problem:
Warning 1: TIFFReadDirectory:Sum of Photometric type-related color
channels and ExtraSamples doesn't match SamplesPerPixel. Defining
non-color channels as ExtraSamples.
You could try processing the file with gdal2gdal address issue.