Measure a pile of sand, gravel or grain from drone photos
What you get
Fly around the stockpile for five minutes and get its volume in cubic metres from a 3D surface, to check a supplier's delivery or do a stock-take without a surveyor.
Why this combination
The same open photogrammetry engine that maps farms builds a terrain model, and a few lines of map analysis subtract the ground to get volume.
Parts
What was checked
On November 26, 2026 a script checked all 2 parts: each exists, is not archived, was updated within the last 12 months and has a known licence. The parts were chosen so their inputs and outputs fit together.
Nobody has yet run this exact combination end to end on real data. Build it on a copy of your data first; the prompt below asks your AI agent to tell you plainly what does not work.
Limits, honestly
Expect a few per cent error; for legal disputes use a licensed surveyor. Place a known-size marker for scale.
How to start
It runs on your own computer. Copy the prompt into an AI agent (Claude Code or similar); it installs the parts, joins them, and runs a test with sample data before your real files.
Prompt for your AI agent
Build this for me: Measure a pile of sand, gravel or grain from drone photos. What I want to get: Fly around the stockpile for five minutes and get its volume in cubic metres from a 3D surface, to check a supplier's delivery or do a stock-take without a surveyor. Use these open projects and data: - ODM: https://github.com/OpenDroneMap/ODM (AGPL-3.0) - leafmap: https://github.com/opengeos/leafmap (MIT) Why this combination: The same open photogrammetry engine that maps farms builds a terrain model, and a few lines of map analysis subtract the ground to get volume. Known limits: Expect a few per cent error; for legal disputes use a licensed surveyor. Place a known-size marker for scale. Run it on my computer. Tell me first what you will install and where. Explain each step in plain words for someone who does not program. Do not ask me for passwords or keys and do not use administrator rights. Before installing anything, check that each project is still maintained and its licence allows my use. Do not add other agent skills, MCP servers or plugins without showing me their code first. When it works, tell me how to open it again. If something does not work, say so plainly.