AutoTerra | Cross-Section Keying

Cross-Section Keying

Mark one cross-section · Propagate along the corridor · Coded 3D breakline strings

Who this guide is for
This guide is for users extracting road or corridor breaklines from a classified point cloud: you mark the coded key points (crown, edge of pavement, kerb, toe…) on ONE cross-section, and AutoTerra extends that pattern along the whole corridor, snapping each point to the cloud station by station. You should already be comfortable opening a point cloud and moving around the 3D view.
Edition note
Cross-Section Keying is a point cloud tool and requires AutoTerra Pro Spatial or above (it is included in Pro Aero). In lower editions the command opens an upgrade prompt instead of the keying panel.

What Is Keying?

A corridor cross-section has a repeating shape: a crown or centreline, edges of pavement, kerb tops, toes of slope. Keying means describing that shape once as a small coded template — each code with a point type and a snap behaviour — and marking where those points really sit on one (or two) cross-sections. AutoTerra then propagates the keying: at every intermediate station it predicts where each coded point should be, snaps the prediction onto the actual cloud, and connects the results into coded 3D strings that run down the corridor. Stations where the cloud gives no support are flagged red for you to review, correct, and re-propagate.

The result is a set of coded 3D breaklines (and one-off points) ready for CAD/GIS export — and, optionally, a densified set of true-ground points across the road band to strengthen your terrain model.

When to Use It

Quick Start

1
Start a section run
Define Path along the corridor → set Band Width and Interval
2
Mark a station
Open Section Keys → set up the template → Mark Station → click each code
3
Propagate & export
Propagate with Snap To Cloud → fix red stations → Export Strings

Before You Start: the Section Run

Keying works on the stations of an active section run in the point cloud window, so set one up first:

  1. Open your point cloud and click Define Path. Pick the path points along the corridor in the top view and right-click to finish. The path does not have to be exact — with a reference line or the two-pass fit (below) the keying follows the true centreline even where the sketch drifts.
  2. In the Section Tools bar, set Band Width (the thickness of the slice shown at each station) and Interval (the chainage spacing between stations).
  3. Use Move First / Move Previous / Move Next / Move Last and the Current Station selector to step through the cross-sections.

If you have already extracted a centre or edge line with the linear feature tools, you can instead select it and click Show X-Section — the extracted line becomes the section path directly.

The Cross-Section Keying Panel

Click Section Keys in the Linear Feature ribbon group of the point cloud window to open the Cross-Section Keying panel. It has a toolbar, a template grid (the coded section pattern) and a station grid (the keying status along the corridor).

The template grid

Each row is one coded key point of the cross-section. Add rows with Add Code, load a typical road set with Defaults, or build the template from a design cross-section with Import TCS.

ColumnMeaning
CodeThe feature code, e.g. CROWN, EOP_L, KERB_TOP_R, TOE_L. The exported strings carry this code.
TypeHow the point behaves along the corridor: StringPt — connects station to station into a continuous 3D breakline; PointPt — a one-off point at each station (exported as points, not a line); ReferencePt — anchors the whole pattern (the centreline/crown); it is never snapped independently and the other points are placed relative to it; OptionalPt — may be missing on some sections (e.g. a kerb that comes and goes) without flagging the station as failed.
SnapHow the point is fitted to the cloud during propagation: Geometric — snaps to the nearest cloud support (kerbs, edges, toes); Intensity — prefers bright returns, for painted markings such as edge lines; InterpolateOnly — never snapped, keeps the predicted position.
LineBinds this code to an already-traced linear feature (an extracted edge or centre line). When set, the code is taken directly from where that line crosses each cross-section — it is not interpolated or snapped, and the string simply ends where the traced line ends. Leave blank for the normal interpolate-and-snap behaviour. See Using Already-Traced Lines below.
Offset / dZThe point's across-section offset and height relative to the template datum (the reference CL when one is set). Filled in automatically when you mark a station or import a TCS, but you can also type them directly — e.g. edges at -8, -1, 1, 8 either side of the centreline. With a reference line set, entering offsets lets you drape the whole template along every chainage in one Propagate, then fine-tune with Move Pt.
WindowHalf-size (m) of the search window used when snapping this code to the cloud. Enlarge it for codes that wander; keep it tight for codes that must not jump to a neighbouring feature.
DeleteRemoves the row.

The Defaults template is a typical road keying: CROWN (reference), EOP_L / EOP_R (strings snapped by intensity, for painted edges), KERB_TOP_L / KERB_TOP_R (optional, geometric) and TOE_L / TOE_R (strings, geometric).

