Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - pedrounas

Pages: [1]
1
Python and Java API / Segmentation Fault after exporting raster
« on: June 15, 2021, 01:25:16 PM »
Good day,

I am currently using the Metashape 1.6.5 Python package and after exporting some raster files I receive a Segmentation Fault error and the program ends. What could be the cause of this issue?

2
Python and Java API / Crop Raster by boundaries
« on: March 17, 2021, 12:48:22 PM »
Hello,

I am trying to limit the area of the generated Ortomosaic using a .gpkg file as boundaries, importing it as such:
Code: [Select]
        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:
Code: [Select]
        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.

Pages: [1]