Unlike vertical buildings—where elements are organized by discrete floor levels (IfcBuildingStorey)—linear rail infrastructure spans kilometres of continuous horizontal and vertical alignment. Validating a rail corridor requires three coordinated pieces:
bis.SpatialIndex) and consistent class/category naming.BS_EN_50122_OCLZ_CCZ_HOOD (dual-zone 25 kV electrification hood), BS_EN_50122_PANTOGRAPH_350 (live pantograph clearance), NETWORK_RAIL_GAUGE_450 (kinematic structure gauge), and RAILWAY_SYSTEMS_SLAB against the live iModel changeset.Before running automated clearance checks in BIM Checker, verify that your federated iModel (synchronized via IFC 4.3 / iTwin Bridge) contains the following physical and spatial data:
BIM Checker's 3D clearance engine (queryRailTrackAlignment and Hs2OclzCczClearanceHandler) resolves the 3D track reference line in priority order:
bis.GeometricElement3d elements whose bis.Category (CodeValue or UserLabel) or UserLabel matches:%RT-Ss_80_70_70% (Uniclass 2015 High-Speed / Heavy Rail Track Systems)%HighSpeedRail%, %TrackCentreline%, %RailLineComponent%, %Track%, or %Rail%h2ml-01 / track 1 / upline and h2ml-02 / track 2 / downline labels separate UP and DOWN tracks automatically.deckElementPatterns (e.g. %Slab%, %Deck%, %Ballast%, %Trackbed%), applying the configured Top of Rail (TOR) Offset.centerlinePoints): If the model lacks queryable centreline geometry, the engine uses the centerlinePoints (or startPoint → endPoint chord) stored on the bound Asset Preset.The BS_EN_50122_OCLZ_CCZ_HOOD harvester (QueryBuilder.buildSpatialHarvestQuery) queries bis.PhysicalElement joined to bis.SpatialIndex for lineside and overhead structures using ec_className(e.ECClassId, 's.c') and e.UserLabel:
%Noise%, %Abatement%, %Acoustic%, %Barrier%, %Parapet%, %Kerb%, %Screen%, %Handrail%, %Fence%, %Mast%, %Pole%, %BridgeDeck%, %Beam%, %Railing%, %Catenary%, %OLE%, %Deck%.%Manhole%, %Chamber%, %Gully%, %Drainage%, %Subsurface% (plus opening, void, space, tendon, rebar, strand).bis.SpatialIndex (MinX/MinY/MinZ/MaxX/MaxY/MaxZ) or Origin + BBoxLow/BBoxHigh. Elements with missing geometry are flagged rather than silently passed.To ensure zero InsufficientInfo results when synchronizing Civil 3D, OpenRail Designer, or Revit/IFC 4.3 models into an iModel:
IfcAlignment / IfcRail or assign the Uniclass category RT-Ss_80_70_70-M-HighSpeedRailTrackCentreline3D.IfcSlab / IfcCivilElement with descriptive UserLabel names (TrackSlab, Ballast, BridgeDeck).UserLabel or CodeValue tags (OLE Mast, Parapet, Acoustic Barrier).bis.SpatialIndex R*Tree is populated after synchronization in the iModel Console.PhysicalElement instances so clash bounding boxes pinpoint the exact offending chainage and element ID.BIM Checker uses a 3-tier polymorphic hierarchy so project teams can inherit universal rail standards while overriding corridor-specific geometry:
CCS-NR-001).CCS-NR-001).HS2 Technical Standards & Clearances (config-hs2-technical) from the Validation Config Selector.preset-nr-dinsdale-allens-west — Dinsdale to Allens West).0+000 to 5+000 (for the 5 km Dinsdale to Allens West corridor).HS2-G2 Structure Gauge Envelope (or Network Rail gauge profile).0.35 m height, 3.80 m width (used by RAILWAY_SYSTEMS_SLAB).4.50 m twin-track spacing and 2.40 m TOR offset above substructure datum.Once the asset and configuration are bound:
BS_EN_50122_OCLZ_CCZ_HOOD: Dual-zone polygonal Overhead Contact Line Zone (6.17 m base) and Current Collection Zone (2.90 m upper zone) up to 5.60 m above Top of Rail.BS_EN_50122_OCLZ_250: Lateral clearance ≥ 2.50 m from track centreline.BS_EN_50122_PANTOGRAPH_350: 3D radial clearance ≥ 3.50 m around the pantograph / contact wire (5.120 m above TOR).NETWORK_RAIL_GAUGE_450 (BS EN 15273): Kinematic structure gauge clearance (≥ 4.50 m / ≥ 0.25 m buffer outside the swept gauge envelope).CORRIDOR_SWEEP): Visualizes the polygonal OCLZ/CCZ hood and railway systems slab along the track alignment.SPATIAL_DEFICIENT_ZONE): Highlights exact elements intruding into the electrical or kinematic envelope, with measured clearance (m), required boundary (m), and chainage/coordinate telemetry.IFCDynamic:OclzClearanceValidationAspect records back to the live iModel changeset.