"Band statistics" context menu button always disabled in DataSources panel

Issue #792 resolved
Andreas Janz created an issue

Comments (12)

  1. Benjamin Jakimow

    There is now a placeholder where you can connect it with your ImageStatisticsApp.

                a = m.addAction('Band statistics')
                a.setEnabled(False)
                # todo: AR call band stats dialog here
                # similar to:
                # a.triggered.connect(lambda: self.runImageStatistics(lyr))
    

  2. Andreas Janz reporter

    Note sure who has added the Band statistics button in the first place, but the ImageStatistics app is not usable for single bands only. It always calculates the stats for all bands. This functionallity is currently located in the DataViews panel:

    Let’s do this for now:

    1. for v3.9: hide the Band statistics button
    2. for 3.10: overhaul the ImageStatistics app to allow for single bands
    3. enable the Band statistics button again

  3. Andreas Janz reporter

    Also, move the “Image Statistics” context menu button from DataSources to DataViews.

  4. Andreas Janz reporter

    New Band Statistics app is only operating on layers, not on sources. So we just delete the option from the context menu.

  5. Log in to comment