Skip to main content
Volumes and generated outputs

Tracing an alignment from rails

Follow the scanned rails from one click and save the track centreline as an alignment with cant and gauge.

Written By Actegon

Last updated 10 days ago

For railway work you often need the track centreline, but there is no design file. The Alignment from rails tool follows the scanned rails in the point cloud from a single click and saves the centreline as an alignment, with the cant and the gauge measured at every station.

Before you start

  • Plan and role: Pro plan, Editor or Admin role.

  • Data: a mobile mapping or terrestrial scan of the track in which the rail heads are clearly visible.

  • A vector layer that is not locked, to save the alignment on.

Trace the rails

  1. Right-click the point cloud and choose Generate › Alignment from rails…, or choose Alignment from rails in the Analyses menu. In the clearance check window, the same tool is offered as Draw from rails….

  2. Click a rail head, or the track between the rails, on the point cloud.

  3. SkyGIS traces the track in both directions. Click Stop here, or press Esc, to stop it early.

Tracing stops at the end of the scan, after 20 m without visible rails (80 m at a level crossing), or after 10 km in each direction.

The traced alignment with its cant graph, ready for review.

Review and save

  • Graph: shows the cant (and optionally the gauge) along the track. Drag Start and End to trim the alignment.

  • Smoothing: None, 3, 5 (the default), 10 or 20 m.

  • Stretches to check: places where the trace was uncertain. Go to each one, then mark it OK or Interpolate it.

  • Continue or Pick where it continues to extend the trace, Reverse chainage to swap the direction, Start over to begin again.

  • Settings: Precision (Faster or More detailed) and Track gauge (Automatic, 1435, 1520, 1000 mm or another value).

Enter an Alignment name, for example Track 1 up line, choose the layer under Save to layer and click Save alignment.

The result

The alignment is saved as a 3D line with the cant and gauge at every vertex. Use it in a clearance check (see Running a clearance check) or walk along it (see Walking along an alignment). To change it later, click the line and choose Edit in rail tool.

Limits and tips

  • An alignment must be at least 4 m long. Cant is limited to 250 mm.

  • In a sparse scan the gauge is estimated, to about ±15 mm.

  • If some stretches are still unchecked when you save, SkyGIS asks you to confirm.

Next steps

  • Running a clearance check: check the structure gauge along the new alignment.

  • Walking along an alignment: step along the track.