sepal_ui.aoi.aoi_view.MethodSelect#

class sepal_ui.aoi.aoi_view.MethodSelect(**kwargs)[source]#

A method selector.

It will list the available methods for this very AoiView. ‘ALL’ will select all the available methods (default) ‘ADMIN’ only the admin one, ‘CUSTOM’ only the custom one. ‘XXX’ will add the selected method to the list when ‘-XXX’ will discard it. You cannot mix adding and removing behaviours.

Parameters:
  • methods (str | List[str]) – a list of methods from the available list (ADMIN0, ADMIN1, ADMIN2, SHAPE, DRAW, POINTS, ASSET)

  • map – link the aoi_view to a custom SepalMap to display the output, default to None

  • gee (bool) – whether to bind to ee or not

  • map_ (SepalMap | None)

Attributes

Methods

__init__

A method selector.

MethodSelect.__init__(methods='ALL', gee=True, map_=None)[source]#

A method selector.

It will list the available methods for this very AoiView. ‘ALL’ will select all the available methods (default) ‘ADMIN’ only the admin one, ‘CUSTOM’ only the custom one. ‘XXX’ will add the selected method to the list when ‘-XXX’ will discard it. You cannot mix adding and removing behaviours.

Parameters:
  • methods (str | List[str]) – a list of methods from the available list (ADMIN0, ADMIN1, ADMIN2, SHAPE, DRAW, POINTS, ASSET)

  • map – link the aoi_view to a custom SepalMap to display the output, default to None

  • gee (bool) – whether to bind to ee or not

  • map_ (SepalMap | None)

Return type:

None