QGIS plugin · Version 1.11.0

LandXML Road & Terrain GIS Tools

User Guide and Technical Manual
AuthorEdmond Akello Contactakelloedmond@gmail.com ORCID0009-0009-5901-4574 Repositorygithub.com/EdmondAkello/LandXML-Road-and-Terrain-GIS-Tools QGIS3.44 to 4.x (Qt5 and Qt6 builds) DOI10.5281/zenodo.23402501 (Zenodo, all versions) Cite asAkello, E. and Winstead, C. (2026). LandXML Road & Terrain GIS Tools (version 1.11.0) [Software]. Zenodo. https://doi.org/10.5281/zenodo.23402501 LicenceGNU General Public License v2 or later EditionNovember 2026
All figures in this guide were produced by the plugin from a synthetic demonstration road with invented names, coordinates and terrain. No project data is shown.

Contents

About this guide
0What is new since 1.4
Part A — Getting started
1Overview 2Installing and updating 3Preparing the LandXML export 4Coordinates, axis order and units 5Inspect LandXML first 6Choosing surfaces, alignments and profiles
Part B — Converting data to GIS
7Complete Road Design to GeoPackage 8Terrain: TIN to GeoTIFF and boundaries 9Alignments, stations and 3D centrelines 10Profiles, labels and map overlays 11Cross-sections, breaklines and feature lines
Part C — Viewing, quantities and reports
12Profile Viewer 13Profile Cut/Fill Analysis 14Corridor Section Quantities 15Surface Cut/Fill and Grading Quantities 16Cross-Section Sheets and Report 17Road Design Report
Part D — Geometric design review
18What the review does 19Running a review 20Design speed and speed changes 21Checks and finding codes 22Alignment phasing and recommended PVIs 23Safety barriers and sight on curves 24Taking recommendations back to Civil 3D 25Design standards and custom criteria
Part E — Technical reference
26Computation methods 27Output layers and fields 28Supported LandXML content and limits 29Validation 30Quality-control checklist 31Troubleshooting ACriteria tables

0What is new since 1.4

The 1.4 guide covered conversion of LandXML to GIS layers. Versions 1.5 to 1.8 turn the plugin into a review and reporting tool for road designs:

1.5 · QGIS 4 and inspection

QGIS 4 support, Inspect LandXML, explicit units and CRS handling, OpenRoads Designer terrain and breaklines, profile labels and map overlays.

1.6 · Viewer and earthworks

Profile Viewer dock (click a road to see existing vs design), profile, corridor and TIN cut/fill quantities, mass haul and side-slope areas for grassing.

1.7 · Reporting

Name dropdowns and automatic surface choice, cross-section sheets (PDF/HTML/PNG), cross-sections in the viewer, and the Road Design Report.

1.8 · Design review

Geometric Design Review against Kenya RDM 1.3 (2025) or AASHTO 2018: phasing, sight distance, curves, grades, superelevation, design speed changes and barrier warrants.

1.8 · Back to Civil 3D

Recommended PVIs and curve lengths written as a Civil 3D "Create Profile from File" text file and as LandXML.

Fixes

Correct placement of station-relative cross-sections, hidden TIN triangles excluded, true arc-length stationing on curves and spirals.

Part AGetting started

Install the plugin, export a suitable LandXML file from the design software, decide how its coordinates map to your GIS, and check the file before converting anything.

1Overview

LandXML Road & Terrain GIS Tools is a QGIS Processing provider with a dockable profile viewer. It reads LandXML 1.0–1.2 exported by Autodesk Civil 3D, Bentley OpenRoads Designer and other design packages, and turns terrain and road design data into GIS layers, quantities, drawings and design-review reports. It needs no Python packages beyond those QGIS ships (NumPy, GDAL/OGR), and it never edits the source file.

Map of the demo road
Figure 1. The demonstration road in QGIS: DEM and 5 m contours from the TIN, alignment and 200 m stations from Complete Road Design, corridor section lines, and design-review findings coloured by severity (red high, orange medium, yellow low) and labelled with their codes.
Toolbox groupTools
1. Inspect and prepareInspect LandXML · Prepare LandXML from Geometry and Terrains
2. Road design extractionExtract LandXML Profiles · Create 3D Road Centerlines · Extract LandXML Cross-Sections · Create Alignment Station Points · Export Complete Road Design to GeoPackage
3. Vector extractionExtract LandXML Alignments to Lines
4. Terrain conversionLandXML TIN to GeoTIFF
5. Surface extractionExtract TIN Surface Boundary · Extract LandXML Feature Lines · Extract LandXML Breaklines
6. Earthworks and quantitiesProfile Cut/Fill Analysis · Corridor Section Quantities · Surface Cut/Fill (TIN Difference)
7. Design reviewGeometric Design Review (Phasing, Sight Distance, Standards)
8. Reports and sheetsCross-Section Sheets and Report · Road Design Report
9. Site grading (land development)Grading Quantities (Volume Surface) · Platform Levels and Falls · Basin Stage–Storage · Earthwork Balance (Volume Surfaces) · Grading Revision Comparison (Volume Surfaces)
Outside the ToolboxLandXML Profile Viewer dock and the Pick Alignment Profile on Map button (menu Plugins → LandXML Road & Terrain)

A typical workflow

  1. Export the LandXML from the design software with surfaces, alignments, profiles, sample-line cross-sections and design speeds (section 3).
  2. Inspect the file to see what it contains and to settle units and axis order (section 5).
  3. Convert with Complete Road Design to get a GeoPackage, DEM and contours, and check placement against survey control (section 7).
  4. View and quantify: open the Profile Viewer on the road, run the earthworks tools and plot the cross-sections (Part C).
  5. Review the geometry against your design standard and take the recommended changes back to the design software (Part D).
  6. Report: combine the Road Design Report, review report, section sheets and maps into the project report.

2Installing and updating

From the QGIS plugin repository

  1. Open Plugins → Manage and Install Plugins…
  2. Search for LandXML Road & Terrain GIS Tools and press Install (or Upgrade).
  3. Open Processing → Toolbox and expand LandXML Road & Terrain GIS Tools. The Profile Viewer button appears on the Plugins toolbar.

This guide is installed with the plugin and opens offline: Plugins → LandXML Road & Terrain → User Guide, or the Help button of any tool's dialog, which opens the tool's own section. Rarely changed settings (coordinate shifts, rotation and scale, and the finer options of the 3D scene) are under Advanced parameters in each dialog.

Where a tool needs names from the file (alignments, surfaces, profiles), its field has a dropdown or a … checklist filled from the chosen LandXML file; you can still type. Style fields list the built-in styles and your own: type or adjust a style, press ★ to save it under a name, and it appears in every style list afterwards (− removes one). The 3D scene's surfaces field has an Edit… table for the surface, its style and the surface it is drawn over.

From a ZIP file

Use Plugins → Manage and Install Plugins → Install from ZIP. The ZIP contains one folder, landxml_tin_to_geotiff. This is the plugin's permanent folder name, kept since 1.4 so that new versions replace old ones; installing a copy under a different folder name gives two plugins side by side.

RequirementsQGIS 3.44 or later, including QGIS 4 (Qt6). Metric and imperial files are both read; the design review and earthworks reports assume metric data.

3Preparing the LandXML export

The plugin can only use what the export contains. Decide what you need before exporting, and keep one export per review so results can be traced.

To useInclude in the export
Terrain, DEM, contours, TIN differenceSurfaces (TIN). Civil 3D marks triangles hidden by a surface boundary as invisible; the plugin excludes them.
Alignments, stations, 3D centrelinesAlignments with their geometry (lines, curves, clothoid spirals).
Profiles, Profile Viewer, cut/fillThe design profile (layout profile) and the existing-ground surface profile of each alignment.
Corridor quantities, section sheets, barrier and sight checksSample-line cross-sections with the existing-ground and corridor surfaces sampled, and the corridor shapes and links (pavement layers, Datum). Enable cross-section export in the LandXML export settings.
Design review by speedDesign speeds: in Civil 3D set them in Alignment Properties → Design Criteria (speed stations) before exporting. They are written as SpeedStation features.
Superelevation diagram and checksAlignment superelevation (Civil 3D writes transition stations and full rates).

In Civil 3D the command is Output → Export to LandXML; in OpenRoads Designer use the LandXML export. The plugin does not read DWG or DGN files.

TipLarge corridor exports are fine: the plugin has been run on 75 MB files with thousands of cross-sections. Name dropdowns scan a file in under half a second.

4Coordinates, axis order and units

Coordinate handling is explicit in every tool that writes map geometry. The plugin never guesses a CRS or transformation; a CRS declared in the LandXML is shown for reference only.

