AOI (Area Of Interest)

class geodataset.aoi.AOIFromPackageConfig(aois)[source]

Bases: AOIConfig

Configuration class for AOIFromPackage.

Parameters:

aois (dict) – A dictionary containing the name of the AOI as key and the path to the AOI (.gpkg, .geojson…) as value.

class geodataset.aoi.AOIGeneratorConfig(aoi_type, aois)[source]

Bases: AOIConfig

Configuration class for AOIGenerator.

Parameters:
  • aoi_type (str) – The type of AOI to generate. Supported values are ‘band’ and ‘corner’.

  • aois (dict) – A dictionary containing the name(s) of the AOI(s) as key and the position and percentage of the AOI as value: {key: {‘position’: int (unique integer going from 1 to n_aois), ‘percentage’: float}}

SUPPORTED_AOI_TYPES = ['band', 'corner']