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.
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 Profiles · Create 3D Road Centerlines · Extract LandXML Cross-Sections · Create Alignment Station Points · Export Complete Road Design to GeoPackage |
| 3. Vector extraction | Extract LandXML Alignments to Lines |
| 4. Terrain conversion | LandXML TIN to GeoTIFF |
| 5. Surface extraction | Extract TIN Surface Boundary · Extract LandXML Feature Lines · Extract LandXML Breaklines |
| 6. Earthworks and quantities | Profile Cut/Fill Analysis · Corridor Section Quantities · Surface Cut/Fill (TIN Difference) |
| 7. Design review | Geometric Design Review (Phasing, Sight Distance, Standards) |
| 8. Reports and sheets | Cross-Section Sheets and Report · Road Design Report |
| 9. Site grading (land development) | Grading Quantities (Volume Surface) · Platform Levels and Falls · Basin Stage–Storage · Earthwork Balance (Volume Surfaces) · Grading Revision Comparison (Volume Surfaces) |
| Outside the Toolbox | 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.
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. Profile graphs remain station/elevation diagrams without a map 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 | Profile graph lines and VPI/VPC/VPT controls in station/elevation graph coordinates (no map CRS). |
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). |
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.
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.
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.
The site-grading tools are in their own toolbox group, 9. Site grading (land development), apart from the road-corridor earthworks. If the file does not declare its vertical unit (Civil 3D metric exports usually omit it), choose Vertical unit in the tool; it is never inferred, and a choice that contradicts a declared unit stops the run.
For site grading, export the Civil 3D TIN volume surface (design minus existing ground) with the other surfaces, and run Grading Quantities (Volume Surface) on it. Each triangle is integrated exactly as a linear prism and split at zero depth, so the result does not depend on a grid. The tool reports cut, fill and net volumes; plan, cut, fill and at-grade areas; maximum depths; and the exact plan area in each depth band (default limits −5, −3, −2, −1, −0.5, 0, 0.5, 1, 2, 3 and 5; a band includes its lower limit). Volumes are in place, with no shrinkage or bulking factors. Outputs are an HTML report and an optional depth-band CSV.
Without a volume surface. OpenRoads, and Civil 3D files exported without a volume surface, carry only the design and existing-ground surfaces. Enter the design surface and an Existing-ground surface: the tool builds the depth surface (design − existing) itself by clipping every design triangle against each existing triangle it overlaps. Both surfaces are linear on every piece, so the depth is linear too and the prism integration stays exact; the result is the TIN volume surface Civil 3D would build from the same two surfaces. Only the area both surfaces cover is counted, and any design area outside the existing ground is reported in the log. Earthwork Balance takes each site as Design | Existing, and Grading Revision Comparison takes an existing-ground surface for each revision.
Existing ground in another file. Grading Quantities, Earthwork Balance and Grading Revision Comparison accept an Existing-ground LandXML file, for example a survey surface exported on its own. Its declared vertical unit must match the design file's. Only the existing triangles that meet the design area are read, so a survey of several gigabytes costs memory in proportion to the site; a file that does not reach the design area is refused instead of reporting zero.
Daylight lines to Civil 3D. With a design and an existing-ground surface, the optional Daylight lines output writes the outline of the earthworks footprint (where design and existing ground differ by more than 0.01 vertical units, untouched islands as holes, lines shorter than 1 unit dropped) as Civil 3D feature lines (a LandXML file of PlanFeatures), carrying design levels. The file uses the input file's stored coordinates and units, whatever coordinate interpretation the GIS outputs use, so it imports back into the source drawing (Insert > LandXML). A volume surface holds depths, not levels, so it gives no daylight lines.
Reconciliation. Enter the cut, fill and plan area from the Civil 3D cut/fill summary (unadjusted, factor 1.0) in the reported units. Each value is compared with the computed one and the run reports PASS when every difference is within the tolerance (default 0.01), otherwise FAIL. Civil 3D tables are rounded to two decimals, so differences up to 0.005 are rounding.
Leave the surface blank only when the file identifies exactly one volume surface (a Civil 3D volume record, or one surface named as earthworks, volume, cut/fill or difference); otherwise choose it. If the chosen surface has depths beyond 100 vertical units the log warns that it looks like an elevation surface. Civil 3D metric exports often omit the vertical unit; use Prepare LandXML to declare it.
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.
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 (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. 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.
Finished road and drive-through. Style the finished-level surface as road: carriageway width, shoulder width, lanes, for example TOP = road: 7, 1.5, 2. The viewer paints it from each point's station and offset from the alignment (the corridor alignment, or the first alignment with a profile): asphalt with edge lines and dashed centre and lane lines, shoulders, verges, and side slopes where they are steeper than 30 %. Every alignment with a profile becomes a drive path: in the viewer's Drive through panel, pick the path, drag the station slider or press Play (30, 50 or 80 km/h) to move along the road at eye height; tick Record video to save the drive as a WebM video. Dragging the view or choosing a view leaves the drive. A link ending in #drive=0.4 opens the drive 40 % along the path.
Synthetic corridor (feasibility). Where an alignment has a vertical profile but no corridor yet, enter its name in Synthetic corridor along alignment. The tool builds a concept road on the profile: a carriageway with the given crossfall, shoulders, and side slopes in cut or fill (horizontal per 1 vertical) that run out to the ground, the first LandXML surface or raster in the scene, so an OGL or a DEM can serve. The concept road is painted as a finished road, cuts the ground under it, and can be driven. The log gives approximate cut and fill volumes and lists stretches where the slopes do not reach the ground within the longest slope, which usually means a structure, and the volumes with those stretches left out. With a DEM as the ground, the tool compares it with the alignment's surveyed ground profile, if the file has one, and reports the median difference; a steady difference of several metres is usually a vertical datum difference (satellite DEMs are often in ellipsoidal or EGM heights). Tick Synthetic: shift DEMs to match the alignment's surveyed ground profile to remove it. Several alignments can be given, separated by semicolons. Ground names the surface or DEM the side slopes run out to; list more than one, separated by commas, and the later ones fill in where the first does not reach (graded platforms first, then the existing ground, for instance). It is a study aid, not a design: no superelevation, widening, drainage or structures.
Concept structures. Where the side slopes of a synthetic corridor do not reach the ground, the tool draws a bridge (deck, parapets, piers at the given span, abutments) and leaves that stretch out of the earthworks. Culverts come from a schedule: a CSV file, or entries typed in such as 1+250 = box 3 x 2.0 x 2.0; 1+840 = pipe 2 x 0.9, skew 15; 1+364-2+293 = bridge, span 25. The CSV needs a chainage column; the tool also reads these headings, in any case and with or without units: site / id / name, type (box, pipe or bridge; other words mean a box), cells / barrels, span / cell_b_m / width, rise / cell_d_m / height, diameter (millimetres above 20), skew (degrees), invert_in / invert_out and end_chainage for bridges. The log lists the columns it used and those it ignored, so check it when your schedule has different headings. The schedule is drawn, not designed: nothing is sized or checked hydraulically. A culvert without 0.6 m cover under the road is drawn lower, with a warning to raise the grade or lower the invert. Low points of the ground under 1.5 m or more of fill with no structure within 50 m are listed as possible crossings. A bridge row sets its layout with span 25 (piers about every 25 m), spans 7 (seven equal spans) or piers 1+500 1+640 1+780 (piers at those chainages); in a CSV use span, spans or piers columns. A scheduled bridge replaces the automatic one it overlaps. Each structure gets a callout label and a view in the viewer; viewer.html#view=C3 opens it directly.
Ground at the structures. A satellite DEM smooths small valleys away, which can bury culverts. Tick fit DEMs to the surveyed ground profile along the road when the alignment carries a ground profile (a ProfSurf, such as the OGL long section): the DEM is corrected to it on the centreline and the correction fades out over the given width each side. Cut a channel into the ground at each culvert (on by default) lowers the ground along each barrel to its inverts, as wide as the structure, rising gently for 30 m beyond the headwalls, so the openings show. Both change only the scene, not the earthworks volumes, which are always measured against the ground as given.
Long roads. The Along the road panel shows the drive paths on a small plan: click it, or type a station such as 12+350, to look at that part of the road from its side. A corridor longer than one and a half stretches also gets a view for every stretch (Long corridors: a view every, default 1,000). Links ending in #station=12+350 open at a station; #drive=0.3&play starts a drive.
Water and buildings. Water levels (EG = 1945.5; Pond = 1950) draws flat water over the parts of a surface below each level, with an exact shoreline. Polygon layers in Other line or polygon layers are raised to solids by the height field named, or by a fixed height, standing on the lowest ground along their outline.
Before and after. Where a design is drawn over the ground, the ground under it is kept hidden; the Before / after buttons switch between the existing ground and the design. Alignments hidden by the ground (in cuts) are drawn faintly through it.
The format of scene.json is described in landxml/scene.py, so other renderers can read the scenes; tools/render_scene.py renders them with PyVista for batch images (a developer tool, not needed by the plugin).
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.
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. |
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.