Coordinate interpretationUse when
Use stored coordinatesThe stored values are already easting, northing in the output CRS.
Swap X / YThe file stores Northing, Easting (Y, X), the standard LandXML plan-coordinate order normally used by OpenRoads and Civil 3D. This produces GIS X = Easting, Y = Northing.
Apply X / Y offsetA known translation (for example a false origin) must be added.
Swap X / Y + offsetBoth of the above.
2-D Helmert (similarity)A known translation, rotation and scale relate the design grid to the map grid.
Reproject from source CRSThe stored coordinates are valid in a known CRS that differs from the output CRS. You must select the source CRS.

Output CRS is always chosen by you. Use the same interpretation and CRS for every layer of a project, and check one feature against known survey control before converting a whole design. If you keep the stored order but the first coordinate looks like a northing (for example 9,886,035 with an easting-sized second value), every tool warns you; it never swaps on its own.

OpenRoads axis-order reminder. Every coordinate-interpretation selector includes a reminder and detailed help. Standard LandXML uses Northing, Easting, with elevation third (see the ICSM mapping); the downloaded FHWA OpenRoads examples follow this order. Verify a known control point instead of assuming every version or edited export behaves identically. Use stored coordinates if the file already contains Easting, Northing. Preparation preserves axis order; apply the same choice to matching geometry and terrains. Profile station/elevation and section offset/elevation pairs are not plan coordinates and must not be swapped.

Units. Metres, international feet and US survey feet are kept distinct. When a file declares a horizontal unit, the output CRS must use the same unit or the tool stops. Vertical units are never inferred from horizontal ones; if the file does not declare them, the log says so.

5Inspect LandXML first

Inspect LandXML (Utilities) reads the file without converting anything and reports: the producing software and version, horizontal and vertical units, declared CRS, an axis-order warning, surfaces with point and face counts, alignments, design and surface profiles, cross-sections, breaklines, feature lines, coordinate bounds, the elevation range and any warnings. It can save the report as JSON for the project record.

Use it to confirm that the file holds what you expect (for example that cross-sections are present before running corridor tools) and to decide on the coordinate interpretation.

6Choosing surfaces, alignments and profiles

Remembering project settings. After a successful run from a Processing dialog, the tool remembers its input files, selections, units, intervals, coordinate settings and design criteria in the current QGIS project. Save the project to retain them after closing QGIS. Each tool keeps separate settings; a new project starts with defaults. Explicit inputs from Processing history override saved inputs. Output destinations and the Prepare LandXML coordinate/datum confirmation are not remembered. Failed or cancelled runs leave the saved settings unchanged. Scripts, models and batch runs keep their normal parameter behavior.

Every name field is an editable dropdown filled from the chosen file and refreshed when the file changes. You can also type: matching ignores case and accepts a unique part of a name, so eg finds EG and ogl finds OGL-LOT_REV 0. An unknown name is reported with the list of names available.

Leave surface names blank to let the tool decide from evidence in the file; the choice is written to the log:

Part BConverting data to GIS

Turn terrain, alignments, profiles and sections into GeoPackage, GeoTIFF and 3D vector layers for mapping and analysis.

7Complete Road Design to GeoPackage

For a first import, run Export Complete Road Design to GeoPackage. In one pass it writes an engineering GeoPackage and, optionally, a DEM and contours.

Automatic output selection. Leave the Include options enabled to export all available data. Outputs with no exportable features are skipped after applying the alignment/surface filters and checking dependencies. Missing profiles, sections or terrain do not need to be unchecked first. Empty layers are omitted from the saved package and from QGIS; the Processing log reports skipped outputs. Invalid-data errors and warnings still apply. If no engineering vector layers are produced, no engineering GeoPackage is retained; DEMs can still be exported independently. A contour GeoPackage is omitted when the requested interval produces no contour lines.

Automatic terrain names. DEM and contour filenames retain the XML basename, add the embedded surface name, and include a supported role such as existing ground or finished grade. For example, surface FG Road in combined.xml produces combined_Finished_Grade_FG_Road_DEM.tif and combined_Finished_Grade_FG_Road_Contours.gpkg. Roles come from surface names/descriptions, explicit state or Prepare LandXML metadata; datum and generic design/proposed surfaces are not labelled finished grade. Unknown or conflicting roles retain a neutral name. Unsafe characters are replaced, unnamed surfaces get numbered fallbacks, and duplicate filenames receive numeric suffixes. The mixed engineering package remains combined_GIS.gpkg with its existing tables. Other tools keep user-selected output paths. Earlier exports are not renamed; update scripts that expect the former numbered terrain filenames.

ParameterDefaultGuidance
Coordinate interpretation, Output CRS—As verified in section 4.
Alignment / TIN surfaceblank = allPick from the dropdowns to limit the export.
DEM resolution5Pixel size in map units. Finer cells do not add detail missing from the TIN.
Contour interval50 skips contours.
Alignment segment length5Densification of curves and spirals.
Station interval20Station points at whole multiples of the interval.
Profile interval5Sampling of profile graph lines.
Include … togglesonExport all available data automatically; missing outputs are skipped. Turn off an option to exclude available data you do not need.
Load exported layers into the projectonAfter success, QGIS loads the generated GeoPackage layers, retained DEMs and contours into the run's project. Turn off to export files only. Temporary DEMs used only for contours and disabled outputs are not loaded. Failed/cancelled exports do not queue partial results. Runs without a project still export normally. Source XML links support the Profile Viewer. Profile graphs remain station/elevation diagrams without a map CRS.
LayerContents
alignmentsOne line per alignment with length and start/end stations.
alignment_elementsEach line, curve and spiral with direction, radius, curve and spiral length.
centerlines_3d3D centreline over the range covered by the design profile.
profiles, profile_controlsProfile graph lines and VPI/VPC/VPT controls in station/elevation graph coordinates (no map CRS).
station_pointsPoints with station and bearing.
cross_sectionsSection lines (3D) for every sampled surface, placed along the alignment.
feature_lines, breaklinesDesign linework with source names, codes and IDs.
surface_boundaryOuter edges of each TIN.
*_DEM.tif, *_Contours.gpkgFloat32 DEM and contour lines (optional).
Existing filesThe tool refuses to overwrite an existing GeoPackage. Choose a new output folder for each run.

Station and contour label conventions. Station-point outputs include station_label, using declared source units: foot-based stationing displays 50+00, 7+00 or 700+00; metric follows the existing formatter (metres: 5+000). Whole stations omit .00; fractional stations retain two decimals. Unknown units keep plain numeric values. Contour labels omit trailing decimal zeros but preserve fractional elevations. Identified existing-ground minor contours are brown/dashed; proposed/design minor contours are blue/solid, with thicker minor lines for visibility. Datum is purple and unknown surfaces are green. Numeric stations, elevations and geometry are unchanged.

Default QGIS styles. Complete-package layers and individual vector extractions receive consistent road-review presets: blue alignments/centerlines, small dark station markers, orange profile controls, purple cross-sections, grey boundaries, brown breaklines and green feature lines. Surface/profile attributes can distinguish brown existing ground, blue design/finished surfaces and purple datum/subgrade; unknown names retain the base color. Station labels use source station values; existing profile labels are preserved. Contours use thin minor lines and heavier, labelled index lines every fifth contour interval. Defaults are saved in the GeoPackage and restored when reopening it in QGIS, including file-only exports. Other GIS applications may ignore them. You can edit and save your own default styles afterwards. Memory outputs are styled for the current run; other formats do not get style sidecars. Existing earthworks styling is preserved; DEM styling is outside this first version. Styling changes presentation only, with no geometry, unit or quantity changes. A style-save failure is reported as a warning without discarding the data.

Prepared LandXML files retain original surface names and source filenames in preparation metadata. Automatic terrain names use that original surface name instead of the generated Prepared … name when available. The source filename also contributes role evidence, allowing a proposed terrain from a named finished-surface export to be labelled finished grade. Datum/subgrade remains distinct, and role wording already present in the surface name is not repeated.

8Terrain: TIN to GeoTIFF and boundaries

Prepare separate geometry and terrain exports

Prepare LandXML from Geometry and Terrains (Utilities) accepts a primary alignment/profile LandXML and optional existing-ground and proposed terrain files. Select a surface when a supplied terrain file has several. For an embedded terrain, leave its file blank and select its surface. All inputs must already share coordinates, units and vertical datum: conflicting declarations are rejected, missing units require explicit selections, and missing metadata requires confirmation. No reprojection, axis swapping or unit conversion is performed.

Save to a new LandXML, then use it in the existing viewer, reports and analysis tools. Original design profiles and existing section records remain intact; the tool fills missing terrain profiles and section surfaces. A complete input needs no separate terrain files. Defaults are 5 source units between profile samples, 20 between sections and 50 left/right widths; adjust them to suit the project.

