Forum

Author Topic: Script for Classifying Point Clouds and Build / Export DEM  (Read 2711 times)

RoryG

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Script for Classifying Point Clouds and Build / Export DEM
« on: July 08, 2019, 12:19:46 PM »
Hi,

I am no expert on Python but wondering if it is relatively easy to create a script to do the following for each chunk in a project:

Classify ground points in the dense cloud;
Duplicate the existing DEM;
Build new DEM with ground points only;
Export the DTM to the project folder using the chunk name as the filename.

I have six projects each with around six or seven chunks to process so scripting it would be really helpful.

Many thanks,

Rory

shh

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Script for Classifying Point Clouds and Build / Export DEM
« Reply #1 on: July 10, 2019, 04:57:31 PM »
That seems pretty straight forward. Searching in the API : https://www.agisoft.com/pdf/metashape_python_api_1_5_3.pdf pretty much gives you what you want.

I don't know what you wanted out of this post other than that?