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:
QGIS 4 support, Inspect LandXML, explicit units and CRS handling, OpenRoads Designer terrain and breaklines, profile labels and map overlays.
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.
Name dropdowns and automatic surface choice, cross-section sheets (PDF/HTML/PNG), cross-sections in the viewer, and the Road Design Report.
Geometric Design Review against Kenya RDM 1.3 (2025) or AASHTO 2018: phasing, sight distance, curves, grades, superelevation, design speed changes and barrier warrants.
Recommended PVIs and curve lengths written as a Civil 3D "Create Profile from File" text file and as LandXML.
Design Surface from Shapes draws platforms, ponds, pits, stockpiles and mounds, terraces and golf features from polygons on a DEM or TIN; DEM to LandXML TIN converts any DEM to an adaptive TIN within a tolerance.
Plan Editor (PIs on the map, live curve fitting), Corridor Section Editor (lanes, shoulders, kerbs, footways, drains, medians, daylight with benches and walls, on the real ground), features (bus bays, climbing lanes, escape ramps, junction mouths), superelevation and widening from the standard, corridor LandXML, quantities and bill of quantities; export by stage for Civil 3D or OpenRoads.
Grading Editor: pads and graded lines (ramps, roads, bunds, swales) drawn on the map with a level at every vertex, benched batters, live cut and fill; built to LandXML for Civil 3D, GeoTIFF, DXF and a quantities report. A Workflow panel, DXF export and DEMs in any CRS.
Correct placement of station-relative cross-sections, hidden TIN triangles excluded, true arc-length stationing on curves and spirals.
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.
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.
| Toolbox group | Tools |
|---|---|
| 1. Inspect and prepare | Inspect LandXML · Prepare LandXML from Geometry and Terrains |
| 2. Road design extraction | Extract LandXML Alignments to Lines · Extract LandXML Profiles · Create 3D Road Centerlines · Extract LandXML Cross-Sections · Create Alignment Station Points · Export Complete Road Design to GeoPackage |
| 3. Terrain conversion | LandXML TIN to GeoTIFF · DEM to LandXML TIN |
| 4. Surface extraction | Extract TIN Surface Boundary · Extract LandXML Feature Lines · Extract LandXML Breaklines |
| 5. Earthworks and quantities | Profile Cut/Fill Analysis · Corridor Section Quantities · Surface Cut/Fill (TIN Difference) |
| 6. Design review | Geometric Design Review (Phasing, Sight Distance, Standards) · Load Review Comments (3D Viewer) · Answer Review Comments (3D Viewer) |
| 7. Reports and sheets | Cross-Section Sheets and Report · Road Design Report · Setting-Out Data · Export 3D Scene and Viewer (Roads and Terrain) |
| 8. Site grading (land development) | Design Surface from Shapes · Grading Quantities (Volume Surface) · Platform Levels and Falls · Basin Stage–Storage · Earthwork Balance (Volume Surfaces) · Grading Revision Comparison (Volume Surfaces) · Grading Edge Analysis · Surface Classes · Site Grading Report · Export 3D Scene and Viewer (Site Grading) |
| 9. Corridor design | Create Corridor Section Project · Build Corridor from Section Project · Export Design for Civil 3D or OpenRoads (by Stage) · Export Roads to LandXML · Export LandXML to DXF |
| Outside the Toolbox | Workflow panel, Plan Editor, Corridor Section Editor and Grading Editor docks, the LandXML Profile Viewer dock and the Pick Alignment Profile on Map button (menu Plugins → LandXML Road & Terrain) |
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.
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.
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 use | Include in the export |
|---|---|
| Terrain, DEM, contours, TIN difference | Surfaces (TIN). Civil 3D marks triangles hidden by a surface boundary as invisible; the plugin excludes them. |
| Alignments, stations, 3D centrelines | Alignments with their geometry (lines, curves, clothoid spirals). |
| Profiles, Profile Viewer, cut/fill | The design profile (layout profile) and the existing-ground surface profile of each alignment. |
| Corridor quantities, section sheets, barrier and sight checks | Sample-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 speed | Design speeds: in Civil 3D set them in Alignment Properties → Design Criteria (speed stations) before exporting. They are written as SpeedStation features. |
| Superelevation diagram and checks | Alignment 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.
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 interpretation | Use when |
|---|---|
| Use stored coordinates | The stored values are already easting, northing in the output CRS. |
| Swap X / Y | The 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 offset | A known translation (for example a false origin) must be added. |
| Swap X / Y + offset | Both of the above. |
| 2-D Helmert (similarity) | A known translation, rotation and scale relate the design grid to the map grid. |
| Reproject from source CRS | The 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.
Every dimensional Processing input states its unit basis. Desktop dialogs show actual units such as Table station interval [ftUS], Flag fills deeper than [ftUS] and Grid cell size [m], refreshed from the file, output CRS and explicit choices. Horizontal and elevation units remain distinct. Unknown units say unknown. Labels never convert existing numbers or defaults. Model/batch parameter IDs and numeric meanings are unchanged; station intervals/ranges use continuous internal source stations, while grades and slope ratios are unitless.
Section area labels identify the actual source horizontal × elevation units: matching feet display ft² or ftUS²; mixed or unknown elevations display ft·m or ft·unknown without changing numeric outputs.
Customary scenes render with physically correct elevation proportions; paths retain source station units after reprojection, with 100-foot station notation and mph driving speeds. Structure CSV headings can explicitly use _m, _mm, _ft, _ftUS, _in or _yd, including legacy DiameterMM. Plain spans use output horizontal units; rises/inverts use source elevation units. Bare diameters remain in those units: the old guess that a diameter above 20 meant millimetres has been removed. Add explicit headings to affected schedules. Concept structure covers, walls and parapets retain their physical sizes; mixed-unit road crossfalls, batters and edge face areas are converted explicitly.
For scenes, choose Vertical unit when absent from the file (or for raster-only scenes), and Raster elevation unit for DEMs lacking band-unit metadata. Declared band units take precedence per raster and are converted to the scene elevation unit. Unknown units are refused. These choices establish no vertical datum. Regenerate older scenes and section drawings to apply the corrected conversions and labels.
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.
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:
ProfSurf.Roadway, preferring the datum (bottom) surface for earthworks.SurfVolume) if the file records one.Turn terrain, alignments, profiles and sections into GeoPackage, GeoTIFF and 3D vector layers for mapping and analysis.
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.
| Parameter | Default | Guidance |
|---|---|---|
| Coordinate interpretation, Output CRS | — | As verified in section 4. |
| Alignment / TIN surface | blank = all | Pick from the dropdowns to limit the export. |
| DEM resolution | 5 | Pixel size in map units. Finer cells do not add detail missing from the TIN. |
| Contour interval | 5 | 0 skips contours. |
| Alignment segment length | 5 | Densification of curves and spirals. |
| Station interval | 20 | Station points at whole multiples of the interval. |
| Profile interval | 5 | Sampling of profile graph lines. |
| Include … toggles | on | Export 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 project | on | After 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. Schematic profile drawings appear below the exported project bounds in the output CRS. |
| Layer | Contents |
|---|---|
alignments | One line per alignment with length and start/end stations. |
alignment_elements | Each line, curve and spiral with direction, radius, curve and spiral length. |
centerlines_3d | 3D centreline over the range covered by the design profile. |
profiles, profile_controls | Schematic profile lines and source profile controls in the output CRS, stacked below the exported plan and terrain bounds. Station/elevation attributes retain source values and units. |
station_points | Points with station and bearing. |
cross_sections | Section lines (3D) for every sampled surface, placed along the alignment. |
feature_lines, breaklines | Design linework with source names, codes and IDs. |
surface_boundary | Outer edges of each TIN. |
*_DEM.tif, *_Contours.gpkg | Float32 DEM and contour lines (optional). |
Profile drawing placement. The longest profile is scaled to the larger exported project dimension. Drawings are stacked below all exported plan features and terrain, including the DEM grid, with a gap of 5% of that dimension. Profile controls, including a curve's VPI, count towards each drawing's bounds. Source station/elevation attributes and units are preserved; the plotted geometry is schematic. Placement considers this export, not unrelated layers already in the QGIS project. With profiles alone, the source alignment geometry provides the placement bounds. Without any plan geometry, a warning explains that the profiles retain station/elevation coordinates without a map CRS.
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.
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.
DEM to LandXML TIN (Terrain conversion) turns a DEM into a TIN surface in a LandXML file, for Civil 3D and for the tools here that read LandXML surfaces. The DEM must be in a projected CRS in metres or feet; levels are written in the CRS's length unit and the file declares that elevation unit. When the DEM does not declare its own elevation unit (Google GEM, FABDEM and ALOS GeoTIFFs do not), choose it: it is never assumed.
The log reports the points, triangles, their share of a full grid and the largest vertical miss at the cell centres. As a guide, on a hilly 15 × 15 km area the Google GEM 15 m DEM needed 38 % of a full grid's triangles at a 1 m tolerance and 90 % at 0.25 m. A DEM stored in whole metres (ALOS AW3D30, some SRTM products) is stepped, so a tolerance under half a metre keeps almost every cell; a DSM (ALOS) includes buildings and trees, so use a terrain model (FABDEM, a DTM) for ground.
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.
Extract LandXML Cross-Sections handles both forms found in LandXML:
PntList3D) keep their coordinates.CrossSectSurf/PntList2D offset–elevation pairs, as Civil 3D writes for sample lines) are placed along their alignment as 3D lines, one per sampled surface. Versions before 1.6 placed these at false coordinates.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.
Look at the design the way a reviewer does: long-sections and cross-sections on demand, earthworks quantities and report-ready drawings.
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.
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.
1200-1450; 2010-2030.
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.
The Design tab draws a new vertical profile on the long section, checks it against a design standard as you work, and saves it to LandXML for the other tools and for Civil 3D.
profile_advisories), and the text says so. Right-click an advisory marked ▸ to add that climbing lane, descending lane or escape ramp to the open corridor in the Section Editor. Click any item to show it on the chart.
ParaCurve), as the plugin reads them; K is the curve length for a 1 % change of grade. Stations and levels are in the file's own units.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.
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.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.
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.
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.
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.
Corridor Section Quantities works from the station-relative sections exported from sample lines.
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.
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.
Design Surface from Shapes (Site grading) draws a design surface from polygons on an existing ground, for feasibility studies and quick options before the detailed grading. The ground is a DEM (any raster GDAL reads, in a projected CRS) or a TIN surface in a LandXML file. Each polygon is one of these shapes:
| Shape | What it makes | Main attributes |
|---|---|---|
| platform | A flat pad at a level, with cut and fill batters out to the ground | level, cut_slope, fill_slope |
| basin | A pond or detention basin: a flat floor with side slopes up to the ground | floor, slope |
| pit | An open pit or borrow pit: benches of a set height, berms and steep faces down to a floor | floor, bench, berm, face |
| stockpile | A stockpile, mound, waste dump or bund: side slopes up to a flat top, given as a level or as a volume (the top is found to hold it) | top or volume, slope |
| terraces | Level terraces stepping down the smoothed ground, with short risers | step, riser |
| fairway, green, bunker | Golf features: smoothed ground, a raised green, a sunken bunker | window; height, slope; depth, slope |
Attributes on the polygons (any case: shape, level, floor, top, volume, cut_slope, fill_slope, slope, bench, berm, face, step, riser, height, depth, window, order, name) override the tool's defaults, so one layer can hold a whole site. Slopes are horizontal to vertical (2 = 1V:2H). Shapes are applied in order, each on the result of those before it, so a stockpile can sit on a platform.
The outputs are a LandXML file with the existing ground and the design surfaces, each shape's outline and daylight lines as feature lines, a design GeoTIFF and an HTML report of cut and fill per shape (bank volumes). The LandXML file goes straight into Grading Quantities, Platform Levels, Basin Stage–Storage, Grading Edge Analysis, the Site Grading Report and the 3D scene. The design is drawn on a grid (the cell size is chosen to keep it to about 250,000 cells unless you set it), so it is a concept, not a replacement for detailed grading.
The site-grading tools are in their own toolbox group, 8. 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.
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.
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.
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.
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.
When the surface covers more than the pond (a whole site's design surface, as Design Surface from Shapes writes), draw a basin area polygon around the pond, a little beyond its top of bank: only the triangles inside it are used, and the spill level is the lowest point on the area's edge. Without one, a surface whose lowest point is on its edge holds no water, and the tool says so.
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.
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.
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 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 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 (Roads and Terrain) (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).
name = style separated by semicolons, for example EG = plain #cfd8c4; FG = depth over EG; left empty, a finished design is shown as ground and road (below). A surface drawn over another shows its cut and fill against it, and the ground under it is left out so it cannot show through. Styles are those of Surface Classes.EG = 1; FG = 0.5, or one interval for all; every fifth contour is an index contour.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.
Walkthrough: existing terrain or a feasibility road. Existing terrain only: choose the LandXML surfaces (or DEM rasters), leave Generate a feasibility road unticked, pick an area (or leave it empty for the whole surface) and run; the setup summary at the top of the dialog reads "Terrain scene only". Feasibility road: tick Generate a feasibility road, choose the alignment(s) under Road alignment(s) to generate (each needs a design profile, or tick at grade to follow the ground), check the lane, shoulder and slope values in the summary, and leave Scene width at Auto unless you want a fixed strip. Culverts, bridges and piers go in the table under Structures table… (or a CSV). The Road, Plants and water and Models buttons show or hide those inputs; hidden inputs keep their values. A scene over 1.5 million triangles also writes viewer_phone.html, a lighter copy with the ground thinned for phones and tablets.
Waterways. Add line layers (a river or channel; a line drawn uphill is turned round so the water runs downhill) under Waterways to draw a water ribbon of the chosen Water width on the ground. The level never rises downstream and is flat across the strip, so on steep ground it can sit above one bank; it is a concept for scale and context, not a hydraulic water surface. For a level in a basin or valley use Water levels instead.
Vegetation. Add polygon layers (grassland, scrub) or point layers (single plants) under Vegetation. Style chooses Grass and shrubs (mostly grass clumps with about 15 % shrubs), Grass or Shrubs. Spacing sets the density (one plant per cell, jittered so it does not look planted); grass clumps are about as wide as the spacing. Height 0 is Auto (grass about 0.8 m, shrubs 1.8 m); a value sets the shrub height. Clear distance keeps plants away from roads and designs. The count is limited to a quarter of the triangle budget; raise the budget or the spacing if a message says the plants were thinned. Vegetation gives scale and a more natural scene; it is not a vegetation survey. In the viewer, Vegetation in the layers panel switches it off.
Other roads. Roads held in other LandXML files (Other roads: more LandXML files, in the same coordinate system and axis order as the main file) or in GIS or DXF line layers (Other roads: line layers) are built like a feasibility road: the road section from the Road settings, side slopes to the ground, cut into the terrain. An alignment with a design profile follows it; anything else follows the ground smoothed over 40 m, as a context road. Schedule culverts or bridges on them by name, for example A9 @ 0+238.1 = box 1 x 2.0 x 1.5. Every generated road can be driven in the viewer. The viewer file packs its meshes (losslessly) so it stays small; it needs a current browser.
Finished designs: nothing to fill in. A corridor already designed (in Civil 3D, OpenRoads or the Section Editor) only needs showing. Open its LandXML and leave LandXML surfaces and styles empty: when the file has an existing ground (EG, existing, ground, OG, survey...) and a finished surface (top, finished, FG, FRL, final, design...), the ground is drawn as ground and the finished surface as the road over it; datum and other layer surfaces (under the top) are left out, and the log says what was chosen. TOP = road (or road: design) paints the road from the design itself: the edges of the carriageway and shoulders come from its coded feature lines (Civil 3D corridor feature lines and this plugin's corridors: ETW/EOP, EPS/ESH, LANE), station by station, so widenings, lay-bys and tapers show as designed; a file without them gives the flat formation of the surface either side of the alignment (up to where it turns steeper than 15 %), with road: design, 2.5 setting the shoulders inside it (1.5 by default). The log gives the widths found. Leave Generate a feasibility road off: where a finished road surface already covers an alignment, no feasibility road is built over it (two road surfaces in one place would flicker).
Finished road and drive-through. To paint fixed widths instead, 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 generated road and 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, 80 or 120 km/h) to move along the road at eye height; tick Record video to save the drive as a WebM video. Camera changes the point of view: Driver (eye height of the chosen vehicle), Chase (a car or truck, chosen under Vehicle, drives the road and the camera follows behind and above it), Aerial follow, or Flythrough (a high camera sweeping from side to side along the road). The vehicle is a simple low-poly model for scale and movement, not a photo-realistic render; use a dedicated visualisation tool for that. Dragging the view or choosing a view leaves the drive. A link ending in #drive=0.4 opens the drive 40 % along the path; add &cam=chase (or aerial, fly) and &vehicle=truck to choose the camera and vehicle.
Three widths, three meanings. The surrounding terrain width is how much ground the scene shows either side; the total carriageway width (plus the shoulder width each side) is the road itself; the maximum batter search distance is how far the side slopes may run out looking for the ground. If you choose an extent, polygon or alignment area that leaves a generated road less room than half its section plus the batter search, the log warns with the stations affected; the area is not widened, because you chose it.
Feasibility road. Already have a proposed terrain? Add it under LandXML surfaces; nothing needs generating. Where an alignment has a vertical profile but no corridor yet, tick Generate a feasibility road and choose it in Road alignment(s) to generate. While the box is off, the road inputs are greyed out but keep their values, and the export is a terrain scene only; the log says so. Ticking it with no alignment chosen stops with a message, so an incomplete setup is not mistaken for a terrain scene. Scripts, models and history from earlier versions, which have no such box, still build the roads they name. 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; the log names the roads generated. Ground surface for road tie-ins 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). The lane count only places the lane markings inside the carriageway width; it does not change the width. It is a study aid, not a design: no superelevation, widening or drainage.
Alignments without a profile. An existing road you want for context (a highway the new road joins, a service road) usually has only a plan alignment. Tick alignments without a profile follow the ground (Advanced) and include it in the roads to generate: it is drawn on the ground, smoothed over 40 m, gets no automatic bridges, and the log says it is a context road, not a design. Without the option such an alignment stops the export with a message saying which box to tick, because levels are never made up silently.
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, skew (degrees), invert_in / invert_out and end_chainage for bridges. Put the unit in the heading when it is not the scene's unit (Diameter (mm), Rise_m, Span [ft], DiameterMM); a pipe or box over 15 m is refused with a note, since an unlabelled 600 is almost certainly millimetres. 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; depth 2.6, width 12 and deck 1235 to 1240 (fixed deck levels, for an existing bridge on a context road) set its deck. Piers can be scheduled one by one, 1+403 = pier 5.0 x 3.2, cap 9.0 x 2.5 (section across × along, pile cap side × depth or length × width × depth), or equally spaced, 1+403-2+203 = piers every 40, 5.0 x 3.2, cap 10.5 x 2.5; a later pier row at the same chainage overrides an earlier one, so pier groups can take their own sections. Start any entry with a road name and @ (A9 @ 0+238.1 = box 1 x 2.0 x 1.5), or add a road column, to give it to one road only; entries without a road apply to every road. CSV columns: pier width, pier length, pile cap, deck depth, deck level, deck width. Each structure gets a callout label and a view in the viewer; viewer.html#view=C3 opens it directly. Generated structures are marked proposed (layers Bridge deck (proposed), Piers and abutments (proposed); callouts Proposed bridge …): the viewer's Proposed structures switch hides or shows them all, each callout hides with its layers, and untick Road: bridges where slopes miss the ground to export without automatic bridges.
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. In Other layers, lines are draped, points become poles (the fixed height, or 6), and a layer with a CAD Layer field (a DXF opened in QGIS) is split into one toggle per CAD layer, coloured from its categorised style. Polygon layers are raised to solids by the height field named, or by a fixed height, standing on the lowest ground along their outline.
Ground styling. Existing ground, context surfaces and DEMs with a plain style are tinted by elevation with hillshading; the viewer's Ground section switches between that, the exported colours and grey, and draws contours that stay sharp at any zoom (the interval is chosen from the ground's range and can be changed; every fifth is heavier; tick to show them on the design too).
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).
The viewer is also where a design is reviewed. A reviewer needs nothing but the HTML file and a browser (offline, on a laptop or a tablet); the comments travel back in the file itself.
Moving around. Drag to rotate, all the way round and below the ground (to look at bridge soffits and cut faces); right-drag or Shift-drag to pan; Ctrl-drag (or middle-drag) to move up and down; the wheel zooms towards the cursor; double-click a surface to orbit around that point from then on. Keys: W A S D move, Q E down and up, arrows orbit and tilt, + − zoom, F fits the model, P plan view, ? lists them all. The panel's sections fold away (the viewer remembers which).
Section cut (✂ Section or X): a vertical cut across the road at the station nearest the view; the model beyond it is not drawn, so the cross-section through the ground, the corridor and its batters shows at the cut. [ and ] (or ◀ ▶ in the panel) step it 20 (100 with Shift); Other side looks the other way; a station can be typed.
Measure (📏 or M): click two points for the plan and slope distance, the height difference, the grade and the stations; Comment on it turns the measurement into a comment.
Comments. Give your name in the Review panel once. 💬 Comment (C) and click the model: a pin is placed with its station, offset, level and surface, and the card asks for a title, the comment, a category (geometry, drainage, safety, structures, earthworks, pavement, signs and markings, utilities, environment, other), a priority and a status (open, answered, resolved, closed). ↔ Stretch (R) comments on a length of road: click its start and its end, and the stretch is drawn along the road. Every comment keeps the view it was made in (View flies back to it; Use this view replaces it, the section cut included). Sketch on the view freezes the view and lets you draw over it (pen, arrow, box, text, four colours); the sketch is kept with the comment. Pins are coloured by status and numbered; the list filters by status and category, searches, and sorts by number, station, priority or latest change; N and B step through them. Replies build a thread under each comment, each signed and dated, and a reply can change the status. Undo and redo cover every comment change.
Nothing is lost. Give your name first (the box asks for it when you place a comment without one; comments made before take it when you type it). Comments are kept in the browser as you type, and offered again when the same page is opened. Save reviewed copy downloads the page with the comments in it (named after the reviewer and the date): that is the file to send back. Saved views travel with it too.
Several reviewers. Merge… brings in other reviewed copies (or a JSON export): comments are matched by their id, the newer version of each is kept and all the replies are united, so the same copy can go round several times. Report opens a printable review report (summary by status, priority and category, then every comment with its location, sketch and replies; print it to PDF), CSV the comment register for Excel, JSON the raw data.
In QGIS. Load Review Comments (3D Viewer) (6. Design review) reads one or more reviewed copies, merges them, and writes the comments as 3D points, the stretches as lines (in the scene's CRS, or the one you choose), a CSV register and, optionally, one merged page. The layer has empty reply and new_status fields: answer in the attribute table, then Answer Review Comments (3D Viewer) writes your replies (signed with your name, dated, with their status changes) into a new copy of the page for the reviewers' next round. Reviewed copies are never changed.
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.
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.
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.
Setting-Out Data (Alignment and Feature Lines) (Reports and sheets) turns an alignment in any LandXML (a Civil 3D or OpenRoads design, or a corridor built here) into setting-out sheets, as an Excel workbook, an HTML report and a CSV of points for a total station or data collector (point, easting, northing, level, description):
Coordinates are the file's, in its CRS and unit, easting before northing in the tables; choose the axis order the file stores. Positions are computed on the alignment densified to 0.25 m, good to the millimetre, and bearings to about a second. The workbook's Notes sheet records the source, CRS, units and profiles. Check against the drawings and the survey control before setting out.
Check the horizontal and vertical alignment, superelevation and roadside against a design standard, and get computed changes to apply in the design software.
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.
| Parameter | Meaning |
|---|---|
| Design standard | Kenya RDM 1.3 (2025) (default) or AASHTO 2018. See section 25. |
| Custom criteria file | A 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 chainage | Overrides the file, e.g. 0-5000:60; 5000-:80. |
| Terrain, Road type | Select the maximum-grade row (flat, rolling, mountainous, escarpment; rural or urban). |
| Maximum superelevation e max | 4, 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 override | Required 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-sections | Enables barrier warrants and sight distance on curves. |
| Section surfaces | Ground and design section surfaces (blank = detect). |
| Outputs | Findings 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. |
| Severity | Meaning |
|---|---|
| High | Below an absolute minimum or a safety requirement: stopping sight distance, minimum K or radius, barrier warrant, abrupt speed change, hidden curve. |
| Medium | Below a desirable or standard value, or needing an engineering assessment. |
| Low | Aesthetic or advisory: appearance of the alignment, preferred values, short sections. |
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.
The speed plan itself is checked (Kenya RDM 1.3 §3.10.3, §5.5, §5.14):
| Code | Check and recommendation |
|---|---|
| D1 | Speed 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". |
| D2 | A 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. |
| D3 | A 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. |
| Code | Check | Kenya RDM 1.3 reference |
|---|---|---|
| V0 | Grade change without a vertical curve | Tables 6.1, 6.3, 6.4 |
| V1 | Crest or sag K below minimum (with the length needed) | Table 6.1 (crest), Table 6.4 (sag) |
| V2 | Vertical curve shorter than the minimum length, including small grade changes (A < 0.5 %: L ≥ 2V) | Table 6.3, S7.3 |
| G1–G2 | Grade above the absolute or desirable maximum for terrain and road type | Table 6.5 |
| G3 | Grade longer than its critical length | Table 6.6 |
| G4 | Grade flatter than 0.5 % in cut (drainage) | S6.5.4 |
| S1 | Stopping sight distance along the profile | Tables 3.13, 3.16 |
| S2 | Sight distance on horizontal curves blocked by cut slopes | Table 3.16 |
| H0–H1 | Radius below the absolute floor or the minimum for speed and e max | S5.8, Table 5.1 |
| H2–H3 | Missing transition spiral, or spiral parameter A too small | Table 5.8, Eq. 5.4 |
| H4–H5 | Curve too short, or too long | Table 5.5 |
| H6 | Broken-back curves (short straight between same-direction curves) | S5.6, S7.8 |
| H7–H8 | Short straight between reverse curves; long straight | Table 5.4 |
| H9 | Isolated sharp curve after a long straight (needs 1.5 × minimum radius) | S5.4 |
| E1–E3 | Superelevation missing, below the required rate, or above e max | Tables 5.9–5.11 |
| E4 | Superelevation run-off too short | Table 5.7, S5.9 |
| E5 | Combined grade √(g² + e²) too steep | S6.5.3 |
| P1–P7 | Alignment phasing (section 22) | Chapter 7 |
| R1 | Embankment barrier warrant (section 23) | S12.6.5, Figure 12.4, Table 12.6 |
| D1–D3 | Design speed changes (section 20) | S3.10.3, S5.5, S5.14 |
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:
| Code | Situation |
|---|---|
| P1 | The 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. |
| P2 | A crest or sag overlaps both ends of a horizontal curve without matching it. |
| P3 | A vertical curve overlaps only one end of a horizontal curve. |
| P4 | A short crest inside a sharp horizontal curve. |
| P5 | Horizontal and vertical curves separated by less than max(SSD/2, 30 m): separate them further or make them concurrent. |
| P6 | Rolling grade line: a crest and a sag within one horizontal curve; keep a constant grade through the curve. |
| P7 | Crest and sag without the 60–100 m of constant grade between them (rolling grade line). |
For each phasing, K or curve-length finding the tool tries these profile changes and keeps the feasible one that changes levels least:
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.
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.
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.
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.
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.
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.
| To | Use |
|---|---|
| Apply the fixes to the design alignment | The text file, with Create Profile from File on that alignment (below). |
| Compare the design and recommended profiles | The comparison LandXML. Civil 3D imports it as a new alignment, named … (review), carrying both profiles. |
| See which PVIs changed | The changed-PVI CSV: PVI number, old and new station, level and curve length. |
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
.txt file. Each line is station, elevation and, for intermediate PVIs, the parabolic curve length.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.
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.
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.
| Key | Content |
|---|---|
ssd, ssd_by_grade | Stopping sight distance by speed, optionally by grade. |
eye_height, object_height, sightline_height | Heights for sight-distance checks. |
k_crest, k_sag, min_vc_length | Vertical curve minimums. |
max_grade, max_grade_length, min_grade_percent | Grade limits by road type and terrain; critical lengths. |
min_radius, side_friction | Minimum radius by e max, or computed from side friction. |
superelevation_rates | Required rate by radius and speed for each e max (NC, RC or a rate). |
runoff_min, transition_required_radius, spiral_a_coefficient | Run-off and transition rules. |
tangent_min_factor, tangent_max_factor, same_direction_tangent_min | Straight lengths. |
crest_sag_gap, small_grade_change | Phasing and small-grade-change rules. |
barrier | Warrant height and slope, assessment band, run-out by speed, minimum length. |
speed_change | Preferred and maximum speed steps, minimum transition length. |
references | Table numbers printed with each finding. |
Design the road on the map, in profile and in section, and grade sites with pads and graded lines; build the finished corridor: surfaces, cross-sections, feature lines and quantities, for QGIS and for Civil 3D or OpenRoads Designer. The editors hand their results to each other, and none of them edits a source file: each step writes a new LandXML.
Open it from the toolbar or Plugins → LandXML Road & Terrain → Plan Editor. The design is in a projected design CRS (section E8): the projected project CRS, the CRS a file declares, or one you choose; the map may be in degrees. With Draw / edit on map on (it switches on by itself once a design is started or loaded, and turns green):
Start from a line feature (every vertex becomes a PI, curves of the default radius, reduced where they do not fit), or From LandXML…: an alignment from Civil 3D or OpenRoads (its PIs, radii and spirals are recovered from the tangents) or a feature line or breakline, whose levels become the design profile when you save. The list shows the alignments first, then the feature lines and breaklines, with a filter; a file with no alignment (a corridor or Road Furniture Designer feature-line export) says so. The design is also kept as two map layers in a Plan Editor group (the elements and the PIs, with radii and spirals), updated after each edit. The checks list compares the fit with the chosen design criteria: minimum radius, curves that need transitions, spiral parameter A, short and long tangents. They are advisory.
Save LandXML… writes the alignment in the axis order you choose (Civil 3D writes northing first), with the EPSG code of the project CRS. A DEM chosen as Ground adds a ground profile. Design the profile → then opens the alignment on the Profile Viewer's Design tab with an optimised design profile (section 12, Designing a profile), and Design the sections → loads it in the Section Editor. Both save the alignment again first when it changed since the last save (into the same file). Each editor ends with the next step's button, so the road goes Plan → Profile (Sections and corridor →) → Sections (Reports and 3D →) without going back to the Workflow panel. An alignment can carry several profiles (the design, a ditch invert, alternatives): the Section Editor chooses the design profile, and a side drain's invert can follow another profile (Invert follows profile).
The Section Editor designs the cross-section by station, on the real ground, and builds the corridor. Open it from the toolbar. Choose the LandXML with the alignment and its design profile (Civil 3D, OpenRoads, the Plan Editor or the Profile Viewer), the axis order of the file (never guessed), the elevation unit when the file does not declare it, the design CRS (filled from the file when it declares one that fits), and the ground, then Load. The ground is a TIN surface in the same file, a DEM or raster layer already in the project in any CRS (resampled into the design CRS), a surface in another LandXML (a Civil 3D or OpenRoads survey), a DEM file, or none; a surface named like existing ground is chosen first. The standard and the elevation unit are remembered. Edit profile… opens the alignment on the Profile Viewer's Design tab. Reports and 3D → (after Build…, which it runs first when needed) opens the Workflow panel's reports menu for the built corridor: design report, review, section sheets, setting-out and the 3D scene. A panel that QGIS restored as a small floating window from an earlier layout opens docked again, at a usable height.
The centre of the dock is the live section at the current station: the ground, cut and fill shaded to the datum, every pavement course, kerbs, linings and walls, and the points with their codes. Click an element to select it, drag its square handle to change its width (Shift: no 50 mm snapping) or its round handle to change its crossfall, and click any point for Why this point: the element and parameter that made it, the region or transition in force, the superelevation and its source, the widening and the daylight case. Below it, the timeline shows the regions and transitions, the superelevation and widening bands and the features, and the station slider follows the map (Pick on map).
An assembly is a list of elements on each side of the baseline (the left side can mirror the right), with an optional median. Double-click an element in the palette to add it after the selected one (on both sides while they mirror). Every parameter is editable in the Element tab, or on the section itself:
| Element | Main parameters |
|---|---|
| Lane | width, normal crossfall, lane type, surface, build-up; rotates with superelevation; takes curve widening |
| Shoulder | width, crossfall, paved or not, build-up, behaviour on superelevation (own crossfall, low side follows the lane, breakover limit, follow), courses running out to the side slope |
| Kerb (and channel) | barrier, semi-mountable, mountable or flush; height, face, top width, unit depth; channel width and crossfall |
| Sidewalk / footway, cycle track | width, crossfall towards the road, build-up |
| Verge | width, crossfall, grassed |
| Side drain | a type from the standard (RDM 1.3 Figure 4.15: A1, A2, B1, B2, B3) or V/trapezoidal with foreslope, depth (from the edge or the datum), bottom width, back slope, lining; in cut only, or always |
| Daylight | cut and fill slopes by height of slope (bands, or the standard's table by material), benches (height, width, crossfall; in cut, fill or both), retaining walls in cut or fill up to a height, fill widening, toe drain, cut-off ditch, maximum width |
| Median | flush, raised (kerbs and fill) or depressed (side slopes); width |
| Barrier | W-beam, concrete or wire rope at an offset |
| Custom | any shape as steps of width with a fall or a rise, each with its code: a channel bed, a safety berm, a bus platform |
Build-ups are named pavement structures (courses from the top down with a thickness and a bill unit). Lanes and paved shoulders share "Carriageway" by default; a gravel shoulder, the footway and the median have their own. The datum (the bottom of the structure) drives the earthworks, and the edge element's courses run out to the side slope.
Regions assign an assembly to a station range. A region's transition blends from the previous assembly over its length: elements matched by id move their widths and slopes linearly, new ones grow from zero width and removed ones shrink to nothing, and a median opens or closes.
A section standard is a data file in criteria/sections: Kenya RDM 1.3 (2025), AASHTO 2018 (metric and US customary) and Generic (no limits). Each gives templates (road classes as element lists), build-ups, drain types, slope tables, widening and superelevation settings, and advisory limits with their table or clause. Nothing is locked to a standard: any value can be entered; a value outside a range is listed in Checks as a departure with its clause, and the corridor builds as designed. Save as standard… writes your own file (the current standard with your assemblies as templates and your build-ups), to use like the bundled ones; DMRB, Austroads, SANRAL or a county manual are added the same way.
Superelevation comes from the LandXML (Civil 3D runout, runoff and full stations) or is computed from the standard: the rate from the design criteria tables for the radius and design speed, the runoff over the spiral where there is one (RDM 1.3 S5.9.4) and otherwise from the runoff table, the 2-second rule and the relative gradient (AASHTO Table 3-15 with the lanes-rotated factor), placed half or two-thirds on the tangent, with the tangent runout at the same rate. Reverse curves whose runouts overlap meet in the middle. The rotation axis is the centreline, the inside edge or the outside edge; a dual carriageway rotates about the median edges. Curve widening comes from the standard (RDM 1.3 Table 4.15, AASHTO Table 3-26), on the inside of the curve or both sides, developed over the runoff to full width at the circular curve.
The Features tab places parametric pieces by chainage that build themselves into the sections: a bus bay (tapers, bay, kerb raised along the bay with ramped ends, platform; RDM/1/3/3/01), a truck parking bay / lay-by and a brake check area, a climbing lane or descending lane (100 m tapers, the through lane narrowed by 0.25 m; RDM 1.3 6.6), an auxiliary / turning lane, a widening, a ghost-island widening for a right-turn lane, a junction mouth or private access (the side drain stops across it and a culvert is counted), and a truck escape ramp (the edge widens to the ramp over its taper, and a ramp alignment, profile and arrester bed are written; bed length from RDM 1.3 Equation 12.1 for the runaway speed and the bed material, Table 12.7). The side can be left, right, uphill or downhill (from the design profile and the side traffic keeps to). The definitions come from the Road Furniture Designer plugin's RDM data; every parameter is editable.
Nothing is lost. Every change is kept automatically (a second or two after you make it, in the QGIS profile folder). When you open the same LandXML and alignment again, after closing QGIS or after a crash, a bar offers the kept corridor: Restore takes its assemblies, regions, features and settings (the file, alignment, profile and ground chosen now are kept; Undo goes back to the template), or Start from the template. The editor also remembers, for each file, the axis order, design CRS, alignment, profile and ground you used: the ground comes back as its raster layer when that is loaded, or as the DEM or surface file itself (marked used last time) when it is not. These are your own earlier choices, never guesses. Coming from the Profile Viewer's Sections and corridor →, the section loads straight away when the axis order is known and the ground needs no file dialog.
Long roads. Build, Preview on map and Export show a progress dialog (Cancel stops without writing anything) and share one build: after a Build, Preview and the next step are immediate until the corridor is edited. A 60 km road at a 20 m interval (about 3,200 sections) builds, writes and prices in roughly ten seconds.
A section project (JSON) holds the source file and its SHA-256, the alignment, profile, ground, standard, build-ups, assemblies, regions, features and settings. Every edit and every drag is one undo step. When you save a design profile in the Profile Viewer for the same alignment, an open Section Editor switches to it and keeps the assemblies.
Build… in the Section Editor, or Build Corridor from Section Project in 9. Corridor design, writes a new LandXML: the source alignment copied unchanged, its profile and a ground profile along the centreline, CrossSects at every station (ground, finished surface, a closed shape for every course, kerb, lining and wall, the datum and the coded points), the finished and datum TINs, and feature lines by code. Stations are the interval plus the key stations: element ends, superelevation and widening stations, region and transition ends, feature tapers and PVIs.
The quantities are average end areas between sections, as Corridor Section Quantities computes them on the written cross-sections (the tests check that the two agree): cut and fill to the datum, the footprint, the topsoil strip (depth × footprint) and unsuitable material (depth × the fill width or the whole footprint), every course by build-up as a volume and as a top area, kerbs, channels, drains, barriers and walls by length along their feature lines, culverts at junction mouths and accesses, and arrester bed material. The HTML report lists the regions, superelevation, widening, features, quantities, advisory departures and warnings.
The bill of quantities (Excel, written without any extra library) uses your item list: CSV or JSON with the columns item, description, unit, rate, quantity, where quantity is a key from the Quantities sheet (several joined with +, and a key ending in * sums every key that starts with it). No rate is ever assumed; without a list, every computed quantity is listed for you to price. A variant project builds a second assembly or standard on the same road and adds a side-by-side comparison of quantities and cost to the report and the workbook.
Export Design for Civil 3D or OpenRoads (by Stage), or Export stage… in the Section Editor, writes the concept at the stage you need: the horizontal alignment only; with its profiles; with the finished and datum surfaces and the feature lines; or everything with the cross-sections. The ground over the corridor footprint can be included.
Going the other way, the editors start from either: Civil 3D and OpenRoads alignments and profiles (PIs recovered from the tangents), feature lines and breaklines (PIs and a profile from their levels), surfaces as the ground (from the same or another file, read only over the corridor), and the test scenarios.
Export Roads to LandXML (Lines to Alignments and Profiles) writes each line of a layer as an alignment: every vertex a PI, curves of the radius field (or the default) with spirals from spiral_in/spiral_out, reduced where they do not fit (and reported). Lines with Z get a design profile with a PVI at each vertex and vertical curves of vc_length; a DEM adds a ground profile. The name comes from the name field; coordinates are written in the layer's CRS with its EPSG code, in the axis order you choose.
Export LandXML to DXF (Alignments, Feature Lines, Surfaces) writes any LandXML (a built corridor, a Grading Editor build, a Civil 3D or OpenRoads export) as an ASCII DXF (AutoCAD 2018 format, the writer the Road Furniture Designer uses) that Civil 3D, AutoCAD, BricsCAD and QGIS open without add-ons: each alignment as a polyline with station ticks and labels, each feature line and breakline as a 3D polyline (daylight lines and outlines on their own layers) and, optionally, each TIN surface as 3D faces. Layers are named by kind and object (ALIGNMENT-…, FEATURE-…, DAYLIGHT-…, TIN-…). Choose the file's axis order (Civil 3D writes northing first); coordinates, CRS and unit are the file's. For surfaces going on into design, LandXML remains the better route into Civil 3D; the DXF is for drawings, checking and CAD users.
The Grading Editor draws and edits grading objects on the map like feature lines in Civil 3D, with a level at every vertex and the earthworks recomputed as you edit:
Draw pad or Draw line, click the vertices, right-click or double-click to finish (Esc cancels). The first vertex takes the ground level there and the next ones the level of the one before, so a new pad starts level and the editor switches to Edit on map: drag a vertex, Ctrl/Shift+click an edge to insert one, right-click a vertex to delete it. The vertex table edits X, Y and Z and shows the ground and the cut or fill at each vertex; the level tools set all vertices to a level, raise them, put them on the ground plus an offset, or grade them along from the selected vertex. Objects apply in list order, each on the result of those before it. Every change is one undo step.
The ground is a DEM layer in the project, in any CRS (it is resampled into the design CRS). After each edit a preview shows the cut (red) and fill (green), the daylight line and the running cut, fill and net. Build… writes the LandXML (the existing ground and the design as TINs on one adaptive mesh within 2 cm, so they match exactly where nothing changed; each outline and line with its vertex levels and the daylight lines as feature lines; northing first, as Civil 3D writes, with the design CRS), the design GeoTIFF, a DXF, a quantities report and the objects (JSON, to open again). The LandXML goes into Civil 3D with Insert → LandXML and into the site-grading tools in group 8. Design Surface from Shapes builds the same pads and lines from layers (PolygonZ and LineStringZ with a shape of pad or line).
The toolbar has one button; its menu lists every tool with its own icon. Workflow opens a panel with the road steps (ground, plan, profile, sections and corridor, reports and 3D, export) and the site steps (ground, pads and graded lines, reports and 3D, export). Each step opens the right tool on the result of the step before it: a saved alignment opens on the Profile Viewer's Design tab with a profile started from the ground (Design the profile → in the Plan Editor), a saved profile goes into an open Section Editor, and a built corridor feeds the reports, the DXF and the Road Furniture Designer, which reads the corridor's alignment, profile and edges directly.
The large panels dock at the bottom of the QGIS window and scroll when space is short. Pop out moves a panel into its own window, to maximise or move to a second display; closing that window docks it back.
Design CRS. The editors design in a projected CRS (metres or feet): the one a file declares when it fits its coordinates, the projected project CRS, or one you choose; it is never guessed. The map can be in any CRS, including degrees: the design is drawn over it with a transformation, and a DEM in another CRS (for example FABDEM in EPSG:4326 under an Arc 1960 / UTM design) is resampled into the design CRS. A file that declares a geographic CRS for coordinates in metres is not trusted: you are asked. Civil 3D metric exports usually omit the elevation unit; state it in the Section Editor (Elevations in metres) and the built corridor declares it, so the report, section, review and 3D tools take the file directly.
How results are computed, what each output contains, what LandXML content is supported, and how the plugin has been validated.
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.
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.
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.
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.
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.
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.
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.
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.
| Field | Content |
|---|---|
alignment_name | Alignment. |
severity, category, code | High/Medium/Low; Vertical, Grades, Sight distance, Horizontal, Superelevation, Phasing, Roadside safety, Design speed; finding code. |
sta_start, sta_end, from_label, to_label | Chainage range (numbers and formatted labels). |
side | left/right for barriers and curve sight. |
issue, detail, recommendation, reference | Text of the finding and the criteria table. |
value, required | Value found and value required (units as stated in the detail). |
alignment_name, design_profile, ground_profile, station, station_label, kind, design_elev, ground_elev, depth (design − ground).
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, kind (fill/cut/mixed), sta_start, sta_end, fill_slope_area, cut_slope_area, steep_area, plan_area.
| Element | Support |
|---|---|
Surface/Definition (TIN) | Points and faces; invisible faces excluded; several surfaces per file. |
SurfVolume | Recorded Civil 3D volumes shown beside TIN difference results. |
Alignment/CoordGeom | Line, Curve, clothoid Spiral. Other spiral types and disconnected elements are reported, not drawn. |
ProfAlign | PVI and ParaCurve. Circular vertical curves are reported as unsupported. |
ProfSurf | Existing-ground and other surface profiles, with gaps. |
CrossSects | Absolute PntList3D and station-relative PntList2D sections; DesignCrossSectSurf shapes, links and Datum. |
Superelevation | Transition stations and full rates (two-lane rotation about the centreline assumed). |
Feature name="SpeedStation", Roadway/DesignSpeed | Design speeds by station. |
Breaklines, feature lines, PlanFeatures | Geometry 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.
main run the full synthetic suite in headless QGIS 3.44.15 and 4.2.3 containers, including Processing, preparation, GUI, project settings, styles and station/offset locator checks. Desktop checks and verification against survey control remain necessary.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.
| Symptom | Check |
|---|---|
| Geometry in the wrong place or mirrored | Coordinate 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 skipped | The element does not match its declared length or connect to its neighbour; check the export. |
| No cross-sections | The export has no sample-line sections, or only template data. Run Inspect LandXML. |
| Section surfaces not identified | Enter 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 findings | Check that the design speed and terrain match the road; use speed ranges where terrain changes. Read the category summary first. |
| Grade checks missing under AASHTO | Enter a maximum grade. |
| Cannot find the Profile Viewer | It 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 page | Untick Headers and footers in the browser's print dialog; the report prints its own title and page numbers. |
| Profile Viewer opens the wrong file | Use Open… in the dock; layers from other sources are remembered per layer. |
| Complete Road Design stops | The GeoPackage already exists; choose a new folder. |
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.
| Design speed km/h | 40 | 50 | 60 | 70 | 80 | 90 | 100 | 110 | 120 |
|---|---|---|---|---|---|---|---|---|---|
| SSD, level (m) — T3.16 | 40 | 55 | 70 | 85 | 100 | 120 | 140 | 165 | 190 |
| K crest — T6.1 | 5 | 10 | 17 | 30 | 45 | 67 | 100 | 140 | 185 |
| K sag — T6.4 | 9 | 14 | 19 | 25 | 32 | 40 | 50 | 60 | 70 |
| R min, e max 6 % (m) — T5.1 | 50 | 85 | 130 | 185 | 265 | 355 | 465 | 595 | 755 |
| Barrier run-out (m) — T12.6 | — | — | 55 | — | 85 | — | 105 | 120 | — |
| Maximum grade % (desirable / absolute) — T6.5 | Flat | Rolling | Mountainous | Escarpment |
|---|---|---|---|---|
| Rural | 3 / 5 | 4 / 6 | 6 / 8 | 7 / 9 |
| Urban | 3 / 5 | 6 / 8 | 8 / 10 | 8 / 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.
| Design speed km/h | 40 | 50 | 60 | 70 | 80 | 90 | 100 | 110 | 120 |
|---|---|---|---|---|---|---|---|---|---|
| SSD (m) — T3-1 | 50 | 65 | 85 | 105 | 130 | 160 | 185 | 220 | 250 |
| K crest — T3-35 | 4 | 7 | 11 | 17 | 26 | 39 | 52 | 74 | 95 |
| K sag — T3-37 | 9 | 13 | 18 | 23 | 30 | 38 | 45 | 55 | 63 |
| Side friction f — T3-7 | 0.23 | 0.19 | 0.17 | 0.15 | 0.14 | 0.13 | 0.12 | 0.11 | 0.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.