Author Name: Bo Victor Thomsen (Bo Victor Thomsen)
Original Redmine Issue: 12022
Redmine category:rasters
GDAL v. 2.0 has a new config-option called "TAB_APPROX_GEOTRANSFORM (YES/NO)". If set to "YES" (Default is "NO") GDAL will accept and use GCP's from a TAB file to calculate the affine transformation parameters for pixel- to world-coordinates even if it results in high error residuals from the Least Squares (?) approximation - just like MapInfo do.
It would be a good idea to introduce this as a user-selectable option - with due warning - in a future QGIS version that will use GDAL 2.0 a read/write library.
This could convince a lot of MapInfo users to use QGIS instead. As an old MapInfo user, I can tell that there is a huge amount of slightly dodgy "tiff-with-tab" files out in the wild that presently can't be opened with QGIS :-/
As a test, I tried to use the "gdal_translate" utility from GDAL 2.0 on the test tiff-files from Issue #20186 and with the above-mentioned config option. It worked, resulting in new geotiff based files with acceptable geolocation parameters.
subject was changed from Adding a user-selectable option to open tiff-with-tab files containing "bad" GCP's to Adding a user-selectable option to open tiff with tab files containing "bad" GCP's
Author Name: Bo Victor Thomsen (Bo Victor Thomsen) Original Redmine Issue: 12022
Redmine category:rasters
GDAL v. 2.0 has a new config-option called "TAB_APPROX_GEOTRANSFORM (YES/NO)". If set to "YES" (Default is "NO") GDAL will accept and use GCP's from a TAB file to calculate the affine transformation parameters for pixel- to world-coordinates even if it results in high error residuals from the Least Squares (?) approximation - just like MapInfo do.
It would be a good idea to introduce this as a user-selectable option - with due warning - in a future QGIS version that will use GDAL 2.0 a read/write library.
This could convince a lot of MapInfo users to use QGIS instead. As an old MapInfo user, I can tell that there is a huge amount of slightly dodgy "tiff-with-tab" files out in the wild that presently can't be opened with QGIS :-/
As a test, I tried to use the "gdal_translate" utility from GDAL 2.0 on the test tiff-files from Issue #20186 and with the above-mentioned config option. It worked, resulting in new geotiff based files with acceptable geolocation parameters.