The toolbar

ControlWhat it does
ReferenceChooses what the key point offsets are measured relative to: Section Path (the sketched path itself, default) or any detected linear feature — typically an extracted Road Center Line. With a reference line set, the keying follows the true centreline through curves and superelevation even where the sketched path drifts, and one keyed station is enough to propagate.
TCS + Import TCSBuilds the keying template from a Typical Cross-Section defined in Section → Template Definition (see the Section Data guide, Template Creation). The template's top line becomes coded, centreline-relative key points. Combined with a reference line this allows propagation with zero keyed stations — predictions come straight from the design section and Snap fits them to the cloud.
Add CodeAdds a blank template row.
DefaultsReplaces the template with the typical road keying described above (asks first).
Mark StationStarts marking the coded points on the current cross-section (see below).
From EdgesKeys every station from the last Find edges run on the section's centreline: the two edges and each wall's top front and top back become key stations (Kind Edges) that Propagate never overwrites. Each station gets the template its detection matches — see Several templates per route below.
PropagateRuns the propagation across the stations.
Snap To CloudWhen checked (default), each predicted point is fitted to the actual cloud within its search window. Unchecked, propagation is pure interpolation between your keyed stations.
Verify ShapeWhen checked (default), after snapping, the spacing between neighbouring points is compared with the template shape. A snap that grabbed the wrong feature is caught: optional points are dropped, others are flagged red.
Key Class + Densify GroundPromotes verified road-band ground points to the class entered in Key Class (default 8) so they feed the model-keys surface — see Densifying Corridor Ground below.
Export StringsSends the keyed strings and points to the Review and Export dialog for CAD/GIS output.
Save / LoadSaves the template (codes, types, snap settings, windows) with the current project and loads it back later.
ClearClears all keyed stations; the template itself is kept (asks first).

Ways to Key a Corridor

There are six ways to key a corridor. They are not exclusive — you can mix them in one template — but each suits a different starting point. Choose the row that matches the data you already have.

ScenarioHowBest when
1. Mark two stations
(the classic way)
Build the template, Mark Station at one clear section, mark a second further along, then Propagate with Snap To Cloud on. You have a good cloud but no traced lines and no design section. The general-purpose method.
2. Design section + centreline
(import or type offsets)
Set the Reference to your centre line, then either Import TCS or add codes and type their Offset / dZ directly (e.g. -8, -1, 1, 8). Propagate drapes the whole template along every chainage; fine-tune with Move Pt. No marking needed. You have a centreline (extracted or drawn) and know the section offsets — from a design TCS or by hand.
3. No markings, sketched centreline
(two-pass)
Sketch a rough path, mark the crown (a ReferencePt) at one or two stations, leave Reference on Section Path, Snap on, and Propagate. Pass 1 fits the true centreline; pass 2 places the rest. Rural / unmarked roads on curves where the sketched path drifts off the real centreline.
4. Bind codes to traced lines For each code, set the Line column to the traced feature it follows (crown → centre line, EOP_L → left edge…), then Propagate. Bound codes are read straight off the lines. You have already traced the edges and centre with the linear feature tools and want exact strings from them.
5. Apply @ Center At one clean section click Apply @ Center to drop the whole template, grounded to the cloud, as a key station; refine with Move Pt, then Propagate. You want the fastest possible start from a single well-behaved section.
6. From Edges
(several templates per route)
Select the centreline, run Find edges on the Line bar, open Section Keys on the same line and click From Edges. Every station is keyed from the detected edges and walls; Propagate fills whatever is left. A road or walkway whose section changes along the route — walls on both sides, then one side, then none — and you want the strings to follow those changes.

Several templates per route

A long corridor rarely keeps one section. From Edges therefore works with four templates — Both walls, Wall left, Wall right and No walls — and picks one per station from the wall pattern Find edges detected there, with a majority window so a short gap in a wall does not flip the template; template runs shorter than 5 m join their longer neighbour. The stations where the template changes are marked SWITCH (amber) in the station grid, and a Template column shows each station's template. The codes are CL (reference), EDGE_L / EDGE_R (strings, present in every template) and WALL_TOP_* / WALL_BACK_* (optional, absent where the template has no wall on that side, so their strings end at the switch). Offsets and dZ are the medians over the corridor; the confidence reflects what ends the walkway (a clear break scores high, a bank lower, a bush or no data lowest). Between key stations, Propagate follows the template of the key station before.

Section Keying toolbar with the From Edges tooltip

