GNSS Rover & Field Telemetry Workflow // P4.4
Emlid Reach RTK-GNSS Rover to 3D LineStringZ Utility Export
Turn RTK-FIXED rover pole shots and duct centerlines into canonical 3D LineStringZ topology tied directly to optical OTDR fault distances and SHA-256 closeout packages.
Emlid Reach RS2+ / RS3 / RX CSV or GeoJSON (lon/lat/h_ell or E/N/Z, fix_type, antenna_height_m, h_acc_mm, v_acc_mm)
3D PointZ/LineStringZ topology (x=E, y=N, Z=elevation) -> dxf-ee (.DXF), .GPKG, .GeoJSON, Typst PDF/A-2b + manifest_sha256
Geodetic & Sync Scope Boundaries
- Live Now (M1–M2)
- Horizontal L-EST97 (EPSG:3301) <-> EPSG:4326 / EPSG:4937 math (<= 2.0 mm across 6 GPA points), OTDR slack-loop reconciliation (FACTOR_RANGE 1.000..=1.050), and deterministic DXF/GPKG/GeoJSON/PDF exports are LIVE in M1–M2.
- Documented Waivers
- Vertical EH2000 geoid reduction requires user-supplied Maa-amet undulation N in browser tools or licensed ee_mra_estgeoid2017.tif on the server (WAIVER: ee-geoid).
- Roadmap Scope (M3–M6)
- Direct browser PWA streaming over Web Serial / Web Bluetooth (with SQLite-WASM offline outbox) is [Roadmap: M3]; on iOS Safari, external RTK metadata is not exposed to PWAs and falls back to AUTONOMOUS until a Capacitor wrapper ships.
Raw Observations, Fix Classification & Strict Axis Conventions
Every Emlid Reach shot stored in raw_observations preserves original source coordinates (lon, lat, h_ell), antenna_height_m, fix_type (RTK_FIXED, PPK_FIXED, RTK_FLOAT, DGPS, AUTONOMOUS), h_acc_mm, v_acc_mm, and raw NMEA GGA evidence before reduction via a pinned crs_pipelines ID.
When connected to a national ETRS89 RTK mount point (ESTPOS in Estonia, CPOS in Norway, SWEPOS in Sweden, FinnRef in Finland), observations arrive directly in the national ETRS89 realization, requiring only the pinned projection + geoid pipeline. Autonomous or ITRF-epoch logs must pass through an explicit pinned ITRF -> ETRS89 step (no runtime auto-selection).
All internal PostGIS and GeoJSON/GeoPackage geometries enforce x = Easting, y = Northing, and Z = normal/orthometric elevation in metres — never burial depth. The Estonian grid convention (X = Northing, Y = Easting) is applied solely to sheet grid-cross labels inside dxf-ee.
Coupling 3D Trench LineStringZ with OTDR Splice Localization
By surveying exposed duct vertices (infra_spans as 3D LineStringZ) and surface/vault nodes (HANDHOLE, MANHOLE, CABINET, SPLICE_CLOSURE, DEPTH_POINT, BEND) with an Emlid Reach rover, field crews build the exact geometric backbone required by crates/sor-parser::slack.
Once optical OTDR traces (.sor) are ingested, sor_parser::slack maps glass splice and fault distances back onto either a specific splice closure node (InSlack) or an interpolated (E, N, Z) point along the surveyed trench LineStringZ (OnSpan), eliminating manual chainage drift.
Emlid Reach Attribute & Geodetic Mapping (docs/02-database-and-geodesy.md)
| Emlid / Rover Field | asbuilt Column / Type | Rule & Quality Level Impact |
|---|---|---|
| Longitude / Latitude / Ellipsoidal H | raw_observations (lon, lat, h_ell double precision) | Immutable append-only raw observation; never overwritten on re-projection |
| Easting (X_gis) / Northing (Y_gis) | geom geometry(PointZ|LineStringZ) | Strictly x = Easting, y = Northing (e.g. E ~ 543134 m, N ~ 6588132 m in Tallinn) |
| Pole Elevation / Top-of-Pipe Z | Z in metres (numeric(...,3)), z_reference | Z is always elevation (TOP_OF_PIPE | AXIS | INVERT), never burial depth |
| Solution Status (FIX / FLOAT / SINGLE) | fix_type (RTK_FIXED | PPK_FIXED | RTK_FLOAT | AUTONOMOUS) | QL-A node survey accepts RTK_FIXED, PPK_FIXED, TOTAL_STATION; Phone AUTONOMOUS -> QL-D only |
| RMS Horizontal / Vertical (m -> mm) | h_acc_mm, v_acc_mm (numeric(7,1)) | Stored per node/evidence in mm and written into dxf-ee ASBUILT XDATA |
| Node / Duct Code | node_type & span_type -> profile layer | Mapped to ASB_* (provisional) or authority layers + GeoPackage / Typst PDF BoQ |
Workflow: From Emlid Reach Rover CSV to Closeout Exports
- Verify CORS datum & transform coordinates
Confirm ESTPOS/CPOS ETRS89 mount point settings, then convert or batch-check Emlid CSV coordinates in /tools/lest97-eh2000-converter (preserving x=E, y=N and user-supplied N for EH2000).
- Pair 3D trench vertices with OTDR splice stations
Paste the 3D LineStringZ trench vertices and vault slack loops into /tools/otdr-slack-reconciler to verify cable length factor (1.000..=1.050) and fault XY/Z positions.
- Audit final .DXF units & coordinate envelope
Check the generated .DXF in /tools/dxf-layer-auditor to verify $INSUNITS=6, L-EST97 coordinate bounds, and zero entities dumped on Layer 0.
GNSS Trench Mapping Definitions
- x = Easting, y = Northing Rule
- EPSG:3301 officially defines axis order (N, E), while GIS/PostGIS and dxf-ee coordinates store x = Easting (~543 km) and y = Northing (~6,588 km). Swapping axes corrupts drawing bounds and rejects exports.
- Raw vs. Canonical Geometry Separation
- raw_observations is append-only (enforced by database trigger forbid_mutation), preserving original WGS84/ETRS89 observations and pinned pipeline_id so canonical EPSG:3301 geometry can always be audited.