sdk.aoi_collection.add()

elements.sdk.api.aoi_collection

Add AOIs to an AOI Collection.

Add a list of AOI Versions to an AOI Collection by passing their Version IDs.

📘

AOI Collection Modifications

Note that AOI Collections can only be edited before they are submitted for an Algorithm Computation. After they are submitted for a computation, they become immutable.

Parameters

  • aoi_collection_id (str) - ID of the AOI Collection to add the AOIs to
  • aoi_version_ids (list) - Version IDs of the AOIs to add to the AOI Collection

Returns

None

Example(s)

# Add an AOI Version to an AOI Collection
await sdk.aoi_collection.add(aoi_collection_id="43af4120-959c-47be-a34c-9c7bf5ab37af", aoi_version_ids=[34979282])