Hello,
I am trying to limit the area of the generated Ortomosaic using a .gpkg file as boundaries, importing it as such:
self.chunk.importShapes(
path='limits.gpkg',
boundary_type=Metashape.Shape.OuterBoundary,
format=Metashape.ShapesFormat.ShapesFormatGeoPackage, crs=v_projection)
And when exporting the raster I am using the flag clip_to_boundary=True:
self.chunk.exportRaster(path='ortomosaic.tiff',
image_format=Metashape.ImageFormatTIFF, projection=projection, clip_to_boundary=True)
Despite this the generated file is still the same as when I did not try to crop it.