Samples use the original visible TIN triangles. Terrain-edge crossings are retained; hidden triangles are excluded. Profile gaps remain disconnected, and disconnected section surfaces are omitted with warnings. Continuous partial sections stop at the terrain boundary. Missing section stations interrupt volume integration, but gaps between sampled stations still require inspection and exclusion. Generated sections contain terrain surfaces, not pavement layers or reconstructed design PVIs. Repeated runs reuse generated records; conflicting generated names or changed source terrain are rejected. The output is written atomically and never replaces an input.

Large files. Prepare rewrites only what it changes. TIN points, faces and contours are copied byte for byte from the source files without being loaded, including surfaces copied from another terrain file, and only the triangles within the section width of the alignments are indexed for sampling. The selected terrain surfaces are still read once in full to fingerprint them, so memory follows the size of the terrain you sample, not of the file. Files that cannot be copied this way safely (UTF-16, another declared encoding, prefixed elements inside the TIN blocks) are read whole as before. Prepare is a road-workflow tool; the site-grading tools do not need it.

Large-grid warning. TIN to GeoTIFF, Complete Road Design and Surface Cut/Fill provide Warn above grid size (million cells; 0 = disable), defaulting to 250 million cells. Larger grids log a warning with the cell count and minimum grid memory, then continue. Temporary arrays and surface comparisons need additional RAM. Increase the pixel size if memory is insufficient, or set the threshold to 0 to disable the warning.

LandXML TIN to GeoTIFF rasterizes one TIN surface by linear interpolation inside each triangle. Choose the surface, the pixel size and a NoData value outside the elevation range. Triangles flagged invisible (i="1", written by Civil 3D for triangles hidden by a boundary) are left as NoData, so the raster follows the surface boundary instead of filling holes and outer concavities.

Extract TIN Surface Boundary writes the outer edges of the visible triangles as lines.

9Alignments, stations and 3D centrelines

10Profiles, labels and map overlays

Extract LandXML Profiles writes profile graph lines and control points (VPI from the file, VPC and VPT computed for each parabolic curve). Labels show the station (0+000.00 for metric files), elevation, incoming and outgoing grades and K. A vertical exaggeration scales the plotted Y while the elevation attribute keeps the source value.

To see the profile next to the road in the map, add the Map profile lines output with the same coordinate interpretation and CRS as the alignment. The profile is drawn beside the alignment at the chosen offset (positive left, negative right). These are schematic graphics, not surveyed features.

K is the curve length divided by the algebraic difference in grade in percent. Flat curves have no finite K.

11Cross-sections, breaklines and feature lines

Extract LandXML Cross-Sections handles both forms found in LandXML:

Extract LandXML Breaklines and Extract LandXML Feature Lines keep the design linework with its source names, descriptions, codes and IDs. OpenRoads breaklines carry codes and IDs but no names; the plugin keeps those without treating IDs as names. Feature lines exported from Civil 3D come as PlanFeatures; they are read as feature lines from their lines, curves and spirals, with Civil 3D's three-point feature-line curves (start, middle and end points on the arc, no rotation) and its elevation points between PIs, with their site and other properties and landxml_element = PlanFeature.

Part CViewing, quantities and reports

Look at the design the way a reviewer does: long-sections and cross-sections on demand, earthworks quantities and report-ready drawings.

Saving reports as PDF

Every HTML report is laid out for A4 printing. Open it in Chrome or Edge, choose Print → Save as PDF and untick Headers and footers. The report prints its own title and page numbers, keeps chart colours and legends, keeps each heading with its chart, repeats table headers on every page and starts each alignment on a new page. The Road Design Report opens with a table of the alignments it contains.

12Profile Viewer

Where to find itThe Profile Viewer is a panel, not a Processing tool, so it is not listed in the Processing Toolbox. Open it from Plugins → LandXML Road & Terrain → LandXML Profile Viewer or Pick Alignment Profile on Map, or press the plugin's button on the Plugins toolbar (the same icon as the plugin). The panel docks along the bottom of the QGIS window; drag its title bar to move or float it. Once opened, it is also listed under View → Panels.

Press Pick Alignment Profile on Map and click an alignment, or any layer with an alignment_name or alignment field (station points, cut/fill segments, cross-sections). The dock opens that alignment's existing-ground and design long-section with the clicked chainage marked.

Profile viewer
Figure 2. Profile Viewer: existing ground (brown) against design (blue) with fill shaded green and cut orange, VPIs labelled with K, cut↔fill transitions (black dots), the depth panel and the cut/fill segment table with high-fill and deep-cut flags.
Cross-sections tab
Figure 3. The Cross-sections tab follows the profile marker: here an embankment at CH 1+240 with 1:2 slopes, the pavement layers, daylight offsets, FRL and EG levels, and the fill area. ◀ ▶ step through sections; vertical exaggeration and export are on the same row.

Layers created by the plugin remember their LandXML file in the QGIS project, so clicking them opens the right file. For other layers the viewer asks for the file once.

Interactive Station & Offset Locator

Open Plugins → LandXML Road & Terrain → Station & Offset Locator. This separate dock can be moved or floated in QGIS 3.44 and QGIS 4. Open the imported LandXML file and select its alignment. Explicitly choose the same Coordinate interpretation (OpenRoads: usually Swap X / Y), output CRS, shifts, rotation, scale and source CRS used for import; these are not inferred from the layer or map. Verify a known control point.

  1. Press Click map and click anywhere. The dock displays station, signed perpendicular offset and nearest distance. Negative offsets are left and positive offsets are right, facing increasing station.
  2. The red circle marks the corresponding alignment point; the blue cross marks the station/offset position. Beyond endpoints, station is clamped and nearest distance includes the distance beyond the endpoint; the perpendicular offset does not.
  3. Enter a numeric station or engineering notation with a plus separator, and a signed offset, then press Locate station / offset. For feet, 803+19.359 means 80319.359; for metric source units, 1+025.359 means 1025.359. A leading minus applies to the whole station. Engineering notation requires declared horizontal units; otherwise enter a numeric station. Out-of-range stations and non-finite inputs are rejected.
  4. The station field and result always display engineering notation with three decimal places after map clicks and manual lookup, including when a plain number was entered. Clicked offsets also show three decimals. Without declared horizontal units, stations stay numeric. Marker coordinates retain calculation precision.
  5. Choose another map tool or close the dock to stop picking. Closing hides the markers; changing alignment or coordinate settings invalidates old results. Clearing the project clears the loaded file.

Stations and offsets use source horizontal units, with no implicit conversion between metres, feet or US survey feet. Helmert scaling affects map geometry but preserves source station/offset values. With reprojection, calculations use the projected source CRS and markers are transformed into the map CRS. Geographic calculation CRSs are rejected. Undeclared units are labelled; elevations and vertical datums are not changed.

Tangents, circular curves and declared clothoids use the shared stationing helper with true source distances, so chord lengths do not accumulate into stationing error. Position and direction are interpolated on sampled geometry. Maximum curve segment defaults to 0.1 source units; reduce it for tight curves or large offsets. Accuracy depends on this sampling and source geometry. Missing start stations, invalid station equations, duplicate names, disconnected geometry and unsupported spiral types are reported rather than guessed.

Station equations

Declared roadway equations support increasing station regions with ahead/back jumps. The locator uses engineering station input: metric 1+950.000, feet 19+50.000. If a back jump repeats a station, choose its Station region (equations); Automatic requires one physical position. Forward-jump gaps return “station does not exist”. Map clicks show region, internal station and distance along. At an equation both back/ahead labels identify the same point; the ahead region owns the boundary by default. Offsets keep the alignment travel direction.

Existing numeric station fields, profiles/sections, sampling intervals, quantity integration, exclusion ranges and design-speed ranges remain continuous internal station (alignment start plus distance). Station points always add engineering_station, station_region (1-based, 1 without equations), and distance_along; their label includes the engineering region. Complete Road Design includes a station_equations table. Other existing layer station labels remain internal. HTML reports explain this basis and list the equations; profile chart exports identify internal stations, and section drawings include engineering region and internal station. Profile Viewer CSVs retain existing columns and append engineering station, label, region and distance for numeric station columns.

Example: internal 2000, back 2000 = ahead 1900 makes engineering 1950 identify internal 1950 in R1 and 2050 in R2. A jump from 2000 back to 2100 ahead leaves engineering 2050 without a position. No road length or volume is added by either jump. International and US survey feet remain distinct. Inspection records invalid equations as station_equation_error with a warning; independent terrain exports and surface cut/fill remain usable. Station-dependent tools reject the equation set with a clear QGIS error. Complete Road Design rejects the package before creating outputs. Explicit decreasing progression is rejected. Missing back station is derived from the preceding region; omitted increment means increasing.

Prepared and recommended-profile LandXML retain equations and source internal geometry stations. Interpretation and validation notes distinguish Autodesk documentation, synthetic metadata variants and the private OpenRoads reference comparison. Nonstandard exporter station conventions require independent verification; railway posting and manual equation editing are not supported.

