sdk.aoi_collection.get()
elements.sdk.api.aoi_collection
Get an AOI Collection.
Get the metadata about the collection and the AOIs that belong to the specified AOI Collection. Setting the verbose flag will also include the bytes in WKT format describing the geometry.
Parameters
- aoi_collection_id (str) - the ID of the AOI Collection of interest.
- [Optional] verbose (bool) - flag to include the bytes in WKT format describing the geometry.
Returns
List[AOIInfo]
Example(s)
# Retrieve AOI metadata for the given AOI Collection
await sdk.aoi_collection.get("43af4120-959c-47be-a34c-9c7bf5ab37af")
# Output (List[AOIInfo])
[aoi_id: "17a513b5-70be-406f-8642-5defe30a9b13"
aoi_version_id: "41603360"
aoi_name: "Mumbai"
lat: 18.967180252075195
long: 72.86530303955078
area_km2: 56.28597027558517]Updated 6 months ago