geo-deep-learning
geo-deep-learning copied to clipboard
AOI's label geopackage: optionally accept a layer to define extent of ground truth data, per AOI
In AOI's __init__, we'd need to allow the use of a layer from ground truth's geopackage that contains a single polygon which defines the extent of interest for ground truth data. This layer would also be used:
- to calculate overlap between ground truth and imagery in self.bounds_iou_gdf_riodataset()
- during tiling, where we'd pass this layer to ogr (in GDLVectorDataset):
GetLayer("name_of_extent_layer")