Forum

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

ManishSahu

  • 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: 14855
    • View Profile
Hello ManishSahu,

Please refer to Python API documentation: http://www.agisoft.com/pdf/photoscan_python_api_1_4_1.pdf

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