13Profile Cut/Fill Analysis

Earthwork reporting units (all three quantity tools). Choose Volume units: Automatic (default), Cubic yards (CY), Cubic feet (CF), or Cubic metres (m³). Automatic uses CY for foot-based projects and m³ for metric projects. An explicit choice converts all cut, fill, net, material volumes and mass-haul ordinates into that unit, regardless of the input unit system. Report labels update to match; interval and footprint tables include volume_unit, and corridor/surface Processing results include VOLUME_UNIT. Numeric volume field names are unchanged, but values follow the selection: regenerate older reports and tables. Lengths, depths and areas retain their coordinate units; depth rasters are not converted to volume units.

US survey feet use their exact metre definition; CY uses the international yard and CF the international foot. Surface Cut/Fill uses the output CRS horizontal unit for Automatic and accounts separately for source elevation units. Recorded Civil 3D totals are converted from their declared volume unit into the selected output unit before comparison; missing or unsupported declarations omit that comparison. Volume estimates require known horizontal and vertical units; use Prepare LandXML to supply missing units explicitly. Profile/section quantities require matching horizontal and vertical units.

Profile Cut/Fill Analysis (Existing vs Design) compares the design profile with the existing-ground profile. Depth is design − ground (positive fill). Every breakpoint is kept and zero crossings are found exactly.

Cut fill report
Figure 4. HTML report of Profile Cut/Fill Analysis: summary, shaded long-section and depth diagram.

Outputs: a station table at any interval, cut/fill segments with length, maximum and mean depth and high fill / deep cut flags (default 3 m), transition points on the map, and the report. A formation width adds a level-section estimate of volumes and side-slope areas for early design when no corridor sections exist; it ignores cross-fall, pavement depth and ditches.

14Corridor Section Quantities

Corridor Section Quantities works from the station-relative sections exported from sample lines.

Corridor quantities
Figure 5. Corridor quantities: cut and fill volumes by average end areas, net volume with the cut factor, embankment and cut slope areas for grassing, and volumes of each corridor shape.
Mass haul
Figure 6. Mass-haul ordinate (cumulative factored cut − fill). Rising lengths are in surplus, falling lengths in deficit.

Sections farther apart than the maximum spacing (default 100) and excluded ranges are not integrated; the report lists what was skipped. No curvature correction is applied.

15Surface Cut/Fill and Grading Quantities

Surface Cut/Fill (TIN difference)

Grids two TINs on a shared raster and writes compare − base as a GeoTIFF styled orange (cut) to green (fill), with cut, fill and net volumes. Leave both names blank to use a recorded Civil 3D volume-surface pair, or existing ground against the corridor datum surface. When the file contains a SurfVolume for the same pair, the Civil 3D volumes are printed beside the grid result for comparison.

Grading Quantities (volume surface)

The site-grading tools are in their own toolbox group, 9. Site grading (land development), apart from the road-corridor earthworks. If the file does not declare its vertical unit (Civil 3D metric exports usually omit it), choose Vertical unit in the tool; it is never inferred, and a choice that contradicts a declared unit stops the run.

For site grading, export the Civil 3D TIN volume surface (design minus existing ground) with the other surfaces, and run Grading Quantities (Volume Surface) on it. Each triangle is integrated exactly as a linear prism and split at zero depth, so the result does not depend on a grid. The tool reports cut, fill and net volumes; plan, cut, fill and at-grade areas; maximum depths; and the exact plan area in each depth band (default limits −5, −3, −2, −1, −0.5, 0, 0.5, 1, 2, 3 and 5; a band includes its lower limit). Volumes are in place, with no shrinkage or bulking factors. Outputs are an HTML report and an optional depth-band CSV.

Without a volume surface. OpenRoads, and Civil 3D files exported without a volume surface, carry only the design and existing-ground surfaces. Enter the design surface and an Existing-ground surface: the tool builds the depth surface (design − existing) itself by clipping every design triangle against each existing triangle it overlaps. Both surfaces are linear on every piece, so the depth is linear too and the prism integration stays exact; the result is the TIN volume surface Civil 3D would build from the same two surfaces. Only the area both surfaces cover is counted, and any design area outside the existing ground is reported in the log. Earthwork Balance takes each site as Design | Existing, and Grading Revision Comparison takes an existing-ground surface for each revision.

Existing ground in another file. Grading Quantities, Earthwork Balance and Grading Revision Comparison accept an Existing-ground LandXML file, for example a survey surface exported on its own. Its declared vertical unit must match the design file's. Only the existing triangles that meet the design area are read, so a survey of several gigabytes costs memory in proportion to the site; a file that does not reach the design area is refused instead of reporting zero.

Daylight lines to Civil 3D. With a design and an existing-ground surface, the optional Daylight lines output writes the outline of the earthworks footprint (where design and existing ground differ by more than 0.01 vertical units, untouched islands as holes, lines shorter than 1 unit dropped) as Civil 3D feature lines (a LandXML file of PlanFeatures), carrying design levels. The file uses the input file's stored coordinates and units, whatever coordinate interpretation the GIS outputs use, so it imports back into the source drawing (Insert > LandXML). A volume surface holds depths, not levels, so it gives no daylight lines.

Reconciliation. Enter the cut, fill and plan area from the Civil 3D cut/fill summary (unadjusted, factor 1.0) in the reported units. Each value is compared with the computed one and the run reports PASS when every difference is within the tolerance (default 0.01), otherwise FAIL. Civil 3D tables are rounded to two decimals, so differences up to 0.005 are rounding.

Leave the surface blank only when the file identifies exactly one volume surface (a Civil 3D volume record, or one surface named as earthworks, volume, cut/fill or difference); otherwise choose it. If the chosen surface has depths beyond 100 vertical units the log warns that it looks like an elevation surface. Civil 3D metric exports often omit the vertical unit; use Prepare LandXML to declare it.

Depth map of the demo site
Figure 7. Synthetic grading demo: depth of the volume surface (cut orange, fill green, up to ±4 m) with the platforms found by Platform Levels and Falls, labelled with level and fall.
Grading quantities report
Figure 8. Grading Quantities (Volume Surface) report: headline cut, fill, net and plan area, then the quantities table.
Depth band chart
Figure 9. Exact plan area in each depth band, cut bands in orange and fill bands in green.

Platform Levels and Falls

Run Platform Levels and Falls on the design (finished-level) surface. Each triangle is classed by slope: flat below the flat threshold (default 2 %), sloping up to 30 % (ramps and graded areas), batter from 30 % to 250 % (1V:3.3H to 1V:0.4H) and near-vertical above that (retained edges). Flat triangles that share an edge form a platform; platforms smaller than the listing limit (default 50 m²) are left out. Each platform is written as a polygon with its area, mean, minimum and maximum level, overall fall and the bearing it falls towards, mean local grade and the share of its area flatter than the minimum fall. The overall fall comes from an area-weighted plane fitted to the platform, so a platform built as two level terraces joined by a gentle transition reports its average fall; check the minimum and maximum levels. Platforms whose overall fall is below the minimum (default 0.5 %) are flagged, because water can pond on them; common targets are at least 1 % on gravel and 0.5 % on paved areas. The HTML report also gives the area in each slope class.

The optional Platform outlines output writes each platform's outline, and any holes, as closed Civil 3D feature lines at the design levels along the edge, in the input file's stored coordinates.

Platform plan
Figure 10. Platform Levels and Falls: plan of the platforms with level, overall fall and a downhill arrow; level platforms are flagged in red. Holes such as the pond inside P2 are kept.

Earthwork Balance (volume surfaces)

Run Earthwork Balance (Volume Surfaces) with the volume surfaces of the sites to balance, separated by semicolons, or leave the list blank to use every surface named as a volume surface. Cut and fill per site are the exact in-place volumes of Grading Quantities. For each shrinkage factor (compacted volume from one unit of in-place cut; default 0.85, 0.90 and 0.95) each site first uses its own cut; surplus from the other sites then supplies the shortfalls, assuming it can be hauled between them. The report gives, per factor, the volume moved between sites, the import still needed (compacted, and its in-place borrow equivalent at the same factor) and the spoil in place, with a table per site. An unsuitable share of cut is removed before balancing and goes to spoil; topsoil stripping (plan area × depth) is reported separately and not used as fill.

Balance report
Figure 11. Earthwork Balance: cut and fill per site, then the volume moved between sites, import and spoil for each shrinkage factor.

Grading Revision Comparison

