Ticket #4094 (closed defect: worksforme)
Envisat MERIS: Incorrect count for "GeoTiePoints"
|Reported by:||knutfrode||Owned by:||warmerdam|
Description (last modified by knutfrode) (diff)
The recent fix of ticket #4086 solved a problem with reading of GCPs for Envisat MERIS.
However, there is a remaining, related issue which seems to be limited to MER_RR2 (Level2 reduced resolution) data only (i.e. not a problem for Full Resolution (FR) or Reduced Resolution (RR) Level 1):
The GCPs are listed with gdal_info, but trying to convert to GeoTiff? an error is reported:
$ gdal_translate MER_RR__2PNPDK20110503_105421_000023063102_00109_47968_7916.N1 m1.tif ERROR 1: TIFFFetchNormalTag:Incorrect count for "GeoTiePoints"; tag ignored
The output file is produced, but without GCPs.
I have tested several files, and this error can also be reproduced with a sample file freely available here:
Converting to PNG instead, the GCPs are listed in the .aux.xml file, so the problem is probably specific to Tiff. I dont know whether it is a GDAL-problem or a libtiff problem?
This is tested on Mac OS X with both GDAL 1.8.0 and trunk (1.9dev)