# Stockpile Volume and Average Elevation Question

**URL:** <https://community.pix4d.com/t/stockpile-volume-and-average-elevation-question/2795>\
**Category:** PIX4Dmapper Questions/Troubleshooting\
**Created:** [January 4, 2017, 9:39pm UTC](https://community.pix4d.com/t/stockpile-volume-and-average-elevation-question/2795 "2017-01-04T21:39:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Townsend](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@Mark\_Townsend](https://community.pix4d.com/u/Mark_Townsend)\
**Post date:** [January 4, 2017, 9:39pm UTC](https://community.pix4d.com/t/stockpile-volume-and-average-elevation-question/2795/1 "2017-01-04T21:39:22Z")

</div>

I recently signed a monthly stockpile volume agreement for a local paper mill.&nbsp; They’ll need the following information for each pile in addition to the volume and area:

&nbsp;

- Minimum elevation
- Average elevation
- Maximum elevation
- Average height

&nbsp;

What would be the easiest methods for obtaining these in Pix4D?

---

<div class="post-metadata">

**Author:** ![Marili\_Giovani](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/marili_giovani/32/187_2.png) [@Marili\_Giovani](https://community.pix4d.com/u/Marili_Giovani)\
**Post date:** [January 10, 2017, 11:26am UTC](https://community.pix4d.com/t/stockpile-volume-and-average-elevation-question/2795/2 "2017-01-10T11:26:34Z")

</div>

Hello Mark,&nbsp;

This is a functionality that is not yet present in the software, but you can check the following&nbsp;workaround:&nbsp;

You could assign the points of your stockpile to a new point group (say my\_stockpile). You can then export this point group in .xyz format (only the my\_stockpile point group). This should not be too large and you should be able to open this file in a spreadsheet application to compute max, min and avg. This will be for the altitude. For the height, you can subtract the altitude of the base plane.&nbsp;

Helpful articles to do this are:

[https://support.pix4d.com/hc/en-us/articles/202560499](https://support.pix4d.com/hc/en-us/articles/202560499-How-to-edit-the-Point-Cloud-in-the-rayCloud)

[https://support.pix4d.com/hc/en-us/articles/203890769](https://support.pix4d.com/hc/en-us/articles/203890769-How-to-export-the-Point-Cloud#gsc.tab=0)

Alternatively, you could export the volume object as a shapefile. You could then load the DSM and use this shapefile to define a region in a GIS software such as QGIS. You could then use the raster analysis capabilities of QGIS to obtain the desired statistics.&nbsp;

See [here](https://support.pix4d.com/hc/en-us/articles/211245943-How-to-export-Volumes)how to export volumes.

Best Regards,&nbsp;

---

<div class="post-metadata">

**Author:** ![Mark\_Townsend](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@Mark\_Townsend](https://community.pix4d.com/u/Mark_Townsend)\
**Post date:** [February 28, 2017, 4:18am UTC](https://community.pix4d.com/t/stockpile-volume-and-average-elevation-question/2795/3 "2017-02-28T04:18:03Z")

</div>

Actually, I don’t have .xyz as an extension option when exporting a volume. &nbsp;Only .shp, .dxf, .dgn, and .kml

Has the .xyz export option been removed from from the volume export feature?

&nbsp;

---

<div class="post-metadata">

**Author:** ![Marc\_Desgroseilliers](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/marc_desgroseilliers/32/187_2.png) [@Marc\_Desgroseilliers](https://community.pix4d.com/u/Marc_Desgroseilliers)\
**Post date:** [April 6, 2017, 8:25am UTC](https://community.pix4d.com/t/stockpile-volume-and-average-elevation-question/2795/4 "2017-04-06T08:25:14Z")

</div>

Dear Mark,

When exporting a volume object, only the 2D information is exported, and you are correct that these formats are the ones that are supported.&nbsp;

However, we were suggesting something slightly different. What you could do is edit the point cloud, assign the points of the stockpile to a new point group (let’s say my\_stockpile), and export this point group. This way, only the points of my\_stockpile would be exported, which would make the exported file much smaller. We refer to the links in the previous replies for the exact procedure how to do this.&nbsp;

Best regards,
