Advanced Profile Tool — User Guide

← Back to help home

1. Overview

The Advanced Profile Tool generates cross-sections and long sections along a selected alignment, samples elevations from one or more DEM rasters, plots the resulting profiles, compares surfaces (cut/fill), and computes earthworks volumes. Results can be exported to GeoPackage, CSV, DXF and image/PDF formats. Three algorithms are also registered in the Processing Toolbox under Advanced Profile Tool → Profiles for scripted and batch use.

2. Workflow

The dialog follows the run sequence from left to right:

  1. Alignment — choose the line layer and feature(s) that define the route.
  2. Section Layout — set interval, widths, tangent method, labelling and chainage limits.
  3. DEM Surfaces — add the rasters to sample, with per-surface band, interpolation, vertical offset and style.
  4. Generate — build the section lines and sample all enabled surfaces.
  5. Viewer — step through the profiles, adjust vertical exaggeration, inspect elevations.
  6. Comparison / Volumes — difference two surfaces, review cut/fill areas per section and volumes between sections.
  7. Outputs — export layers, tables, plots and drawings.

3. Tab reference

3.1 Alignment

3.2 Section Layout

3.3 DEM Surfaces

3.4 Generate

3.5 Viewer

3.6 Comparison / Volumes

3.7 Outputs

4. Chainage formats

FormatExample (1240.5 m)
Station 0+000 (default)1+240.50
CH 0+000CH 1+240.50
STA 0+000STA 1+240.50
Plain1240.50

Chainage entry fields accept any of the above forms, including negative chainages ahead of the datum.

5. Offset convention

Offsets are signed distances perpendicular to the alignment: negative to the left, positive to the right, when looking in the direction of increasing chainage. Section lines are written left end → centre → right end, so the geometric start of each section line is its left end. A display option shows unsigned offsets with L/R suffixes instead.

6. DEM interpolation and NoData

MethodBehaviourUse
NearestValue of the nearest cell. Categorical or already-smoothed data; exact cell values.
Bilinear (default)Weighted mean of the 4 surrounding cells.General terrain profiling.
Cubic16-cell cubic convolution. Smooth surfaces where slope continuity matters; can slightly overshoot near sharp edges.

NoData handling: by default NoData samples remain as gaps in the profile (nothing is invented) and a warning reports the count. Optionally, gaps shorter than a maximum length (default 5 m) can be bridged by linear interpolation across the gap; longer gaps always remain open. Gap lengths are excluded from comparison areas and reported separately.

7. Volume method

Cross-section areas are converted to volumes between consecutive valid sections by the average end area method:

V = (A₁ + A₂) / 2 × L

where L is the chainage difference between the sections. Cut and fill are accumulated separately, with cumulative and net (mass-haul) totals reported. The prismoidal option applies the prismoidal correction where section shape changes significantly, which reduces the systematic overestimate of the average end area method on tapering earthworks. Sections invalidated by excessive NoData are skipped and the affected intervals flagged.

8. Export formats

FormatContent
GeoPackageSection lines (with id, label, chainage, major flag), profile points, comparison and volume tables.
CSVProfile samples (section, offset, elevation per surface), cut/fill areas, volume table.
DXFProfile linework per surface on APT_-prefixed layers with grid and annotation.
PNG / PDFPlotted sections at the configured page size and vertical exaggeration.

9. Troubleshooting

"Calculation CRS is geographic (degree units)"

The alignment (or chosen calculation CRS) is in latitude/longitude, so distances would be computed in degrees. Reproject the alignment to a projected CRS (for example the local MGA/UTM zone) or select a projected calculation CRS. The plugin can suggest the UTM zone covering the layer extent.

Gaps in profiles (NoData)

Gaps indicate NoData cells or samples outside the DEM extent. Check raster coverage against the section extents and the declared NoData value. Enable gap interpolation only where short voids are acceptable to bridge; note that bridged spans are estimates, not measurements.

Intersecting section lines

On tight bends, adjacent perpendicular sections can cross within the section width, double-counting terrain in volume results. The generator reports intersecting pairs. Remedies: use the averaged or smoothed tangent method, reduce section widths, or increase the interval through the bend. Review flagged sections before relying on volumes.

No sections generated

Confirm the alignment feature is selected, the chainage window lies within the alignment length, and the interval is smaller than the alignment length. Warnings on the Generate tab identify rejected or clamped inputs.

10. Licence

Advanced Profile Tool — Copyright © 2026 Nikhil Jacob.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the Licence, or (at your option) any later version. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.

Results depend on input data quality. Verify sampled surfaces, datums and volumes against survey control before using them for design or contractual quantities.