geoprimsField-grade geospatial math

Corridor mapping lines

Parallel flight lines that follow a centerline (a pipeline, road, or river) across a corridor width, with the line count from your spacing, flown back and forth.

Planning and education aid. Not for primary navigation. Full disclaimer

3

Fly 3 lines along 5.593 km of centerline, 16.88 km in all.

Centerline length
Path length
Provenance
Computed by
drone.mission.corridor 1.0.0, core 0.1.0
Model
Offset polylines on a local transverse Mercator plane, mitered at bends (miter length limited to 4× the offset), offsets (k − (n − 1)/2)·spacing
Accuracy
Offsets are exact on the plane, true to within 1e-7 across a few kilometers.
Notes
None
Cites
Wolf, P. R., Dewitt, B. A., and Wilkinson, B. E., McGraw-Hill, Elements of Photogrammetry with Applications in GIS

Something look off?

Your values

Showing an example. Change anything.
KML, KMZ, GPX, GeoJSON, CSV, WKT, or WKB — or drop it on the box. Read on this device.
Run many at once from a CSV

Loading…

How we got thisFormula, worked example, sources, and proof

Model: Offset polylines on a local transverse Mercator plane, mitered at bends (miter length limited to 4× the offset), offsets (k − (n − 1)/2)·spacing

Accuracy: Offsets are exact on the plane, true to within 1e-7 across a few kilometers.

When to use this: Use this to plan a mapping flight along something long and narrow, like a pipeline, road, river, or power line. Give the centerline points in order, the corridor width, and your line spacing, and it lays parallel lines that follow the bends, flown back and forth. It returns each line's offset and waypoints, the centerline length, and the total path, so you can plan batteries and flight time around it.

Limitations: The lines are offsets on a local flat plane, so a corridor must stay within 50 km of its middle point; split a longer one. At sharp bends the offset corners are capped at four times the offset, so lines there may not keep an even distance from the centerline. It places no photo points, sets no height, and assumes flat ground. The lines are centered at your spacing, so check that the outer images still cover the full width.

Worked example: A 120 m corridor at 52.5 m spacing. Source: add-drone-suite corridor scenario: three lines at -52.5, 0, and +52.5 m.

You enter

Centerline
40, -105 40.02, -104.98 40.03, -104.95
Line spacing
52.5 m
Corridor width
120 m

You get

Lines
3
Centerline length
5.593 km
Path length
16.88 km

Review: Not yet independently reviewed by a Part 107 remote pilot.

Last verified: 2026-09-18, 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

Checked against: 23 golden test vectors (download the test vectors, each with its source and tolerance). See how results are checked and every source.

Sources