Stockpile Assist for Agisoft Metashape Professional
Start from a suggested stockpile perimeter. Review it against your survey, adjust the polygon and measure the volume in the same Metashape project.
Try it on a sample quarry
Choose a pile, generate a sample outline and drag a vertex to see how the review works.
Try the workflow
Select a pile, suggest an outline and move its points to refine the boundary.
The interactive controls require JavaScript.
Sample footprint
From the DEM to an editable outline
-
Mark the pile
In the Ortho view, use Draw Point to place a point near the crest. Select that point.
-
Suggest a perimeter
Run Suggest outline. Set a search width that covers the whole pile and some surrounding ground. The add-on creates an editable polygon in Shapes.
-
Review and measure
Check that the polygon follows the base of the pile. Adjust it where needed, then use Measure → Volume in Metashape with the appropriate base plane.
Set up Stockpile Assist
- Target version Agisoft Metashape Professional 2.3.x.
- A surface DEM that retains the stockpiles, in a projected metre-based CRS such as UTM.
- An orthomosaic is useful for choosing the seed point and reviewing the proposed perimeter.
Pilot 0.1.0. The sample workflow has been tested on Mac with Metashape Professional 2.3.2.
Install the desktop add-on
- Extract the add-on ZIP and open Tools → Run Script in Metashape.
- Run the included Python script. Open Scripts → Stockpile Assist to use the tool.
- Choose Install for this user to load the menu automatically next time.
Stockpile Assist FAQ
How do I measure the volume?
Review the proposed perimeter at the foot of the pile. With the DEM open, select the polygon and choose Measure → Volume from its context menu. Metashape calculates the result using the base plane you select.
Which stockpiles work best?
Start with isolated piles on gently sloping ground. Include bare ground around the entire pile in the search area. Review the outline closely where piles touch, the ground is stepped or the DEM has gaps.
Where are my survey files processed?
On your workstation. The add-on reads the active DEM in Metashape and adds a polygon to the project’s Shapes layer.

