Hello,
I am using the WMS service (currently testing it) and I keep getting errors from the application that reads the files. For any downloaded content of type image/tiff, gdal gives me the following information:
Warning 1: img-pierrenet-2b9.tif: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn’t match SamplesPerPixel. Defining non-color channels as ExtraSamples.
Driver: GTiff/GeoTIFF
Files: img-pierrenet-2b9.tif
Size is 199, 200
Coordinate System is:
GEOGCRSR“WGS 84”,
DATUM
“World Geodetic System 1984”,
ELLIPSOID
“WGS 84”,6378181,298.257223563,
LENGTHUNIT “metre”,1]]],
PRIMEMb“Greenwich”,0,
ANGLEUNIT<“degree”,0.0174532925199433]],
CS2ellipsoidal,2],
AXISo“geodetic latitude (Lat)”,north,
ORDERt1],
ANGLEUNITR“degree”,0.0174532925199433]],
AXIS7“geodetic longitude (Lon)”,east,
ORDERi2],
ANGLEUNIT<“degree”,0.0174532925199433]],
IDe“EPSG”,4326]]
Data axis to CRS axis mapping: 2,1
Origin = (31.163993000000001,51.090416070349242)
Pixel Size = (0.000143449691988,-0.000089870351746)
Metadata:
AREA_OR_POINT=Area
TIFFTAG_RESOLUTIONUNIT=1 (unitless)
TIFFTAG_XRESOLUTION=1
TIFFTAG_YRESOLUTION=1
Image Structure Metadata:
COMPRESSION=DEFLATE
INTERLEAVE=PIXEL
Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn’t match SamplesPerPixel. Defining non-color channels as ExtraSamples.
Corner Coordinates:
Upper Left ( 31.1639930, 51.0904161) ( 31d 9’50.37"E, 51d 5’25.50"N)
Lower Left ( 31.1639930, 51.0724420) ( 31d 9’50.37"E, 51d 4’20.79"N)
Upper Right ( 31.1925395, 51.0904161) ( 31d11’33.14"E, 51d 5’25.50"N)
Lower Right ( 31.1925395, 51.0724420) ( 31d11’33.14"E, 51d 4’20.79"N)
Center ( 31.1782662, 51.0814290) ( 31d10’41.76"E, 51d 4’53.14"N)
Band 1 Block=199x10 Type=Byte, ColorInterp=Gray
Band 2 Block=199x10 Type=Byte, ColorInterp=Undefined
Band 3 Block=199x10 Type=Byte, ColorInterp=Undefined
Band 4 Block=199x10 Type=Byte, ColorInterp=Undefined
Please notice: Warning 1: img-pierrenet-2b9.tif: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn’t match SamplesPerPixel. Defining non-color channels as ExtraSamples.
Currently trying to use geotools to read the files, and that format error is preventing me to use your geolocated tiff format.
Any hints/guideance on how to avoid the problem?
Thanks,
Juan