-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Volume measurement #1350
Comments
You're welcome to add that feature. |
Can you describe how this can be done? Are there other GIS that do this? Do you have an example? |
One easy option is Riemman sums. Take elevation delta samples every n meters, and sum the multiple of z deltas by n^2. It's just the area of a box every n meters. The smaller n the more accurate the volume. This isn't a bad solution because DEMs are an approximation already. If n is equal to the DEM's resolution, and both DEMs are equal resolution, and in close alignment, you can just subtract one from the other. Volumes between two DEMs are pretty accurately calculated using prismoidal volumes. If you overlay the triangles, you will get intersecting shapes of triangles and polygons. The height difference between the centroid of the two shapes multiplied by the 2D area of the shape is the volume of that slice:
The only errors will be in triangles that intersect with each other in the Z axis, especially if the triangles are large in area, as it will effectively average the volume for that entire prism. If this is a problem, you can find the intersection and divide the triangles into two during the subdivision step. Keep in mind that you would sum the negative values and positive values separately in most applications. This gives you excavation and fill volumes. |
Feature description
A Digital Elevation Model file has height embedded in it. A feature to select the polygon based on GeoCoordinates and measure it's volume would be nice
The text was updated successfully, but these errors were encountered: