[GDAL Band Metadata] rename Data Gain to Data Scale

Issue #1157 resolved
Andreas Rabe created an issue

In the GDAL data model, we use the term scale instead of gain.

So, in the GDAL Band Metadata, use Data Scale here:

Comments (6)

  1. Benjamin Jakimow

    Note that it’s GDAL Band Metadata, not only what’s accessible by GDAL functions.
    As mentioned in the duplicate issues: there are

    1. GDAL scale & GDAL offset - so far this is not shown here
    2. ENVI data Gain and ENVI data offset - this is shown in the table, like all the previous columns which originate in the ENVI header format. In addition, there could be
    3. ENVI data reflectance gain and ENVI data reflectance offset

  2. Andreas Rabe reporter

    You show GDAL “No Data” and ENVI “Data Offset” (which is not relevant for QGIS or any algorithm), but you don’t show GDAL “Data Offset” (which IS relevant for QGIS and all algorithms).

    This will for sure confuse users.

    If you show GDAL No Data, you should also show GDAL Offset and Scale.

  3. Log in to comment