Feature request #12022

Adding a user-selectable option to open tiff with tab files containing "bad" GCP's

Added by Bo Victor Thomsen over 2 years ago. Updated 6 months ago.

Status:Open
Priority:Normal
Assignee:-
Category:Rasters
Pull Request or Patch supplied:No Resolution:
Easy fix?:No

Description

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 #11980 and with the above-mentioned config option. It worked, resulting in new geotiff based files with acceptable geolocation parameters.

History

#1 Updated by Giovanni Manghi over 2 years ago

  • Category set to Rasters
  • Subject 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

#2 Updated by Giovanni Manghi 6 months ago

  • Easy fix? set to No

Also available in: Atom PDF