enhance the Color Space Explorer dialog with predefined RGB band combinations from the GEE Data Catalog plugin

Issue #858 resolved
Andreas Janz created an issue

Implement spectral RGB combinations for Landsat/Sentinel-2 defined here: https://github.com/sandroklippel/qgis_gee_data_catalog/blob/master/datasets.py

Use this list with S2 band names.

'Natural color (B4-B3-B2)':{
    'bands':['B4', 'B3', 'B2'],
    'scale':10,
    'suffix':'_r4g3b2'},
'False color (B4-B8-B3)':{
    'bands':['B4', 'B8', 'B3'],
    'scale':10,
    'suffix':'_r4g8b3'},
'Color infrared (B8-B4-B3)':{
    'bands':['B8', 'B4', 'B3'],
    'scale':10,
    'suffix':'_r8g4b3'},
'Shortwave infrared 1 (B12-B8-B4)':{
    'bands':['B12', 'B8', 'B4'],
    'scale':10,
    'suffix':'_r12g8b4'},
'Shortwave infrared 2 (B12-B8A-B4)':{
    'bands':['B12', 'B8A', 'B4'],
    'scale':10,
    'suffix':'_r12g8Ab4'},
'Shortwave infrared 3 (B12-B8A-B2)':{
    'bands':['B12', 'B8A', 'B2'],
    'scale':10,
    'suffix':'_r12g8Ab2'},
'Agriculture 1 (B11-B8-B2)':{
    'bands':['B11', 'B8', 'B2'],
    'scale':10,
    'suffix':'_r11g8b2'},
'Agriculture 2 (B11-B8A-B2)':{
    'bands':['B11', 'B8A', 'B2'],
    'scale':10,
    'suffix':'_r11g8Ab2'},
'Geology (B12-B11-B2)':{
    'bands':['B12', 'B11', 'B2'],
    'scale':10,
    'suffix':'_r12g11b2'},
'Bathymetric (B4-B3-B1)':{
    'bands':['B4', 'B3', 'B1'],
    'scale':10,
    'suffix':'_r4g3b1'},
'False color urban (B12-B11-B4)':{
    'bands':['B12', 'B11', 'B4'],
    'scale':10,
    'suffix':'_r12g11b4'},
'Atmospheric penetration / Soil (B12-B11-B8A)':{
    'bands':['B12', 'B11', 'B8A'],
    'scale':10,
    'suffix':'_r12g11b8A'},
'Healthy vegetation (B8-B11-B2)':{
    'bands':['B8', 'B11', 'B2'],
    'scale':10,
    'suffix':'_r8g11b2'},
'Vegetation analysis 1 (B8-B11-B4)':{
    'bands':['B8', 'B11', 'B4'],
    'scale':10,
    'suffix':'_r8g11b4'},
'Vegetation analysis 2 (B11-B8-B4)':{
    'bands':['B11', 'B8', 'B4'],
    'scale':10,
    'suffix':'_r11g8b4'},
'Forestry / Recent harvest areas (B12-B8-B3)':{
    'bands':['B12', 'B8', 'B3'],
    'scale':10,
    'suffix':'_r12g8b3'},

Comments (9)

  1. Agustin Lobo

    Please let the user define his/her own using a configuration file.

    Also, actual wavelengths are not always in the band names, thus they should be below the composite name in the respective button,

  2. Andreas Janz reporter

    Click on “Random delta” and then “Play”. Now the renderer bands are updated in each frame by the individual deltas. If you want so: we are now walking along a “Color Space Gradient” with given “Step Size”.

  3. Agustin Lobo

    How do I stop it once I click on Play? Even closing the window does not stop the sequence.

    Otherwise, excellent visualization tools (both the Color Space Explorer and the “Waveband Locator”), congrats.

  4. Andreas Janz reporter

    Even closing the window does not stop the sequence.

    Yes, this is a bug. Animation should stop after closing the window.

    How do I stop it once I click on Play?

    Click the Play button again 🙂

    Somehow the Play/Stop icons disapeared.

  5. Log in to comment