Feature selection dialog

Issue #1 invalid
Benjamin Jakimow created an issue

we need a dialog to select band features - manually (select line of list) - by text, e.g. "1-23, 45-54", exclusive, "!9-13" to exclude 9-13 - by wavelength, e.g. "340nm - 450 nm"

Comments (10)

  1. Andreas Janz

    Ich könnte mir auch eine erweiterte Version der autogenerierten Dialoge vorstellen, dann kann man für den Großteil der Apps und Tools weiterhin auf GUI Programmierung verzichten.

    Aktuell kann man z.B. nicht direkt für den Raster Layer Image ein spektrales Subset auswählen:

    ##EnMAP-Box=group
    ##imageML: Predict=name
    ##Image=raster 
    ##Mask=raster
    ##Model_File=file
    ##Prediction=output raster
    

    Hier wäre ein neues Widget namens raster_spectral_subset wünschenswert:

    ##Image=raster_spectral_subset 
    

    Hier können wir weitere benötigte Widgets sammeln:

    ##MySelection=droplist Value1, Value2, Value3
    
  2. Andreas Janz

    Hmm, ich glaube das sollten wir erstmal selbst umsetzen und wenn wir dann wissen, was wir alles für hyperspektral/temporal/usw. brauchen, dann kann man das evtl. besser kommunizieren

  3. Andreas Janz

    Ja, das ExampleProvider-Beispiel das bei QGIS mitgeliefert wird kenne ich, aber wie benutzt man das? Gibt es dazu eine Anleitung? Weißt du wie das geht? Ich fände es super, wenn du das mal für die EnMAP-Box aufsetzen könntest, als Algos packst du erstmal nur imageSVC Fit und imageSVC Predict rein und dann zeigst du mir das mal. Von da an kann ich ja dann die weitere Strukturierung der Tools/Apps innerhalb des EnMAPProviders übernehmen. Magst du das mal bis ich von der EnMAP School zurück bin angehen?

  4. Andreas Janz

    Soll das ein GeoAlgorithm werden? Verstehe nicht ganz genau, wozu du diesen Dialog benutzen möchtest.

  5. Benjamin Jakimow reporter

    Squashed 'enmapbox/qgispluginsupport/' changes from 697d895ef..8604ddec4

    8604ddec4 flaked files f04bccfaf spectralprocessingdialog.py writes & reads spectral setting to/from temporary files 94a92b761 spectralprocessingdialog.py write spectral setting to temporary files 95fbb2ea1 Merge branch 'write_spectral_setting' 0171ee8da python-tests.yml added releast-3_22 to test matrix cf607f050 added workaround for missing QgsFieldCalculator 9b2199131 added workaround QgsProcessingParametersGenerator.Flags() 2d9c72c6b hides QgsFieldCalculator if not available 8886405dd added repaint trigger added typechecking benchmark a60f4d101 added repaint trigger added typechecking benchmark 56afe2b3d enhances SpectralSettings added release-3_22 to test routines Signed-off-by: jakimowb benjamin.jakimow@geo.hu-berlin.de dccdef480 Spectral Processing Dialog got static window title, as algo name is shown in separate widget fixed XML read error cb6eb54b5 added QgsFieldCalculator 3b0199fd4 refactoring spectral profile plots included spectral processing dialog 03ab35255 WIP refactoring profile plot model towards using QStandardItems 0f6b2f813 addresses #1 - added SelectMapLayerDialog b1761414c addresses #1 - added LayerRendererVisualization + unit test - flaked repo 59e6a783f addresses #b902032 addresses Issue #875 improved spectral profile plotting added workaround for wavelength definition at provider level 121dcec80 added test case with different pixel resolutions resolves #853 ddd03c777 addresses #853 (QPS updates) - added test_PixelScaleExtentMapTool - re-implemented zoom-to-native resolution from QGIS\src\app\qgisapp.cpp in maptools.py f74e1a3da qgisinfo.py works without start_app speclibrasterdataprovider initialized during init.py phase 4259415eb addresses #905 : temporary profile candidate gets color from profile source panel a236b916f qps pyqtgraph - try-except itemChange

    git-subtree-dir: enmapbox/qgispluginsupport git-subtree-split: 8604ddec47b6d4add389005ec6bc3a09a8bde3fd

    → <<cset 03db28f8ba8e>>

  6. Benjamin Jakimow reporter

    Squashed 'enmapbox/qgispluginsupport/' changes from 697d895ef..8604ddec4

    8604ddec4 flaked files f04bccfaf spectralprocessingdialog.py writes & reads spectral setting to/from temporary files 94a92b761 spectralprocessingdialog.py write spectral setting to temporary files 95fbb2ea1 Merge branch 'write_spectral_setting' 0171ee8da python-tests.yml added releast-3_22 to test matrix cf607f050 added workaround for missing QgsFieldCalculator 9b2199131 added workaround QgsProcessingParametersGenerator.Flags() 2d9c72c6b hides QgsFieldCalculator if not available 8886405dd added repaint trigger added typechecking benchmark a60f4d101 added repaint trigger added typechecking benchmark 56afe2b3d enhances SpectralSettings added release-3_22 to test routines Signed-off-by: jakimowb benjamin.jakimow@geo.hu-berlin.de dccdef480 Spectral Processing Dialog got static window title, as algo name is shown in separate widget fixed XML read error cb6eb54b5 added QgsFieldCalculator 3b0199fd4 refactoring spectral profile plots included spectral processing dialog 03ab35255 WIP refactoring profile plot model towards using QStandardItems 0f6b2f813 addresses #1 - added SelectMapLayerDialog b1761414c addresses #1 - added LayerRendererVisualization + unit test - flaked repo 59e6a783f addresses #b902032 addresses Issue #875 improved spectral profile plotting added workaround for wavelength definition at provider level 121dcec80 added test case with different pixel resolutions resolves #853 ddd03c777 addresses #853 (QPS updates) - added test_PixelScaleExtentMapTool - re-implemented zoom-to-native resolution from QGIS\src\app\qgisapp.cpp in maptools.py f74e1a3da qgisinfo.py works without start_app speclibrasterdataprovider initialized during init.py phase 4259415eb addresses #905 : temporary profile candidate gets color from profile source panel a236b916f qps pyqtgraph - try-except itemChange

    git-subtree-dir: enmapbox/qgispluginsupport git-subtree-split: 8604ddec47b6d4add389005ec6bc3a09a8bde3fd

    → <<cset 03db28f8ba8e>>

  7. Log in to comment