Agisoft Metashape > Python and Java API
Python Scripting in buildddem. How to set resolution and resolution of dem?
(1/1)
ManishSahu:
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.
Alexey Pasumansky:
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).
Navigation
[0] Message Index
Go to full version