Skip to content
gnsscalc

Epoch-by-epoch RTK

RTK post-processing on /positioning solves a base and a rover file epoch by epoch from broadcast orbits, like a field RTK receiver would have done. It gives the track on the map and the plots, kinematic positions, and the coordinate of a static session when precise orbits are not out yet (about a day after the observations); once they are, a static session's coordinate comes from the static baseline instead. /campaign's network mode uses it the same way as a fallback.

Observation model

Each satellite contributes one L1-band signal: GPS and QZSS L1 C/A, Galileo E1 (pilot or combined), GLONASS L1 C/A, BeiDou B1I or else B1C. Single differences between rover R and base B cancel the satellite clock; double differences against a reference satellite r (the highest of its signal group) cancel the receiver clocks:

∇ΔΦsrRB = ∇ΔρsrRB + ∇ΔTsrRB + λ∇ΔNsrRB + ∇ΔAsrRB + ε,   ∇ΔPsrRB = ∇ΔρsrRB + ∇ΔTsrRB + ∇ΔAsrRB + e

Double differences are formed only within a signal group (constellation and tracking code; BeiDou-3 apart from BeiDou-2), so only like signals are differenced. On short baselines the ionosphere cancels and is not modelled; on long ones it is estimated (below). The troposphere T is modelled at each receiver separately — Saastamoinen with a standard atmosphere (relative humidity 0.7) at that receiver's latitude and height, mapped by 1/sin e — and differenced, so two receivers at different heights see their different zenith delays (about 0.3 mm per metre). A is the receiver antenna correction (below); satellite antenna offsets cancel.

GLONASS double differences are formed in metres with each satellite's own wavelength. The receiver clock cancels exactly; the inter-channel bias between two receivers does not, but is constant while lock holds and goes into the float ambiguity. That is why GLONASS ambiguities stay float.

Each rover epoch is paired with the nearest base epoch up to 15 s away, and the base is modelled at its own epoch: satellite positions at its transmission times, and the satellite clock's change between the two epochs. A 5 Hz rover can therefore use a 1 Hz base, and a 1 Hz rover a 30 s one. On a DJI M300 flight at 5 Hz, 44 m from its base, compared with a commercial post-processed trajectory, fixed epochs agree to 0.2 cm horizontally and 0.5 cm vertically (median) with a 1 Hz base, and 0.7 / 0.7 cm with the base thinned to 30 s.

Long baselines

Beyond about 10 km the ionosphere no longer cancels: a centimetre or more of differential delay goes into the position, mostly the height. A static session whose baseline is longer than 8 km, or a kinematic one longer than 20 km — the length comes from a code solution on the first epochs — therefore runs a second model. Each satellite adds a second signal (GPS L2, Galileo E5a, QZSS L2, BeiDou B3I or B2I; GLONASS stays on L1), and the filter gains two kinds of state:

The limits come from the EPN baselines. Static, on seven pairs between 8.6 and 16.9 km, the long model beat L1 alone in every week (TLMF–TLSE, 8.7 km: 20.4 → 8.4 mm; FFMJ–KLOP, 15.1 km: 19.6 → 8.2 mm), and from 16 km on it is two to five times better, in 24-hour sessions and in 1- and 4-hour ones alike. The exception is CEBR–MADR (10 km), which it makes worse (10.5 → 19.4 mm). Kinematic, each epoch against the stations' known positions, the long model fixes less often up to 17 km (CEBR–MADR 98 → 68 % of epochs), and from 24 km on more often and closer: EIJS–WARE (32 km) 58 → 44 mm over all epochs, MATE–SNIK (53 km) 78 → 95 % fixed and 139 → 54 mm, IGMI–GARI (128 km) 29 → 74 % fixed and 324 → 106 mm. Below the limits the model is the single-frequency one above, unchanged.

Float filter and integer fixing

Receiver antennas

RTK differences each frequency on its own, so it needs each band's receiver phase-centre offset and elevation-dependent variation separately, not the ionosphere-free combination PPP uses. Both receivers' corrections come from IGS20 and are projected onto the line of sight together with the marker-to-ARP height. With the same antenna type at both ends they cancel; on mixed-antenna baselines they matter.

DGNSS

A code-only solution can be chosen instead: double-differenced pseudoranges with the full covariance, iterated weighted least squares per epoch, metre-level. Within a carrier-phase run, an epoch updated from code alone is marked DGNSS.

Range