The Section Keying toolbar (Snap To Cloud, Verify Shape, Key Class, From Edges) with the From Edges tooltip: every station from the last Find edges run is keyed and gets the template its detection matches. Run Find edges on the line first, then click From Edges.

Station table after From Edges

The station grid after From Edges: Kind shows Edges (or Edited where a station was adjusted by hand), the Template column names the template picked at each station, with Points, Min Conf and Status. Scan the Template column for SWITCH rows and check those stations in the section.

On a From-Edges keying, Export Strings writes the strings straight to the XS_EDGE and XS_WALL Plan layers, replacing the lines Find edges drew for the same centreline, so there is one set of edge lines; kerbs, drains, wall tiers and back feet are kept as Find edges drew them. If you then edit one of those strings (in the Profile, on the Line bar, in the Plan), the keying reads the edit back where the string crosses each station (Kind Edited) and keeps it on the next export.

Long roads and the Corridor setting. Find edges runs a long centreline in pieces of about 250 m with 20 m of overlap, so a road of several kilometres keys in one go; its width is judged per piece. What Find edges looks for — kerbs on a Street, kerbs and shoulder drops on a Road, the walls either side of a walkway with None — follows the Corridor box beside Vegetation on the Classification group. Set it before you key; the keying templates follow it too.
Tip — mixing methods: a real project often combines them. Bind the codes you have traced lines for (way 4), let the remaining codes snap to the cloud (way 1), and add a key station wherever the section genuinely changes. Every code is handled on its own terms in a single Propagate.

Marking a Key Station

  1. Navigate to a clear, representative cross-section.
  2. Click Mark Station. The status bar prompts for each code in template order, e.g. Mark 'CROWN' (1/7) at station 120.00.
  3. Left-click the feature on the section view to place the current code, right-click to skip a code that is not visible at this station, Esc to cancel. Points placed so far are previewed as you go.
  4. When the last code is placed the station is committed as a key station and the status bar tells you what to do next: key at least one more station, then Propagate. (With a reference line or an imported TCS, a single key station — or none at all — can be enough.)

If you navigate to another station while marking, the code sequence simply restarts at the new station — nothing is lost at stations you already committed.

Propagating

Click Propagate. For every station between your keyed stations, AutoTerra predicts each coded point by interpolation (relative to the reference line when one is set), then — with Snap To Cloud on — fits it to the cloud inside the code's search window. Your own keyed stations are never overwritten. Three modes are available, chosen automatically from what you have set up:

ModeRequirements & behaviour
Between key stationsTwo or more keyed stations. Points are interpolated between the bracketing keyed stations and snapped. The classic “correct one section here and one there, fill in the rest” workflow.
Two-pass (self-fitted centreline)Snap To Cloud on, no external reference selected, and the template contains a ReferencePt code (e.g. CROWN). Pass 1 tracks the reference code station by station along the whole corridor, re-anchoring exactly at your keyed stations, and builds a fitted centreline; pass 2 places every other code relative to it. This is the no-markings workflow: a rough sketched path plus one or two keyed stations yields a true centreline and the full string set. The fitted centreline is itself exported as a deliverable string.
Template mode (zero keying)A reference line selected in Reference plus template offsets from Import TCS (or a previously captured keying). No marked station is needed — the design section is slid along the reference line and snapped to the cloud.
Bound to traced linesOne or more codes have a line set in the Line column. Each bound code is read directly from where its line crosses the section — authoritative, with no snapping. Codes left unbound still interpolate and snap as usual, so the modes mix freely. If every code you need is bound you can propagate with no keyed stations and no reference at all.

How each point is placed

Understanding the order of decisions makes it easy to see why a point landed where it did — and whether to trust it. For every propagated (Auto) station, each code is resolved like this:

  1. Is the code bound to a Line? If yes, the point is taken from where that line crosses this section — exact geometry, no snapping. If the line does not reach this station the point is left out (the string ends there). Nothing else runs for a bound code.
  2. Otherwise, predict its position. With keyed stations, the point is interpolated between the nearest keyed station before and after (relative to the reference line, so it follows curves). In template mode, it comes from the code's template offset relative to the reference at this station — and if there is no reference here, an unbound code is left out rather than placed at the wrong height.
  3. Snap to the cloud (only when Snap To Cloud is on, the channel is not InterpolateOnly, and the code is not a ReferencePt): search the code's Window for support. Found → the point moves onto the cloud; not found → an optional point drops, any other type is flagged red.
  4. Verify Shape (when on): compare neighbouring spacings against the template; a snap that broke the shape is dropped or flagged.

