Subsurface Utility Provenance Standard // P4.7

M1–M2 Provenance Schema Live[Roadmap: M4–M5] Automated Proposal & Surveyor Co-Sign

ASCE 38-22 & PAS 128 Subsurface Utility Quality Levels (QL-A to QL-D)

Prevent silent "survey-grade" overclaiming: every node and span carries machine-auditable provenance linking quality_assessments.inputs, control residuals, and surveyor sign-off.

Evidence Inputs

gcp_targets (CONTROL vs CHECK) + scan_registrations RMSE + depth_samples sigma + raw_observations fix_type + field_evidence SHA-256

Quality Output

Deterministic QL_A | QL_B | QL_C | QL_D recorded in quality_assessments.inputs + dxf-ee ASBUILT XDATA (ql=...)

Schema Truth vs. Automated Proposal & Sign-Off Roadmap

Live Now (M1–M2)
The PostgreSQL provenance schema (quality_assessments, gcp_targets, scan_registrations, depth_samples, field_evidence) and DXF XDATA ql= emission in crates/cad-exporter are LIVE in M1–M2.
Documented Waivers
Municipal accuracy tolerances vary by jurisdiction; EE default registration budget (50 mm H / 25 mm V) is stored in the jurisdiction profile rather than hard-coded.
Roadmap Scope (M3–M6)
Automated scan-derived QL proposal rules ([Roadmap: M4]) and licensed surveyor confirmation UI ([Roadmap: M5]) are scheduled milestones. The system proposes; a qualified surveyor always confirms.

Deterministic Quality Level Enforcement Across Capture Methods

ASCE/UESI/CI 38-22 and BSI PAS 128:2022 define four subsurface utility Quality Levels from highest certainty (QL-A, directly exposed and measured) to lowest (QL-D, existing utility records or redlines). In conventional drafting, lines drawn from a hand sketch, a phone GPS dot, and an RTK survey look identical once exported to DXF.

asbuilt enforces strict separation at the database and exporter boundary (docs/02-database-and-geodesy.md & docs/03-scan-to-vector.md §3.3). Every NODE and SPAN stores its fix_type, accuracy estimates, and a quality_assessments record capturing every numeric input inspected by rule_version. Re-running the rule on quality_assessments.inputs must reproduce the exact proposed level.

Anti-Spoofing Guards: CHECK Targets, Unverified Intervals & Phone GPS

Three structural safeguards prevent accidental or deliberate inflation of QL-D/QL-C data into QL-A:

  • Withheld CHECK Targets Required: CHECK targets never enter the Kabsch or trajectory-drift adjustment. With zero CHECK targets, a scan registration cannot be accepted for QL-A.
  • No Interpolation Across Occlusions: Runs of NO_DETECTION > 1.0 m in a point-cloud corridor become explicit unverified intervals that exclude QL-A, and overall span coverage (verified length / span length) must be >= 95%.
  • Phone Geolocation API Quarantined: Browser/iOS Geolocation API positions lack datum/epoch metadata, are classified AUTONOMOUS, and are permanently ineligible for QL-A.

ASCE 38-22 & PAS 128 Quality Level Provenance Matrix (docs/03 §3.3)

Quality LevelRequired Capture & ProvenanceAccuracy & Coverage Gateasbuilt Schema Anchor
QL-A (Verified Exposed)Exposed conduit scanned (Tier 1/2) OR exposed node surveyed with RTK_FIXED / PPK_FIXED / TOTAL_STATION + exposure photo SHA-256CHECK RMSE <= 50% of legal tolerance (EE default 50 mm H / 25 mm V); span coverage >= 95%; RANSAC residual sigma <= 8 mm; >= 60% inliersscan_registrations (accepted=true), depth_samples, field_evidence, gcp_observations (CHECK)
QL-B (Geophysical)Imported geophysical designation (GPR / EML) with calibrated instrument metadata; NEVER fabricated from SLAM or 3DGS captureBound to imported geophysical survey accuracy & metadata logquality_assessments (standard ASCE_38_22 | PAS_128_2022, inputs jsonb)
QL-C (Surface Visible)Surface-visible appurtenances surveyed (manhole lids, handholes, cabinets, poles) with buried run inferred between themNode surveyed cleanly; connecting span explicitly downgraded to QL-Cinfra_nodes + inferred infra_spans + dxf-ee XDATA ql=QL_C
QL-D (Records / Redline)Existing utility records, MANUAL_REDLINE sketches, or AUTONOMOUS phone GPS without RTK/surveyed controlNo QL-A claim permitted; retained transparently for context & conflict checkingraw_observations (fix_type = AUTONOMOUS | MANUAL_REDLINE), design_features

How asbuilt Audits and Certifies Quality Levels

  1. Capture raw observations with immutable provenance

    Persist source fix_type, antenna height, raw NMEA/LAS headers, and surveyed CONTROL/CHECK targets with SHA-256 evidence digests.

  2. Compute quantitative registration & station metrics [M4]

    Evaluate CHECK-target RMSE, station circle-fit sigma, and >= 95% verified span coverage; flag NO_DETECTION > 1.0 m gaps as unverified.

  3. Propose QL & record surveyor confirmation [M5]

    Write every evaluated metric into quality_assessments.inputs, embed ql= inside DXF ASBUILT XDATA, and require explicit surveyor sign-off (confirmed_by).

Subsurface Quality Level Definitions

CONTROL vs. CHECK Targets
Surveyed GCPs partitioned by role: CONTROL targets solve the registration fit while withheld CHECK targets provide an uninfluenced RMS error audit.
z_reference (TOP_OF_PIPE | AXIS | INVERT)
Explicit vertical datum reference stored on every infra_spans row so burial cover (grade - top_z) never suffers a pipe-radius offset error.
quality_assessments.inputs Reproducibility
Immutable JSONB snapshot of every threshold and observation inspected when proposing QL-A..QL-D, enabling deterministic re-verification at audit time.

Frequently Asked Questions: ASCE 38-22 & PAS 128 in asbuilt

Can a 3D Gaussian Splatting scan or phone LiDAR scan achieve QL-A on its own?

No. Tier 3 phone scans (RoomPlan/ARKit .USDZ) without surveyed control are always capped at QL-D. Tier 2 3DGS exports can only qualify for QL-A when registered to surveyed CONTROL targets and verified by independent withheld CHECK targets within budget.

Why does asbuilt set the Estonian registration CHECK budget to 50 mm H / 25 mm V?

MKM Regulation No. 34 sets legal underground utility tolerances at 10 cm (100 mm) horizontal and 5 cm (50 mm) vertical. asbuilt reserves half of that error budget (50 mm H / 25 mm V) for scan registration so fitting and grade uncertainties remain safely inside statutory limits.

Does the software ever upgrade a span to QL-A automatically without human review?

No. The engine proposes a Quality Level from recorded inputs; under M5 governance a qualified surveyor must confirm or downgrade each span before signing the closeout package.