
Drone Mapping for Earthworks and Stockpile Volumes: The Complete Practical Guide
A numbers-first guide to drone-based stockpile measurement and earthworks management. Covers how volume calculation actually works, the three base plane methods, what accuracy you can realistically expect, common errors that inflate results, and the full workflow from flight to client report.
Drone Mapping for Earthworks and Stockpile Volumes: The Complete Practical Guide
A numbers-first guide to drone-based stockpile measurement and earthworks management. Covers how volume calculation actually works, the three base plane methods, what accuracy you can realistically expect, common errors that inflate results, and the full workflow from flight to client report.

Table Of Content
- What You'll Learn
- The Financial Cost of Getting This Wrong
- How Drone Volume Measurement Actually Works
- The Three Base Plane Methods
- What Accuracy Can You Realistically Expect?
- The Complete Field-to-Report Workflow
- Cut and Fill Analysis: Beyond Stockpiles
- Where Drone Volume Measurement Breaks Down
- Photogrammetry vs. LiDAR for Stockpiles
- Hardware Selection
- How Aeroyantra Handles Volumetrics
- Common Mistakes That Inflate Volume Numbers
- FAQ
- The Bottom Line
What You'll Learn
How drone-based volume measurement actually works - the three base plane methods, what accuracy numbers are realistic vs. misleading, the specific errors that inflate results, and the complete workflow from mission planning to a client-ready report.
The Financial Cost of Getting This Wrong
Traditional stockpile measurement methods - walking wheels, tape measures, truck counts, GNSS rover walks - carry error rates of 5-15%. On a site with significant material value, that error range is not a rounding issue. It is a financial exposure.
The numbers from real operations are stark:
- A quarry that underestimates its stockpile by 10,000 tonnes faces year-end write-offs of $60,000-$70,000
- In one documented case, switching to drone-based volumetrics revealed $100,000 worth of material that had been systematically overlooked in manual surveys
- A single 10-minute autonomous drone flight produced a volume measurement within ±2.6% of a meticulous tape-and-total-station survey - matching survey-grade accuracy without a survey crew
The problem is not just accuracy. It is frequency. A traditional survey crew measures stockpiles once a month at best - often less. A drone operator can measure the same stockpiles weekly or daily. Operations that measure more frequently catch discrepancies before they compound into write-offs.
The operational reality: Inaccurate volume data does not just affect your balance sheet. It affects every downstream decision - how much to order, when to blast, what to quote clients, and whether your production returns match your approved mining plan. Getting volumes wrong is a systemic problem, not a one-time error.
How Drone Volume Measurement Actually Works
Most descriptions of this process skip the mechanics. Here is what is actually happening.
Step 1: The drone captures a 3D surface model
The drone flies a pre-planned grid mission over the stockpile area, capturing hundreds of overlapping geo-tagged images. These are processed through photogrammetry (Structure from Motion) or LiDAR to produce a dense point cloud - millions of 3D coordinate points representing the surface of every pile, road, and terrain feature in the survey area.
From the point cloud, the software generates a Digital Surface Model (DSM) - a continuous elevation surface where every pixel has a precise elevation value.
Step 2: The operator draws a boundary
The operator draws a polygon around the base of each stockpile in the processing platform. This boundary defines the measurement area.
Step 3: The software calculates volume
The software compares the 3D surface within the boundary (the top of the pile) against a defined base plane (what the ground would look like without the pile). The difference between these two surfaces, integrated across the entire boundary area, is the volume.
This is where most of the variability in volume accuracy comes from. The surface model is generally accurate. The base plane is where judgment - and error - enters.
The Three Base Plane Methods
Choosing the wrong base plane method is the single most common cause of inaccurate volume calculations. Each method is appropriate for a specific pile configuration.
Method 1: Mean Plane (Average Elevation)
The software calculates the average elevation of all points along the drawn boundary and uses that as the flat base plane.
Best for: Free-standing piles on flat ground, away from walls or other structures. This is the most accurate method for isolated conical piles of aggregate, ore, or overburden.
Do not use when: The pile is on sloped ground, against a wall, or in a bunker. The mean elevation of sloped ground will be higher on one side and lower on the other, creating a tilted base plane that either over- or under-counts volume.
Method 2: Lowest Point
The software sets the base plane at the lowest elevation point within the drawn boundary.
Best for: Piles stored in bunkers or pushed against retaining walls, where the back of the pile cannot be measured directly. Setting the base at the lowest accessible point prevents the software from cutting through the pile geometry.
Do not use when: The pile is free-standing on flat ground. The lowest point method will set the base too low, inflating the volume.
Method 3: Surface-to-Surface Comparison (Two-Survey Method)
The software compares the current DSM against a previously captured baseline DSM of the same area. Volume = the difference between the two surfaces.
Best for: Any situation where the original ground surface is known from a previous survey - this is the most accurate method when a clean baseline exists. Also the correct method for cut/fill analysis, where you need to know exactly how much material has moved since a reference date.
Critical requirement: The baseline survey must be captured before any material is placed. A baseline captured after partial stockpiling will undercount the total volume.
The advanced case - historic stockpiles: Some piles at mines have been growing for a decade or more. The original ground surface is completely buried. For these, the baseline must be reconstructed from historical survey data or topographic records - a step that most automated platforms do not handle. Manual base point placement using historic topography is required.
Base Plane Method Selection Guide
| Pile Configuration | Recommended Method | Avoid |
|---|---|---|
| Free-standing cone on flat ground | Mean Plane | Lowest Point |
| Pile against wall or in bunker | Lowest Point | Mean Plane |
| Known baseline survey available | Surface-to-Surface | Either single-survey method |
| Adjacent touching piles | Surface-to-Surface (3D) | 2D polygon method |
| Historic pile (original ground buried) | Historic topography baseline | Any automated method |
What Accuracy Can You Realistically Expect?
The "better than 2%" figure cited in most drone mapping marketing is achievable - but only under specific conditions. Here is what the data actually shows across different scenarios.
With RTK/PPK and proper GCPs
This is the professional standard for survey-grade volumetrics:
- Volume accuracy: Within 1-3% of traditional ground survey methods
- Horizontal accuracy: 2-5 cm
- Vertical accuracy: 3-8 cm
- Repeatability: Measurements of the same pile on consecutive days typically agree within 1-2%
At this accuracy level, drone data is considered audit-proof - mining companies present these numbers to auditors and regulators with confidence.
With RTK only (no GCPs), open terrain
- Volume accuracy: Within 2-5% on well-textured material piles
- Adequate for operational inventory management and supply chain planning
- Not recommended for financial reporting or regulatory compliance
Without RTK or GCPs (GPS-only)
- Positional drift: Maps can shift by multiple feet between surveys
- This shift means that comparing two surveys to calculate volume change produces meaningless results - the apparent volume change includes the positional drift
- GPS-only surveys are suitable for single-survey snapshots but not for change detection or trend analysis
The number that matters for compliance: IBM Rule 34A requires volume calculations to meet survey-grade accuracy standards. GPS-only drone surveys do not meet this threshold. RTK/PPK with GCPs is the minimum standard for regulatory reporting in Indian mining operations.
Accuracy by method comparison
| Method | Volume Accuracy | Use Case |
|---|---|---|
| GPS-only (no GCPs, no RTK) | ±10-20% | Rough operational estimates only |
| RTK without GCPs | ±2-5% | Operational inventory management |
| PPK without GCPs | ±2-4% | Operational inventory management |
| RTK/PPK + GCPs | ±1-3% | Financial reporting, regulatory compliance |
| LiDAR + GCPs | ±0.5-2% | Highest precision, complex geometries |
The Complete Field-to-Report Workflow
Phase 1: Mission Planning
Define your survey area. For stockpile-only surveys, the boundary should extend at least 20-30 metres beyond the outermost pile to ensure complete base area capture.
Set flight parameters for stockpile work:
- Altitude: 60-80m AGL for most stockpile surveys. Lower than standard mapping altitude because stockpile surfaces are textured but complex - finer GSD improves volume accuracy on pile edges.
- Overlap: 80/75 minimum (front/side). Stockpile geometry creates shadowed areas on pile sides - higher overlap ensures these areas are captured from multiple angles.
- Consider a double-grid mission for complex pile shapes or tall piles with steep sides. A double-grid captures oblique imagery that fills in the vertical faces a nadir-only pass misses.
GCP placement for stockpile surveys:
- Place GCPs around the perimeter of the stockpile area, not on the piles themselves (piles change between surveys)
- Minimum 5 GCPs for areas under 1 sq. km.
- Use stable, permanent locations - road edges, concrete pads, fixed structures
Phase 2: Flight Execution
Lock camera settings to manual before the first flight. Auto-exposure between shots creates inconsistent imagery that degrades DSM quality at pile edges - exactly where volume accuracy matters most.
After landing, verify:
- Image count matches mission plan
- Sample images are sharp with consistent exposure
- Geotags are present in EXIF data
Do not leave the site without this check. A blurred or missing image set over a critical pile requires an immediate re-flight - not a return trip tomorrow.
Phase 3: Processing
Process at maximum quality settings. Reduced quality settings degrade DSM accuracy at pile edges, which directly inflates or deflates volume calculations. For volumetric work specifically, the edge definition of the pile is as important as the peak.
Tag GCPs before generating final outputs. Verify that GCP residuals are within acceptable limits (sub-5 cm for survey-grade work) before proceeding.
Phase 4: Volume Calculation
Draw boundaries carefully. The most common operator error in volume calculation is sloppy boundary placement - either cutting into the pile base (under-counting) or extending beyond it (over-counting).
Best practice: draw the boundary at the visible break of slope where the pile meets the ground, not at the furthest extent of disturbed material.
Select the correct base plane method for each pile type (see above). On a site with mixed pile configurations - free-standing cones, bunker-stored material, and piles against walls - you may need to use different methods for different piles in the same survey.
Phase 5: Reporting
A professional volume report includes:
- Pile ID and material type
- Volume in cubic metres (and tonnes if density is known)
- Comparison to previous survey (change since last measurement)
- Orthomosaic with pile boundaries marked
- Accuracy statement (RMSE, GCP count, method used)
- Date and flight parameters
The last item is frequently omitted and frequently requested by auditors. Document your methodology in every report.
Cut and Fill Analysis: Beyond Stockpiles
Stockpile volume is one application of drone-based volumetrics. Cut and fill analysis is the other - and for construction and earthworks teams, it is often more valuable.
What cut and fill analysis measures
Cut and fill compares two surveys of the same area captured at different times:
- Cut: Areas where material has been removed (excavation, grading, blasting). Shown in red on cut/fill maps.
- Fill: Areas where material has been added (backfill, compaction, embankment construction). Shown in blue.
The total cut volume and fill volume tell you exactly how much material has moved - and whether your earthworks balance. If you cut 10,000 cubic metres and fill 8,000, you have 2,000 cubic metres of surplus material to manage.
Why this matters for project management
Progress against design: Upload your design surface (from Civil 3D or equivalent) and compare it against the current drone survey. The cut/fill map shows exactly where you are ahead of grade, behind grade, and on target - across the entire site simultaneously.
Material reconciliation: Compare excavation volumes against truck manifests. Significant discrepancies between drone-measured volumes and truck counts indicate either measurement error or material management problems worth investigating.
Compaction verification: Sequential surveys before and after compaction show settlement volumes, helping verify that compaction meets specification.
The India-specific context
Under RERA, construction progress documentation is increasingly required for homebuyer transparency and project financing. Drone-based cut/fill analysis provides a timestamped, georeferenced record of earthworks progress that satisfies this requirement at a fraction of traditional survey costs - and produces a visual report that non-technical stakeholders can actually interpret.
Where Drone Volume Measurement Breaks Down
Every guide covers what drone volumetrics can do. Almost none explain where it fails. These are the conditions that produce unreliable results regardless of hardware quality.
Adjacent and touching piles
When two piles touch or overlap, a 2D polygon boundary drawn around each pile will follow the visible perimeter - which runs over the top of the shared contact zone. The result: both piles are under-measured because the contact zone is attributed to neither.
The correct approach is a 3D surface-to-surface comparison using the original ground topography as the baseline. This allows the software to measure both piles below the shared contact surface, capturing their full volumes.
Piles on sloped ground
A pile sitting on a 5-degree slope has a base that is not flat. The mean plane method will tilt to match the slope, creating a wedge-shaped error that either adds or subtracts volume depending on which side of the pile is higher.
For sloped-ground piles, use the surface-to-surface method with a pre-pile baseline survey, or manually define base points at surveyed elevations.
Vegetation on pile surfaces
Vegetation growing on older stockpiles - grass, shrubs, weeds - adds apparent volume to the surface model. The DSM captures the top of the vegetation, not the pile surface beneath it. This systematically inflates volume calculations.
For vegetated piles, LiDAR is the correct tool - its multiple-return capability can separate ground returns from vegetation. Photogrammetry cannot.
Dust and airborne particulate
Active quarry and crushing operations generate significant airborne dust. Dense dust reduces image contrast and degrades feature matching in photogrammetry. Fly early morning before crushing operations begin, or after rain has settled the dust.
Rapidly changing pile geometry
If a pile is being actively loaded or unloaded during the survey flight, the geometry captured in early images will not match the geometry captured in later images. The resulting DSM will have inconsistencies at the active face that introduce volume errors.
Schedule surveys during operational pauses - shift changes, meal breaks, or before operations begin for the day.
Photogrammetry vs. LiDAR for Stockpiles
For the majority of stockpile applications, photogrammetry is the correct choice. The exceptions are specific and worth understanding.
When photogrammetry is sufficient (most cases)
Photogrammetry works excellently on the textured surfaces of aggregate, ore, overburden, and construction material stockpiles. The irregular, granular texture of these materials provides abundant feature points for the SfM algorithm, resulting in dense, accurate point clouds.
For free-standing piles on cleared ground with no vegetation, photogrammetry consistently achieves volume accuracy within 1-3% of traditional ground surveys - sufficient for financial reporting and regulatory compliance.
When LiDAR is the better choice
Vegetated piles: Any pile with significant surface vegetation requires LiDAR for accurate volume. Photogrammetry captures the canopy, not the pile surface.
Complex adjacent pile geometries: LiDAR's point density and geometric precision make it more reliable for measuring touching or overlapping piles in 3D.
Dusty or low-contrast environments: LiDAR is not affected by airborne particulate or surface uniformity. Active crushing areas and cement/lime stockpiles (which have low visual contrast) are better served by LiDAR.
IBM Rule 34A compliance: For mining operations requiring survey-grade accuracy documentation for IBM submissions, LiDAR provides the most defensible accuracy record on complex pile geometries.
Quick decision guide
| Condition | Photogrammetry | LiDAR |
|---|---|---|
| Textured aggregate piles, clear ground | Preferred | Overkill |
| Vegetated pile surfaces | Not suitable | Required |
| Active dusty environment | Degraded quality | Unaffected |
| Adjacent touching piles | Workable with care | More reliable |
| Financial/regulatory reporting | Sufficient with RTK+GCPs | Highest confidence |
| Budget under ₹50,000 per survey | Only viable option | Not accessible |
Hardware Selection
For most stockpile applications
DJI Mavic 3 Enterprise (M3E)
The best entry-level choice for stockpile work. Mechanical shutter, 20MP 4/3 CMOS sensor, 43-minute flight time, optional RTK module. Covers a typical quarry stockyard (5-20 ha) in a single flight. The mechanical shutter is essential - a rolling shutter introduces geometric distortion that degrades DSM accuracy at pile edges.
DJI Phantom 4 RTK
Proven platform with integrated RTK, mechanical shutter, and 20MP camera. Slightly older than the M3E but still an excellent choice for survey-grade volumetrics. Good value if budget is a constraint.
For high-precision or complex sites
DJI M350 RTK + Zenmuse P1
45MP full-frame camera with mechanical shutter and integrated RTK. For sites requiring the highest photogrammetry accuracy - large stockyards, IBM compliance surveys, financial audit documentation.
DJI M350 RTK + Zenmuse L2 (LiDAR)
The correct choice for vegetated piles, complex adjacent geometries, and any application requiring LiDAR-grade point density. More expensive to operate but produces the most defensible accuracy record.
Hardware comparison for stockpile work
| Platform | Shutter | Accuracy | Best For | Approx. Cost |
|---|---|---|---|---|
| DJI M3E | Mechanical | ±1-3% with RTK+GCPs | Most stockpile surveys | ₹3-5 lakh |
| DJI Phantom 4 RTK | Mechanical | ±1-3% | Budget survey-grade option | ₹2-4 lakh |
| DJI M350 + P1 | Mechanical | ±0.5-2% | High-precision, IBM compliance | ₹15-25 lakh |
| DJI M350 + L2 | LiDAR | ±0.5-1% | Vegetated piles, complex geometry | ₹60-80 lakh payload |
How Aeroyantra Handles Volumetrics
Aeroyantra's cloud platform includes a full volumetrics workflow - not as an add-on, but as a core feature of the Professional plan.
What the platform produces
Upload your drone imagery and Aeroyantra processes it into a dense point cloud and DSM. From there, the volumetrics workflow allows you to:
- Draw pile boundaries using polygon tools on the 3D point cloud (not just the 2D orthomosaic - this matters for adjacent pile accuracy)
- Select the correct base plane method per pile
- Calculate volumes instantly with cut/fill breakdown
- Compare against previous surveys using the timeline view
- Export a PDF volume report with pile IDs, volumes, change data, and accuracy documentation
AutoGCP for faster field setup
Aeroyantra's AutoGCP AI feature automatically detects and tags GCP targets in your imagery, reducing the most time-consuming manual step in achieving sub-5 cm RMSE. For regular stockpile surveys where the same GCP locations are reused, this dramatically speeds up the processing workflow.
IBM compliance outputs
For mining operations subject to Rule 34A, Aeroyantra generates the complete IBM submission package - DSM in GeoTIFF at 15 cm resolution, orthomosaic at 5 cm GSD, RMSE report in .txt/.doc/.PDF, and GCP data in the required Excel formats. Volume reports can be formatted for Mining Bureau requirements on the Enterprise plan.
Pricing for stockpile surveys
Aeroyantra uses a pay-per-use credit model: 1 Aero Credit = 1 Gigapixel of processed imagery.
A typical stockpile survey of a 10-20 hectare quarry at 60-80m AGL with a 20MP camera produces approximately 800-1,500 images:
- 1,000 images x 20MP = 20 credits
- At Starter Pack rate ($2.18/credit): approximately $44 USD (₹3,700)
- At Professional plan included credits: often covered within the monthly allocation
There is no per-feature charge for volumetrics, cut/fill analysis, or PDF report generation. All outputs are included in the credit cost.
| Survey Size | Approx. Images | Credits Used | Cost (Starter Pack) |
|---|---|---|---|
| Small quarry (5-10 ha) | 400-800 | 8-16 credits | $17-35 USD |
| Mid-size quarry (10-20 ha) | 800-1,500 | 16-30 credits | $35-65 USD |
| Large stockyard (20-50 ha) | 1,500-3,500 | 30-70 credits | $65-153 USD |
| IBM compliance survey (50+ ha) | 3,000-6,000 | 60-120 credits | $131-262 USD |
Common Mistakes That Inflate Volume Numbers
These errors consistently produce volume calculations that are higher than reality - and are frequently discovered only when drone data is reconciled against truck manifests or production returns.
Sloppy boundary placement. Drawing the polygon boundary too far from the pile base includes flat ground in the measurement area. The software interprets this flat ground as part of the "fill" volume. Always draw the boundary at the visible break of slope.
Wrong base plane method for bunker-stored material. Using mean plane on a pile stored in a bunker sets the base plane above the bunker floor, effectively ignoring the lower portion of the pile. Use lowest point or surface-to-surface for bunker material.
Not filtering vegetation. Grass and shrubs on pile surfaces add 0.3-1.5m of apparent height to the DSM in those areas. For piles with any surface vegetation, manually mask or filter vegetated areas before calculating volume.
Flying too high for pile complexity. At 120m AGL, steep pile sides are captured at a shallow angle and may have insufficient overlap for accurate DSM reconstruction. For tall piles with steep sides (>35 degrees), fly at 60-80m or add a double-grid pass.
Using GPS-only positioning for change detection. Without RTK or GCPs, the model can drift several feet between surveys. A volume "change" of 500 cubic metres between two GPS-only surveys may be entirely positional drift, not actual material movement.
Processing at reduced quality to save time. Reduced quality settings degrade DSM accuracy at pile edges. For a 200 cubic metre pile, a 5 cm error in edge definition can introduce a 3-8% volume error. Always process volumetric surveys at maximum quality.
FAQ
What is the difference between a DSM and a DTM for stockpile measurement?
For stockpile volume calculation, you use the DSM (Digital Surface Model) - which captures the top surface of everything, including the pile itself. The DTM (Digital Terrain Model) is a bare-earth model with above-ground objects removed. Using a DTM for stockpile volumes would remove the pile from the model. The DTM is used as the baseline surface in surface-to-surface comparisons - representing what the ground looked like before the pile was placed.
Do I need GCPs for every stockpile survey, or just the first one?
For survey-grade accuracy (±1-3%), GCPs are required for every survey. RTK/PPK positioning without GCPs achieves ±2-5% - sufficient for operational inventory management but not for financial reporting or regulatory compliance. If your GCPs are permanent and resurveyed each time, the field setup time is minimal.
How do I measure a pile that is against a wall on three sides?
Use the Lowest Point base plane method. Set the boundary to include the accessible face of the pile and the visible floor in front of it. The software will set the base at the lowest measured point - typically the floor in front of the pile - and calculate volume from there up. For very constrained bunker configurations, a surveyor-measured base elevation is the most accurate approach.
Can I calculate tonnes from drone volume data?
Yes, if you know the material density. Tonnes = Volume (m³) x Bulk Density (t/m³). Standard bulk densities: crushed granite 1.5-1.7 t/m³, iron ore 2.0-2.5 t/m³, coal 0.7-0.9 t/m³, sand 1.4-1.7 t/m³. These are approximate - actual density varies with moisture content and compaction. For financial reporting, use density values from your own material testing rather than standard references.
How often should I survey stockpiles?
For operational inventory management, monthly surveys are the minimum. Weekly surveys are standard for active mines and quarries with high throughput. Daily surveys are used by some operations during critical project phases. The frequency that makes economic sense depends on the value of material moving through your site - higher value material justifies more frequent measurement.
Does Aeroyantra support volume comparison between surveys?
Yes. The Professional plan includes a timeline view that overlays successive surveys for direct comparison. You can select any two surveys and generate a cut/fill map showing material movement between those dates, with total cut and fill volumes in the report.
What file formats does Aeroyantra export for volume reports?
Volume reports export as PDF (with orthomosaic, pile boundaries, volume table, and accuracy statement), CSV (volume data for import into spreadsheets or ERP systems), and DXF (pile boundaries for import into AutoCAD or Civil 3D). The DSM exports as GeoTIFF for use in third-party GIS and CAD platforms.
The Bottom Line
Drone-based volume measurement is not magic. It is a well-understood workflow with specific accuracy requirements, specific failure modes, and specific conditions where it produces reliable results.
The operations that get the most value from it are not necessarily the ones with the most expensive hardware. They are the ones that understand base plane selection, fly with proper georeferencing, process at full quality, and measure frequently enough to catch discrepancies before they compound.
A 10,000-tonne write-off discovered at year-end is a management failure. A 500-tonne discrepancy caught in a weekly drone survey is a data point.
The difference between those two outcomes is measurement frequency and methodology - not drone model.
Ready to bring survey-grade volumetrics to your site?
Aeroyantra's cloud platform processes your drone imagery into professional volume reports - cut/fill maps, pile-by-pile breakdowns, and IBM-compliant outputs - with no hardware investment and no subscription required.
Start your first volumetric survey on Aeroyantra
Already running regular surveys? The Professional plan includes 40 free credits monthly, AutoGCP AI detection, and the full volumetrics and timeline suite for $69/month.
Last updated: July 2025. Questions about your specific site configuration? Contact our team - we respond within one business day.
Related Articles
Explore more insights and stories from our blog

Trying Drone Data for Construction Planning on the Patna Metro: An Early Look
Shashwat Mishra, Planning Manager at L&T, is piloting Aeroyantra on the Patna Metro Rail Project to test whether drone-based site intelligence can actually work inside a large planning workflow. Early results are promising - but the team is still figuring out where it fits.

How Vedant Construction Replaced Manual Surveys with Drone Mapping at NALCO's Odisha Site
Vedant Construction Private Limited switched from manual survey methods to Aeroyantra's cloud processing platform for construction monitoring and earthwork management at a large-scale NALCO site in Odisha. Here's how it changed their workflow.

How Travancore Aviations Mapped an Under-Construction Overhead Water Tank Structure in Bilaspur
Kerala-based Travancore Aviations used Aeroyantra's drone mapping software to survey an under-construction overhead water tank structure in Bilaspur, Chhattisgarh, and generate a detailed 3D model for stage-wise technical analysis.