Your keyed stations are never changed by any of this — only Auto stations are (re)calculated, so re-propagating is always safe.

Checking a result: click a station row to jump there, then read each sphere's colour and ask how it was placed — cyan / from a Line = exact; yellow, snapped = moved to the cloud (check it caught the right feature); yellow, interpolated = a straight guess between your keyed stations (add a key station if the road curves there); red = no support, on your worklist.

Using Already-Traced Lines

If you have already extracted the corridor's edges and centre with the linear feature tools, you can drive the keying straight from them instead of marking and snapping. In the template grid, set each code's Line column to the traced feature it represents — for example CROWN to the centre line, EOP_L to the left edge and EOP_R to the right edge — and leave the other codes blank.

When you Propagate, every bound code is placed exactly where its line crosses each cross-section: no search window, no snapping, no interpolation. A bound string runs for as long as its traced line does and simply ends where the line ends. Unbound codes are still interpolated and snapped in the same pass, so you can mix — drive the edges from your traced lines and let a kerb or drain code snap to the cloud.

Tip — exact by construction: a bound code can never jump to the wrong feature, because it is taken from your line, not searched for in the cloud. If a bound string looks wrong, the traced line itself is the thing to correct — re-trace or extend it and propagate again.

Reviewing the Results

The station grid lists every keyed and propagated station:

ColumnMeaning
Idx / ChainageStation number and chainage along the path.
KindKey (marked by you, shown bold) or Auto (propagated).
PointsNumber of coded points present at the station.
InvalidNumber of points that found no acceptable cloud support.
Min ConfThe weakest fit confidence at the station (1.00 = exact).
StatusOK, or RED when any point is invalid — the row is highlighted red.
ClearThe button at the end of each row removes that one station's keying — use it to throw away a wrong entry without clearing the whole corridor. A cleared Auto station is refilled by the next Propagate; a cleared Key station is simply gone until you mark it again.
Tip — key where the road changes: you rarely need many key stations. Mark one clean section per homogeneous stretch and add a key station wherever the section genuinely changes (widening, a kerb starting or ending, a junction approach). Between keys, let Snap To Cloud and Verify Shape do the work — and treat the red rows as your worklist rather than checking every station by eye.

Densifying Corridor Ground

Once stations are keyed and propagated, Densify Ground uses the verified strings as a filter to pick true ground points across the road band: at each station it bins the cloud across the section, keeps only points lying close to the string-defined surface (rejecting vehicles, vegetation and low noise), and promotes the best real point per bin to the class set in Key Class (default 8). Rebuild your model-keys surface afterwards to merge the extra road-band detail into the terrain model.

Exporting

Export Strings assembles the deliverables and opens the Review and Export dialog:

Quick Troubleshooting

SymptomFix
Mark Station / Propagate reports “start a Section workflow first” Keying needs an active section run: click Define Path (or Show X-Section on an extracted line) and create the stations before opening the panel tools.
Mark Station asks for a coded key point first The template is empty. Click Defaults, Add Code, or Import TCS to define at least one code.
Propagate asks for a second station With Snap off and no reference line, plain interpolation needs two keyed stations. Key another station, or turn Snap To Cloud on, or pick a reference line.
Many stations flagged RED after propagation No cloud support was found inside the search windows. Increase the Window value for the affected codes, check the cloud actually covers those stations, or add a key station in the failing stretch and re-propagate.
A snapped point jumped to the wrong feature Keep Verify Shape on so shape-breaking snaps are dropped or flagged, and reduce that code's Window so the search cannot reach the neighbouring feature. If a reliable traced line exists for that code, bind it in the Line column instead.
A bound (Line) code has no point at some stations Its traced line is shorter than the corridor and does not cross those sections. This is expected — the string ends where the line ends. Re-trace or extend the line if you need it to continue.
Unbound points sit near zero height in template mode Template-mode propagation needs a datum: select a Reference line, bind those codes to a Line, or mark a key station. Unbound codes with no reference are left out rather than placed at the wrong height.
Import TCS does nothing Choose a template in the TCS selector first. TCS templates are defined in Section → Template Definition — see the Section Data guide.
Load reports no saved template No template has been saved for this project yet. Set up the template and click Save; each project keeps its own saved keying template.
Densify Ground finds no qualifying points Stations must be keyed/propagated and valid first, and the cloud must have ground-class support inside the road band. Propagate, clear the red stations, then densify.
Section Keys opens an upgrade prompt Cross-Section Keying requires AutoTerra Pro Spatial or above (included in Pro Aero). Confirm your licence or contact your administrator.

Related guides