When a grading revision arrives, run Grading Revision Comparison (Volume Surfaces) with the volume surface of each revision; the second can come from another LandXML file (use the same coordinate interpretation and units). The table lists cut and fill of both revisions and the change (second minus first), overall and, with a zone polygon layer and its name field, by zone. Triangles are assigned to zones by their centroid, so zone totals near zone edges are approximate; the overall totals are exact. Labels such as "Rev B" and "Rev C" are used in the report. The optional change raster maps the depth change (positive = more fill or less cut); where only one revision has earthworks, the other counts as zero depth, so changed footprints show clearly. A change can also come from a revised existing-ground survey: compare the existing-ground surfaces with Surface Cut/Fill before attributing it to the design.

Revision comparison
Figure 12. Grading Revision Comparison: overall change and cut and fill of both revisions by zone (here the platform polygons as zones).
Depth change map
Figure 13. Depth-change raster (second revision minus first): platform B was lowered by 0.5 m, so it shows less fill (orange) while platform A is unchanged.

Basin Stage–Storage

Export the pond or basin grading as its own TIN surface and run Basin Stage–Storage on it. The storage below each level is integrated exactly over the triangles, because water depth is linear on each one; the table lists level, depth, water area and storage from the floor to the rim in the chosen step (default 0.25), with the freeboard level and the rim always included. Leave the rim blank to use the spill level, the lowest point on the surface's outer edge, where water would overflow; a rim above the spill level is flagged, because storage above it exists only if the basin is closed beyond this surface. Enter the required volume in the reported units to check capacity with freeboard (rim minus freeboard, default 0.5): PASS when it fits with freeboard, PASS TO RIM ONLY when it fits only if filled to the rim, otherwise FAIL. Outputs are an HTML report and a CSV table.

The optional Pond rim and design water level output writes the rim line and the design water level line (rim minus freeboard) as Civil 3D feature lines at those levels, in the input file's stored coordinates.

Stage–storage chart
Figure 14. Basin Stage–Storage: storage against level with the freeboard level, rim and required storage. Here 400 m³ fits only when the pond is filled to the rim (PASS TO RIM ONLY).

Grading Edge Analysis (walls and batters)

Run Grading Edge Analysis with the design and existing-ground surfaces (the existing ground can come from another file). The earthworks footprint is the design area where the two differ by more than 0.01 vertical units; its edge is walked triangle by triangle on the design TIN, with existing levels sampled at the design vertices, so lengths are true plan lengths. Where the edge stands more than the tie-in tolerance (default 0.1) above or below the ground, the design stops short of it: a retained edge (a wall, or a missing batter) with that height, fill when the design is above the ground. Where the edge ties in, the triangle behind it decides: a near-vertical face (steeper than 250 %, how Civil 3D models walls) is a retained edge, a batter face (30–250 %) a batter, and anything flatter a natural tie-in. Their height is the design level at the edge minus the nearest flat (platform) level; cut means the ground rises above the platform. Consecutive edges of the same type, side and height band form one run. Internal steps are connected near-vertical or batter faces that do not reach the footprint edge, such as a wall between two terraces; each has its height (level range), length and position. The schedule gives the length in each height band (default limits 1 to 7), the total, the maximum height, and the length and face area over 1 vertical unit. Heights come from the model, so confirm wall types and heights against the drawings.

Surface styles and Surface Classes

Surfaces can be coloured by elevation, slope (%, with vertical units converted), cut/fill depth (needs an existing-ground surface) or aspect (downhill bearing). A style is short text: a preset name (slope gives the platform classes flat < 2 %, sloping, batter and near-vertical; depth the cut/fill bands −5 to 5; elevation nine equal classes); attribute: break, break, … for your own class limits; elevation: equal 12 or quantile 6 for classes from the data; an optional | colours list or palette name (cut_fill, slope_classes, terrain, greys, aspect); or plain #rrggbb for one colour. Surface Classes writes one styled polygon per class with its plan area. Elevation and depth vary linearly on each triangle, so their bands are cut exactly at the class limits (the depth-band areas equal those of Grading Quantities); slope and aspect belong to whole triangles.

Site Grading Report

Site Grading Report writes one HTML page for a site from its design and existing-ground surfaces: exact cut, fill and net volumes, a plan map for each style in Plan map styles (default depth; slope) with the daylight line and platform labels and each class's area, the platforms with their levels and falls, the edge schedule and internal steps. Each part gives the same results as the single tool. Print the page to PDF from a browser.

Export 3D Scene

Export 3D Scene and Viewer (Site Grading) writes a folder with scene.json, binary PLY meshes and viewer.html, the plugin's offline 3D viewer (platform labels appear as callouts beside the model). The design surface is coloured by its style (default depth) and the existing ground around it, to the context margin, by its own (default plain grey-green); ground under the design is left out. Daylight lines, platform outlines, retained edges and batters, road centrelines at their profile level (clipped to the scene area; roads are conceptual and are not cut into the terrain), platform labels with levels and your own labels (text @ x, y [, lift]) are added, with camera views written as name: dx, dy, dz, the direction from the site towards the camera. Coordinates are in the output CRS, relative to the scene origin; the vertical exaggeration is a suggestion for the renderer. Each PLY vertex holds x, y, z, depth and the style colour. tools/render_scene.py (developer tool, PyVista) renders a scene to PNG images.

Export 3D Scene and Viewer

Export 3D Scene and Viewer (Reports and sheets) renders an area in 3D for road or site work. Choose what to show:

A3 sheets. Set up the view you want in the viewer, then in the panel's A3 sheet section give a title, the project / drawing number / revision and any notes (one per line). Save A3 PNG writes the sheet at 200 dpi; Print / PDF opens the browser's print dialog set to A3 landscape without margins (choose Save as PDF for a PDF). The sheet has a single border, the title box bottom right, and a column with the north arrow, legend and notes beside the model, so they never cover it; the view is fitted to the design (or to everything shown when there is no design) inside its viewport, keeping your viewing direction.

On a phone or tablet, open the same viewer.html (send the scene folder, or put it on a shared drive): the model fills the screen and ☰ Layers and tools opens the panel as a sheet from the bottom. One finger rotates, two fingers pinch to zoom and pan, and a tap reads the surface. For phones, keep scenes under about 1.5 million triangles (Triangle budget, under Advanced).

The output folder holds scene.json, a PLY mesh per surface and viewer.html, which the site-grading scene export writes as well. The viewer is built into the plugin (plain WebGL, no libraries, no internet connection) and opens in any current Chrome, Edge or Firefox; send the single file to anyone. Drag to rotate, right-drag or Shift-drag to pan, use the wheel to zoom. The side panel switches surfaces and line types on and off and sets surface opacity, changes the vertical exaggeration, jumps to the saved views (and a plan view), shows the current view as text to paste back into the tool's Views, and saves a PNG at screen size or 2 or 3 times larger with the legend and a compass beside the model. Click a surface to read its coordinates, level and, for a surface drawn over another, its cut or fill. The compass turns with the camera. Labels are callouts in columns beside the model, joined to their points by leaders; station labels sit at their points and are skipped where they would overlap.

Finished road and drive-through. Style the finished-level surface as road: carriageway width, shoulder width, lanes, for example TOP = road: 7, 1.5, 2. The viewer paints it from each point's station and offset from the alignment (the corridor alignment, or the first alignment with a profile): asphalt with edge lines and dashed centre and lane lines, shoulders, verges, and side slopes where they are steeper than 30 %. Every alignment with a profile becomes a drive path: in the viewer's Drive through panel, pick the path, drag the station slider or press Play (30, 50 or 80 km/h) to move along the road at eye height; tick Record video to save the drive as a WebM video. Dragging the view or choosing a view leaves the drive. A link ending in #drive=0.4 opens the drive 40 % along the path.

Synthetic corridor (feasibility). Where an alignment has a vertical profile but no corridor yet, enter its name in Synthetic corridor along alignment. The tool builds a concept road on the profile: a carriageway with the given crossfall, shoulders, and side slopes in cut or fill (horizontal per 1 vertical) that run out to the ground, the first LandXML surface or raster in the scene, so an OGL or a DEM can serve. The concept road is painted as a finished road, cuts the ground under it, and can be driven. The log gives approximate cut and fill volumes and lists stretches where the slopes do not reach the ground within the longest slope, which usually means a structure, and the volumes with those stretches left out. With a DEM as the ground, the tool compares it with the alignment's surveyed ground profile, if the file has one, and reports the median difference; a steady difference of several metres is usually a vertical datum difference (satellite DEMs are often in ellipsoidal or EGM heights). Tick Synthetic: shift DEMs to match the alignment's surveyed ground profile to remove it. Several alignments can be given, separated by semicolons. Ground names the surface or DEM the side slopes run out to; list more than one, separated by commas, and the later ones fill in where the first does not reach (graded platforms first, then the existing ground, for instance). It is a study aid, not a design: no superelevation, widening, drainage or structures.