With the long-baseline model, the EPN baselines below stay within about two centimetres up to 128 km; broadcast orbits and the estimated atmosphere put them at decimetres from a few hundred kilometres. For the best coordinate of a long static session, the static baseline from precise orbits (2–9 mm on the same pairs) or PPP is the method to use.

A moving rover is a different matter, because every epoch stands alone. Against the EPN stations' known positions, each 30 s epoch solved kinematically: up to 3 km, 0.1 % of fixed epochs are more than 5 cm off; from 5 to 17 km, 1 to 19 % (median 3-D error 1.4–3.2 cm); from 24 to 128 km, with the long model, 8 to 24 % (median 1.8–3.7 cm). Few are more than 10 cm off (at most 3 %). They are not blunders in the integer search: the fixed position stays within a few centimetres of a float one that the remaining differential ionosphere has already moved by 5–20 cm. They are mostly in North and height, and most frequent in the late morning. A stricter fix test threw away good fixes as fast as bad ones, and fix-and-hold (feeding the fixed integers back into the filter) made the errors larger, so neither is used. For a moving rover more than about 10 km from its base, read “fixed” as 3–5 cm rather than 1–2 cm, and occupy a point statically when it needs better.

Defaults

Setting Default Note
Orbits and clocks Broadcast ephemeris The day’s BKG BRDC file unless a navigation file is given
Signals One L1-band signal per satellite GPS/QZSS L1 C/A, Galileo E1, GLONASS L1 C/A, BeiDou B1I (else B1C)
Baselines over 8 km (static) or 20 km (kinematic) Two frequencies, ionosphere and troposphere estimated Plus GPS L2, Galileo E5a, QZSS L2, BeiDou B3I/B2I; length from a code solution
Ionosphere state σ / random walk 3 cm / 10⁻⁴ m/√s per 10 km Zenith, per satellite, single-layer mapping at 350 km
Relative zenith wet delay σ / random walk 5 cm / 1 cm/√h Chao wet mapping
Mode Static Kinematic selectable
Elevation cut-off 15° on /positioning The engine’s own default is 10°; /campaign’s fallback uses 10°
Code σ / phase σ per receiver at zenith 0.3 m / 3 mm Variance σ²(1 + 1/sin²e)
Ambiguity fixing Instantaneous, every epoch Fix not fed back into the filter
Ratio test ≥ 3
Partial fixing Drop lowest first, down to half the candidates Never fewer than 4 ambiguities
GLONASS ambiguities Float only
New ambiguity σ / random walk 30 cycles / 10⁻⁴ cycles/√s
Kinematic position reset σ 30 m per epoch
Outlier and slip gates Code 30 m; phase–code divergence 5 m Plus lock-time / loss-of-lock resets; files: geometry-free jump > 5 cm
Differential troposphere Saastamoinen at each receiver’s height
Receiver antennas IGS20 per-frequency PCO + PCV, both ends When both types are in IGS20; antenna heights always
Base/rover epoch matching Within 0.5 s

Where it is in the code

Source

Tests

Validation

Baseline Length (km) 16 Nov 2026 (mm) 3-D RMS (mm)
WTZR–WTZS 0.1 5.2 3.5
MET3–METG 2.8 6.5 6.5
IENG–TORI 5.6 21.6 8.8
CEBR–MADR 10.4 11.3 19.4
BADH–FFMJ 15.8 21.5 7.6
AXPV–MARS 23.7 121 13.2
EIJS–WARE 31.9 16.7 3.3
MATE–SNIK 53.0 52 19.2
IGMI–GARI 128 194 22.1
DGOR–SNIK 242 266 89
ONSA–MAR6 470 489 352

3–22 mm up to 128 km. Since 16 November: slip detection took IENG–TORI from 21.6 to 8.8 mm, the filter fix (the ambiguity update had counted twice) AXPV–MARS from 121 to 32 mm, and the long-baseline model everything from 16 km on, by two to five times — but CEBR–MADR (10 km), which it now also solves, from 10.5 to 19.4 mm. In week 2430 (August 2026) the same pairs give 4–22 mm. Earlier fixes are in these figures too: the troposphere at each receiver's own height (gnss-js 2.49) took MATE–SNIK, with a large height difference, from 542 to 75 mm, and the antenna-band fallback CEBR–MADR from 40.6 to 11.3 mm (MADR's antenna is calibrated for GPS and GLONASS only).

More on the validation page and in Methods.