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.

Messages - pedrounas

Pages: [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?

Python and Java API / Re: Crop Raster by boundaries
« on: March 17, 2021, 06:41:13 PM »
The file contains one polygon which is an area inside of the larger Ortomosaic. I cannot try in GUI as I only have access to the API.

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

I am trying to limit the area of the generated Ortomosaic using a .gpkg file as boundaries, importing it as such:
Code: [Select]
            format=Metashape.ShapesFormat.ShapesFormatGeoPackage, crs=v_projection)

And when exporting the raster I am using the flag clip_to_boundary=True:
Code: [Select]
                                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]