Agisoft Metashape

Agisoft Metashape => Python and Java API => Topic started by: Will on July 29, 2021, 12:39:32 PM

Title: Python script to import point cloud, classify it and export it
Post by: Will on July 29, 2021, 12:39:32 PM
Hello All,

I wonder if someone can help me to script this procedure :

1) Import a point cloud (.las) from a lidar.

2) Classify ground points.

3) Export this new point cloud classified in same format (.las)

I will appreciate any help  :-)


Have a nice day
William


Title: Re: Python script to import point cloud, classify it and export it
Post by: Paulo on July 29, 2021, 03:33:19 PM
Hello Will,

I think you should look at following 3 methods to build your script:

Then consult pages 34, 39, 51 of API reference guide https://www.agisoft.com/pdf/metashape_python_api_1_7_3.pdf for details on parameters to use for each method...
Title: Re: Python script to import point cloud, classify it and export it
Post by: Will on July 29, 2021, 03:44:26 PM
Hello Paul,

you helped me again!! thank you.. :-)

Yes, forgot to the API refernce guide.


Thank you again and best regards

William