Concept structures. Where the side slopes of a synthetic corridor do not reach the ground, the tool draws a bridge (deck, parapets, piers at the given span, abutments) and leaves that stretch out of the earthworks. Culverts come from a schedule: a CSV file, or entries typed in such as 1+250 = box 3 x 2.0 x 2.0; 1+840 = pipe 2 x 0.9, skew 15; 1+364-2+293 = bridge, span 25. The CSV needs a chainage column; the tool also reads these headings, in any case and with or without units: site / id / name, type (box, pipe or bridge; other words mean a box), cells / barrels, span / cell_b_m / width, rise / cell_d_m / height, diameter (millimetres above 20), skew (degrees), invert_in / invert_out and end_chainage for bridges. The log lists the columns it used and those it ignored, so check it when your schedule has different headings. The schedule is drawn, not designed: nothing is sized or checked hydraulically. A culvert without 0.6 m cover under the road is drawn lower, with a warning to raise the grade or lower the invert. Low points of the ground under 1.5 m or more of fill with no structure within 50 m are listed as possible crossings. A bridge row sets its layout with span 25 (piers about every 25 m), spans 7 (seven equal spans) or piers 1+500 1+640 1+780 (piers at those chainages); in a CSV use span, spans or piers columns. A scheduled bridge replaces the automatic one it overlaps. Each structure gets a callout label and a view in the viewer; viewer.html#view=C3 opens it directly.

Ground at the structures. A satellite DEM smooths small valleys away, which can bury culverts. Tick fit DEMs to the surveyed ground profile along the road when the alignment carries a ground profile (a ProfSurf, such as the OGL long section): the DEM is corrected to it on the centreline and the correction fades out over the given width each side. Cut a channel into the ground at each culvert (on by default) lowers the ground along each barrel to its inverts, as wide as the structure, rising gently for 30 m beyond the headwalls, so the openings show. Both change only the scene, not the earthworks volumes, which are always measured against the ground as given.

Long roads. The Along the road panel shows the drive paths on a small plan: click it, or type a station such as 12+350, to look at that part of the road from its side. A corridor longer than one and a half stretches also gets a view for every stretch (Long corridors: a view every, default 1,000). Links ending in #station=12+350 open at a station; #drive=0.3&play starts a drive.

Water and buildings. Water levels (EG = 1945.5; Pond = 1950) draws flat water over the parts of a surface below each level, with an exact shoreline. Polygon layers in Other line or polygon layers are raised to solids by the height field named, or by a fixed height, standing on the lowest ground along their outline.

Before and after. Where a design is drawn over the ground, the ground under it is kept hidden; the Before / after buttons switch between the existing ground and the design. Alignments hidden by the ground (in cuts) are drawn faintly through it.

The format of scene.json is described in landxml/scene.py, so other renderers can read the scenes; tools/render_scene.py renders them with PyVista for batch images (a developer tool, not needed by the plugin).

16Cross-Section Sheets and Report

Plots corridor sections as multi-page PDF sheets (A4, A3 or A1; 1–12 sections per sheet) with a title block and legend, an HTML report with a section table and drawings, and one PNG per section. A station range and interval select what to plot, for example every 50 m between 10000 and 12000.

Section sheet
Figure 15. An A3 sheet with 12 sections across a fill-to-cut transition: ground and design, shaded cut and fill, pavement layers, Datum, slope ratios (red when steeper than the stabilisation limit), daylight offsets, FRL/EG levels and areas.

17Road Design Report

Road Design Report writes one HTML page per file with a section per alignment. Print it to PDF from a browser for a paginated report; each alignment starts on a new page.

Report summary
Figure 16. The report opens with a table of its alignments (chainage, length, design speeds and review findings), followed for each alignment by summary cards: length, chainage, curves and spirals, minimum radius, maximum grade, minimum crest and sag K, design speed and maximum superelevation.
Plan
Figure 17. Schematic plan: lines, curves and spirals in different colours with chainage ticks, north arrow and scale bar. Choose whether the file stores northing first.
Curvature
Figure 18. Curvature diagram (1000/R, right positive) with radius labels and spiral transitions.
Gradient
Figure 19. Gradient diagram with grade labels and crest/sag curve bands.
Superelevation
Figure 20. Superelevation diagram of both lanes from the transition stations and rates in the file. The normal crown is an input because LandXML does not store it.

The report also tabulates horizontal elements, vertical controls and superelevation transitions. Long alignments are split into strips (default 5,000 m per row). Select a Design standard to add the geometric design review (Part D) to each alignment.

Part DGeometric design review

Check the horizontal and vertical alignment, superelevation and roadside against a design standard, and get computed changes to apply in the design software.

18What the review does

Geometric Design Review reads the alignment, design profile, existing ground, superelevation, design speeds and corridor sections from the LandXML, applies the tables of the selected standard, and reports each problem with its location, the value found, the value required, the table it comes from and a recommendation. Where a fix is a profile change, it computes new PVI stations, elevations and curve lengths.

The review is limited to geometric design under the designer's control: alignment, profile, superelevation, side slopes and the design-speed plan. Pavement, drainage, structures, intersections and traffic operations are out of scope.

A design aidThe review flags and quantifies; it does not approve a design. Treat each recommendation as a starting point for the designer and record any Departure from Standards in the usual way.

19Running a review

Review dialog
Figure 21. The Geometric Design Review dialog with the help panel.
ParameterMeaning
Design standardKenya RDM 1.3 (2025) (default) or AASHTO 2018. See section 25.
Custom criteria fileA JSON criteria file that overrides the standard.
Design speed (0 = from file)0 follows the speeds recorded in the file (recommended). A value applies one speed to the whole road.
Design speed by chainageOverrides the file, e.g. 0-5000:60; 5000-:80.
Terrain, Road typeSelect the maximum-grade row (flat, rolling, mountainous, escarpment; rural or urban).
Maximum superelevation e max4, 6 or 8 %, plus 10 % for AASHTO. The 10 % option uses Table 3-11: 15–80 mph for US customary and 20–130 km/h for metric. Other standards reject unsupported selections.
Maximum grade overrideRequired for AASHTO grade checks (AASHTO limits depend on road class).
Apply profile fixes … at most (m)Fixes changing any level by more than this are reported but not applied to the recommended profile (default 1 m).
Use corridor cross-sectionsEnables barrier warrants and sight distance on curves.
Section surfacesGround and design section surfaces (blank = detect).
OutputsFindings table, findings as map points (created by default; needs an output CRS and the same coordinate interpretation as your other layers), HTML report with a banded long section, plan and profile sheets (A3 PDF), recommended profile as Civil 3D text (to apply) and as a comparison LandXML, and a changed-PVI CSV.
Review summary
Figure 22. Review summary: findings by severity and category, and the number of profile changes applied to the recommended profile.
SeverityMeaning
HighBelow an absolute minimum or a safety requirement: stopping sight distance, minimum K or radius, barrier warrant, abrupt speed change, hidden curve.
MediumBelow a desirable or standard value, or needing an engineering assessment.
LowAesthetic or advisory: appearance of the alignment, preferred values, short sections.

20Design speed and speed changes

Most checks depend on design speed, so the review follows the speeds recorded along each alignment: Civil 3D SpeedStation features (set in Alignment Properties → Design Criteria before export) or Roadway DesignSpeed records. Where two speeds share a station, the later entry applies, as in Civil 3D.

Speed sections
Figure 23. Design speed sections of the demo road: 80 km/h then 60 km/h from CH 1+900.

The speed plan itself is checked (Kenya RDM 1.3 §3.10.3, §5.5, §5.14):

CodeCheck and recommendation
D1Speed step above 20 km/h (high), or 10–20 km/h (low; acceptable but not preferred). The recommendation lists intermediate sections in 10 km/h steps with chainages, placed on the faster side so the slower section's design remains valid, e.g. "90 km/h over 0–1,000; 80 km/h over 1,000–2,000; 70 km/h over 2,000–3,000".
D2A transition section shorter than 1 km, or a short section between two sections of the same speed (speed oscillation). A short faster section should be merged; elements in a short slower section should be designed for the approach speed.
D3A curve sharper than the faster speed allows within 1 km after a speed reduction (in either direction of travel). Move the speed change, add an intermediate section or increase the radius.

21Checks and finding codes

