Author Topic: Python Scripting in buildddem. How to set resolution and resolution of dem?  (Read 1438 times)


  • Newbie
  • *
  • Posts: 27
    • View Profile
I want to set resolution of DEM to be computed to 0.05 using python.
resolution_raster = 0.05;

I am using chunk.buildDem(source=PhotoScan.DenseCloudData,interpolation=PhotoScan.EnabledInterpolation,resolution = resolution_raster)

But I got error-- TypeError: 'resolution' is an invalid keyword argument for this function.

« Last Edit: March 22, 2018, 08:58:52 PM by ManishSahu »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14615
    • View Profile
Hello ManishSahu,

Please refer to Python API documentation:

There should be dx and dy parameters that defines the export resolution (like in GUI).
Best regards,
Alexey Pasumansky,
Agisoft LLC