Forum

Author Topic: Can I calculate the volume of a custom region with python?  (Read 2924 times)

jeremyeastwood

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Can I calculate the volume of a custom region with python?
« on: November 10, 2014, 06:24:02 AM »
Ideally I'd like to define a series of points (lat, lng), and calculate the volume of the region inside - is this possible through python scripting?

Thanks,

Jeremy

szabo.robert@bimlab.hu

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Can I calculate the volume of a custom region with python?
« Reply #1 on: July 04, 2019, 09:01:55 PM »
UP!

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14846
    • View Profile
Re: Can I calculate the volume of a custom region with python?
« Reply #2 on: July 04, 2019, 09:45:41 PM »
Hello,

The volume can be calculated within the polygonal shape. So if you either import the shape or create it using X,Y pairs sequence, you will be able to calculate the volume within the polygonal shape borders, providing that DEM has been generated in the project.
Best regards,
Alexey Pasumansky,
Agisoft LLC