CodeCheckKenya RDM 1.3 reference
V0Grade change without a vertical curveTables 6.1, 6.3, 6.4
V1Crest or sag K below minimum (with the length needed)Table 6.1 (crest), Table 6.4 (sag)
V2Vertical curve shorter than the minimum length, including small grade changes (A < 0.5 %: L ≥ 2V)Table 6.3, S7.3
G1–G2Grade above the absolute or desirable maximum for terrain and road typeTable 6.5
G3Grade longer than its critical lengthTable 6.6
G4Grade flatter than 0.5 % in cut (drainage)S6.5.4
S1Stopping sight distance along the profileTables 3.13, 3.16
S2Sight distance on horizontal curves blocked by cut slopesTable 3.16
H0–H1Radius below the absolute floor or the minimum for speed and e maxS5.8, Table 5.1
H2–H3Missing transition spiral, or spiral parameter A too smallTable 5.8, Eq. 5.4
H4–H5Curve too short, or too longTable 5.5
H6Broken-back curves (short straight between same-direction curves)S5.6, S7.8
H7–H8Short straight between reverse curves; long straightTable 5.4
H9Isolated sharp curve after a long straight (needs 1.5 × minimum radius)S5.4
E1–E3Superelevation missing, below the required rate, or above e maxTables 5.9–5.11
E4Superelevation run-off too shortTable 5.7, S5.9
E5Combined grade √(g² + e²) too steepS6.5.3
P1–P7Alignment phasing (section 22)Chapter 7
R1Embankment barrier warrant (section 23)S12.6.5, Figure 12.4, Table 12.6
D1–D3Design speed changes (section 20)S3.10.3, S5.5, S5.14
Findings table
Figure 24. Findings table (first rows), grouped by category: severity and code, chainage range, issue and detail, recommendation and the criteria reference.

22Alignment phasing and recommended PVIs

Phasing compares horizontal and vertical curves so the road reads clearly to drivers and looks right. Following RDM 1.3 Chapter 7, the review reports:

CodeSituation
P1The start of a horizontal curve is hidden beyond a crest, within stopping sight distance of the crest: the driver cannot see the change of direction in time.
P2A crest or sag overlaps both ends of a horizontal curve without matching it.
P3A vertical curve overlaps only one end of a horizontal curve.
P4A short crest inside a sharp horizontal curve.
P5Horizontal and vertical curves separated by less than max(SSD/2, 30 m): separate them further or make them concurrent.
P6Rolling grade line: a crest and a sag within one horizontal curve; keep a constant grade through the curve.
P7Crest and sag without the 60–100 m of constant grade between them (rolling grade line).
Phasing diagram
Figure 25. Phasing diagram: horizontal curves (left purple, right teal, light ends = spirals) above vertical curves (crest orange, sag green) on a common chainage; dashed boxes mark phasing findings.

How fixes are computed

For each phasing, K or curve-length finding the tool tries these profile changes and keeps the feasible one that changes levels least:

  1. One end coincident: change the vertical curve length so one end meets the horizontal curve's start or end (only when the horizontal curve is not sharp, R ≥ 1.5 Rmin).
  2. Separation: shorten the vertical curve to clear the horizontal curve by at least max(SSD/2, 30 m) (not used for hidden curves, P1).
  3. Both ends coincident: move the PVI to the middle of the horizontal curve and match its length; the preferred arrangement in Chapter 7.

Each candidate must meet minimum K, avoid overlapping neighbouring curves and stay within grade limits. Fixes that change any level by more than the cap are reported with the change they need (redesign that section) and are not applied.

Recommended PVIs
Figure 26. Recommended PVIs with changed rows marked ●: station, elevation, curve length and grades.

Long section and plan & profile sheets

The report draws a banded long section for each window of Sheet and long-section window length (default 1,000 m): the design profile, the recommended profile dashed where fixes apply, the existing ground, changed PVIs, and every finding as a numbered marker over its shaded chainage range. Below the profile, the bands show the design speed, the horizontal curves (left above the line, right below), the vertical curves (crest above, sag below) and the tangent grades. Horizontal and vertical curves sit in adjacent bands on one chainage, so their phasing reads directly; phasing findings (P1–P7) are outlined across both bands. Finding numbers are the same in the findings table, the finding_no field of the findings layer, the report and the sheets.

Long section
Figure 27. Banded long section in the review report: profiles and numbered findings, then design speed, horizontal and vertical curves (phasing findings dashed) and grades.

Plan and profile sheets (A3 PDF) puts one window on each A3 landscape sheet: a plan strip of the alignment with chainage ticks and the numbered findings beside it, the same banded long section with a findings lane that stacks overlapping ranges, and a table of the findings in that window (highest severity first; any beyond the table are counted and listed in the report). The plan is schematic and rotated so each window runs left to right; the north arrow shows grid north of the source coordinates. With an output CRS the chosen coordinate interpretation decides the X/Y order; without one, northing-first files are detected for the drawing only. Each sheet has a single border, a floating legend, notes, and a title box at the bottom right with the alignment, chainage range and sheet number.

Plan and profile sheet
Figure 28. A plan and profile sheet of the demonstration road (first 1,000 m).

23Safety barriers and sight on curves

Barriers (R1). From each corridor section the tool measures, on each side, the embankment height from the shoulder edge (the hinge, where the design line first falls more steeply than 1:10) down to the existing ground at the toe, where the design line meets the ground, and the side-slope ratio from hinge to toe. A toe drain, bench or wall beyond the toe does not change either value. Under RDM 1.3 a barrier is warranted where the fill is at least 6 m high and steeper than 1:3 (the example stated with Figure 12.4); fills of 3–6 m steeper than 1:3, and fills of 6 m or more with slopes between 1:3 and 1:4, are reported for assessment against the chart. Adjacent sections are grouped into runs, and the recommendation gives the barrier extent per side with the run-out length of Table 12.6 added at each end.

Barrier schedule
Figure 29. Safety barrier schedule by side, with the extent including run-out.

Sight on curves (S2). On horizontal curves the review computes the sight-line offset needed for stopping sight distance and checks whether existing ground beyond the cut daylight line rises above the sight line (at the height set by the standard) on the inside of the curve. Only ground beyond daylight counts, so excavated material does not create false obstructions.

Figure 12.4The barrier warrant chart in RDM 1.3 is an image; only its stated example is encoded. Treat findings near the thresholds as prompts for engineering judgement.

24Taking recommendations back to Civil 3D

The recommended profile is written in three forms, each for a different job. The profile files are complete profiles: the original PVIs with the applied changes, so the PVI count does not change.

ToUse
Apply the fixes to the design alignmentThe text file, with Create Profile from File on that alignment (below).
Compare the design and recommended profilesThe comparison LandXML. Civil 3D imports it as a new alignment, named … (review), carrying both profiles.
See which PVIs changedThe changed-PVI CSV: PVI number, old and new station, level and curve length.

Text file for Create Profile from File

0.000 1514.500
615.000 1513.275 210.000
820.000 1513.369 200.000
1240.000 1499.818 140.000
…
3020.000 1525.166
  1. In Civil 3D choose Home → Profile → Create Profile from File.
  2. Select the alignment and the .txt file. Each line is station, elevation and, for intermediate PVIs, the parabolic curve length.
  3. Compare the new profile with the original in the profile view; adjust and re-export to review again.

Comparison LandXML

The comparison LandXML holds a copy of the alignment geometry, renamed … (review), with two profiles: the design profile under its own name and the recommended profile named … recommended (standard). Civil 3D's Insert → LandXML import always creates new alignments, so importing this file into the design drawing gives a separate review alignment rather than changing the design one. Draw both of its profiles in one profile view to compare them, or load the file into the Profile Viewer. Do not superimpose the review alignment's profile onto the design alignment to apply the fixes: use the text file for that.

Changed-PVI CSV

One row per PVI whose station, level or curve length changed, numbered from 1 along the profile as in Civil 3D's PVI table, with old and new values. Check it against the recommended PVIs table in the report before applying the text file.

IterateRun the review, apply the changes you accept in Civil 3D, export again and re-run. Findings that need more than the level-change cap are a sign that the section needs redesign rather than adjustment.

25Design standards and custom criteria

Two standards ship with the plugin as editable JSON files in its criteria folder:

To use another standard, copy one of the files, change id and name, edit the tables and select it as Custom criteria file. Tables keyed by design speed are interpolated linearly between tabulated speeds and held constant beyond the ends. Only metric criteria are accepted.

KeyContent
ssd, ssd_by_gradeStopping sight distance by speed, optionally by grade.
eye_height, object_height, sightline_heightHeights for sight-distance checks.
k_crest, k_sag, min_vc_lengthVertical curve minimums.
max_grade, max_grade_length, min_grade_percentGrade limits by road type and terrain; critical lengths.
min_radius, side_frictionMinimum radius by e max, or computed from side friction.
superelevation_ratesRequired rate by radius and speed for each e max (NC, RC or a rate).
runoff_min, transition_required_radius, spiral_a_coefficientRun-off and transition rules.
tangent_min_factor, tangent_max_factor, same_direction_tangent_minStraight lengths.
crest_sag_gap, small_grade_changePhasing and small-grade-change rules.
barrierWarrant height and slope, assessment band, run-out by speed, minimum length.
speed_changePreferred and maximum speed steps, minimum transition length.
referencesTable numbers printed with each finding.

Part ETechnical reference

