Author Topic: Export OrthoMosaic with nodata_value  (Read 2016 times)


  • Newbie
  • *
  • Posts: 19
    • View Profile
Export OrthoMosaic with nodata_value
« on: January 10, 2020, 03:20:17 PM »

Maybe at the wrong location in this forum but I am now using this function to export an orthomosaic with a nodata value of -10000 in Python:
chunk.exportRaster(db.rgb_pg_path, nodata_value=-10000, save_alpha=True, white_background=False, source_data=Metashape.OrthomosaicData, image_compression=compression)

Sometimes when we have issues with the automatic processing we would like to export an orthomosaic with the normal user interface. However I cannot find an option to set the nodata_value there?

Kind regards,


Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14965
    • View Profile
Re: Export OrthoMosaic with nodata_value
« Reply #1 on: January 25, 2020, 08:11:01 PM »
Hello Sven,

No-data value is saved only if the output data format is Float-32bit. In this case in GUI you'll see the No-data Value field instead of the Background Color option.

You can use Raster Calculator and have output bands similar to input bands, in this case No-Data Value will appear when you switch to Index Value option in the Export Orthomosac dialog.
Best regards,
Alexey Pasumansky,
Agisoft LLC