Perpendicular foot and station
Projects a point onto a straight alignment and reports the foot, station, signed offset, and side.
The perpendicular foot is at station 0+50.00; the point is -20 ft from the line (left).
- Offset
- Side
- Foot of the perpendicular, northing
- Foot of the perpendicular, easting
- Point northing
- Point easting
Provenance
- Computed by
- survey.cogo.perpendicular-foot 1.0.0, core 0.1.0
- Model
- Orthogonal projection onto a plane line: along = (P − S)·t and signed offset = (P − S)·n, with n to the right (Ghilani & Wolf 2021, ch. 11)
- Accuracy
- Exact
- Notes
- None
- Cites
- Ghilani, C. D., and Wolf, P. R., Pearson, Elementary Surveying: An Introduction to Geomatics
Something look off?
How we got thisFormula, worked example, sources, and proof
Model: Orthogonal projection onto a plane line: along = (P − S)·t and signed offset = (P − S)·n, with n to the right (Ghilani & Wolf 2021, ch. 11)
Accuracy: Exact
When to use this: Use this to tie a surveyed point to a straight centerline or baseline. Enter the line start and its station, define the direction by bearing or a second point, and enter the point to project. The result gives the station, signed right-or-left offset, and coordinates of the perpendicular foot on the line for as-built checks, utility ties, and tangent staking.
Limitations: The alignment is one infinite straight line, so points before its start or beyond a supplied end still project onto its extension. It does not follow circular curves, spirals, or a multi-segment route. Coordinates must be on one plane grid or local system. The sign is positive to the right while facing in the direction of increasing station. A point that lands exactly on the alignment reports a zero offset and reads as on the line.
Worked example: Point beside a north line. Source: add-survey-suite station-offset geometry. It is golden test vector v001, and every build checks the tool still gives its answer within its tolerance.
You enter
- Line direction
- 0
- Point easting
- -20 ft
- Point northing
- 50 ft
- Line start easting
- 0 ft
- Line start northing
- 0 ft
- Start station
- 0+00
You get
- Station
- 0+50.00
- Offset
- -20 ft
- Side
- left
- Foot of the perpendicular, northing
- 50 ft
- Foot of the perpendicular, easting
- 0 ft
- Point northing
- 50 ft
- Point easting
- -20 ft
Review: Not yet independently reviewed by a licensed surveyor.
Last verified: 2026-09-23, when a maintainer last confirmed this tool's sources at the issuer. See the sources ledger.
Status: version 1.0.0, core 0.1.0. See this tool in the verification report.
Changes
- 2026-10-19, changed: Station and offset from a line, with its two focused views (perpendicular foot and point from station and offset), is now stable. All three are held to the Autodesk Civil 3D station-and-offset example, with 16 new vectors and a new invariant test. Results are unchanged. Changelog
Checked against: 25 golden test vectors (download the test vectors, each with its source and tolerance). See how results are checked and every source.
Sources
- Elementary Surveying: An Introduction to Geomatics, Ghilani, C. D., and Wolf, P. R., Pearson, 16th edition. Chapter 11 (coordinate geometry: perpendicular distance and station-offset).