How results are computed, what each output contains, what LandXML content is supported, and how the plugin has been validated.

26Computation methods

Stationing

Chainage is true arc length along lines, circular curves and clothoid spirals (curvature varying linearly with length). On a 36 km test alignment the end chainage matches the declared length to 0.1 mm; earlier chord-based stationing drifted by 0.33 m.

Profiles

Design profiles are evaluated from PVIs and symmetric parabolic curves: z = zVPC + g1x + (g2 − g1)x²/2L. K = L / |A| with A in percent. Existing-ground profiles are linear between points; gaps in coverage are kept as gaps.

Earthworks

Section areas come from the polygon between the ground and design lines (to the Datum where used). Volumes use average end areas, V = (A1 + A2)/2 · d, between sections no farther apart than the maximum spacing. The mass-haul ordinate is the running sum of factored cut minus fill. Side-slope areas are the sloped lengths from hinge to daylight, averaged between adjacent sections and multiplied by their spacing.

TIN rasterization and difference

Each cell centre takes the elevation of the visible triangle containing it, by barycentric interpolation. TIN difference grids both surfaces on the same cells and sums (compare − base) × cell area over cells where both exist.

Exact volumes from a volume surface

With depths sorted a ≤ b ≤ c and plan area A, a triangle's signed volume is A(a + b + c)/3. When the depth changes sign, the sub-triangle at the lone vertex has plan fraction (a/(a − b))(a/(a − c)) and volume A·fraction·a/3 (using c for a lone positive vertex), which gives cut and fill separately. The plan fraction below a depth t is (t − a)²/((b − a)(c − a)) for a < t ≤ b and 1 − (c − t)²/((c − a)(c − b)) for b < t < c, which gives exact depth-band areas.

Stopping sight distance on the profile (S1)

The profile is sampled every 2 m. From each station, in both directions, the line from the driver's eye (eye height above the road) to an object (object height) is extended until the road surface rises above it; the distance reached is compared with the SSD required at that speed and grade.

Superelevation lookup

For each curve the required rate is read from the table for the chosen e max, using the next smaller tabulated radius and the next higher speed column (the conservative reading); NC and RC mean normal crown and reverse crown. Where a standard has no table, e = V²/127R − f.

Barrier warrant

Fill height is measured from the shoulder edge to the toe of the embankment; the side-slope ratio is horizontal over vertical between them. Runs of warranted sections are merged and extended by the run-out length.

27Output layers and fields

Design review table and map points

FieldContent
alignment_nameAlignment.
severity, category, codeHigh/Medium/Low; Vertical, Grades, Sight distance, Horizontal, Superelevation, Phasing, Roadside safety, Design speed; finding code.
sta_start, sta_end, from_label, to_labelChainage range (numbers and formatted labels).
sideleft/right for barriers and curve sight.
issue, detail, recommendation, referenceText of the finding and the criteria table.
value, requiredValue found and value required (units as stated in the detail).

Profile Cut/Fill station table

alignment_name, design_profile, ground_profile, station, station_label, kind, design_elev, ground_elev, depth (design − ground).

Corridor quantities table

station, section_name, ground_surface, design_surface, cut_area, fill_area, centre_depth, left_daylight, right_daylight, left_hinge, right_hinge, fill_slope_len, cut_slope_len, steep_len, datum_used, and one m_<shape> area field per corridor shape.

Side-slope polygons

side, kind (fill/cut/mixed), sta_start, sta_end, fill_slope_area, cut_slope_area, steep_area, plan_area.

28Supported LandXML content and limits

ElementSupport
Surface/Definition (TIN)Points and faces; invisible faces excluded; several surfaces per file.
SurfVolumeRecorded Civil 3D volumes shown beside TIN difference results.
Alignment/CoordGeomLine, Curve, clothoid Spiral. Other spiral types and disconnected elements are reported, not drawn.
ProfAlignPVI and ParaCurve. Circular vertical curves are reported as unsupported.
ProfSurfExisting-ground and other surface profiles, with gaps.
CrossSectsAbsolute PntList3D and station-relative PntList2D sections; DesignCrossSectSurf shapes, links and Datum.
SuperelevationTransition stations and full rates (two-lane rotation about the centreline assumed).
Feature name="SpeedStation", Roadway/DesignSpeedDesign speeds by station.
Breaklines, feature lines, PlanFeaturesGeometry with names, codes and IDs; PlanFeatures from their CoordGeom.

Not supported: decreasing station progression and specialized railway posting, pipe networks, COGO points and plan features, DWG/DGN files, curvature correction of volumes, intersection and passing sight distance. XML is parsed with a hardened parser that refuses DTDs and entity expansion.

Large files. TIN point, face and contour blocks are not loaded into memory when a file is opened; they are read from disk in blocks when a surface is needed, and the grading tools read existing ground only around the design area. A 1.7 GB Civil 3D export with two 3.3 to 3.5 million point surfaces opens in about 15 s with little memory, and design minus existing ground for a site takes about 30 s. A file opened several times during one run is parsed once. Surfaces of large files (point blocks of 16 MB or more) are kept as binary copies in the system temporary folder (LandXMLTools/tin-cache, at most 4 GB, oldest removed first), so the next run on the same unchanged file reads them in about a second; set the QGIS setting LandXMLTools/tinCache to false, or the environment variable LANDXMLTOOLS_TIN_CACHE=0, to turn this off. Deleting the folder is always safe. The vertical unit is read from verticalLinearUnit, or from elevationUnit when only that is present.

29Validation

Project names are withheld; the validation notes are in docs/earthworks-validation.md in the repository. Validation of the plugin is not survey-control validation of a particular project: check placement and levels against control.

30Quality-control checklist

31Troubleshooting

SymptomCheck
Geometry in the wrong place or mirroredCoordinate interpretation (Civil 3D usually needs Swap X / Y), offsets, CRS.
"Unit does not match the CRS"Choose an output CRS in the unit the file declares (metres, feet or US survey feet).
Alignment element skippedThe element does not match its declared length or connect to its neighbour; check the export.
No cross-sectionsThe export has no sample-line sections, or only template data. Run Inspect LandXML.
Section surfaces not identifiedEnter the ground and design section surface names from the dropdowns.
"The file records no design speed"Define design speeds in Civil 3D before export, or enter a speed or ranges.
Very many findingsCheck that the design speed and terrain match the road; use speed ranges where terrain changes. Read the category summary first.
Grade checks missing under AASHTOEnter a maximum grade.
Cannot find the Profile ViewerIt is not in the Processing Toolbox: use Plugins → LandXML Road & Terrain or the plugin's toolbar button; the panel opens along the bottom of the window.
Report PDF shows a file path at the top or bottom of each pageUntick Headers and footers in the browser's print dialog; the report prints its own title and page numbers.
Profile Viewer opens the wrong fileUse Open… in the dock; layers from other sources are remembered per layer.
Complete Road Design stopsThe GeoPackage already exists; choose a new folder.

ACriteria tables

Key values of the bundled criteria files. The files contain further tables (superelevation rates, critical grade lengths, run-off) and the source of each value.

Kenya RDM 1.3 (2025)

Design speed km/h405060708090100110120
SSD, level (m) — T3.1640557085100120140165190
K crest — T6.151017304567100140185
K sag — T6.491419253240506070
R min, e max 6 % (m) — T5.15085130185265355465595755
Barrier run-out (m) — T12.6——55—85—105120—
Maximum grade % (desirable / absolute) — T6.5FlatRollingMountainousEscarpment
Rural3 / 54 / 66 / 87 / 9
Urban3 / 56 / 88 / 108 / 10

Other values: eye height 1.05 m, object height 0.2 m (T3.13); minimum grade 0.5 %; combined grade 10 %; straights 6V to 20V m (4 km at 100 km/h and above); same-direction straights ≥ 200 m; constant grade of 60–100 m between crest and sag; barrier warrant 6 m fill steeper than 1:3; speed steps ≤ 20 km/h (10 preferred) with ≥ 1 km transitions.

AASHTO 2018 (metric)

Design speed km/h405060708090100110120
SSD (m) — T3-1506585105130160185220250
K crest — T3-354711172639527495
K sag — T3-3791318233038455563
Side friction f — T3-70.230.190.170.150.140.130.120.110.09

Other values: eye height 1.08 m, object height 0.6 m; minimum vertical curve length 0.6V m; minimum radius from V²/127(e + f); default e max 8 %; barrier warrant thresholds are configurable defaults (3 m fill steeper than 1:3) without run-out lengths.

LandXML Road & Terrain GIS Tools is free software released under the GNU General Public License version 2 or later, without warranty. Civil 3D is a trademark of Autodesk, Inc.; OpenRoads Designer is a trademark of Bentley Systems, Incorporated. The design criteria summarise published standards for convenience; the source documents govern.