Stockpile Visualiser

A hand-rolled 3D survey tool for soil and aggregate stockpiles — a rotatable heightfield with pinned sample locations, live volume and tonnage, height and angle-of-repose compliance, and elevation, slope, test-coverage and cut/fill overlays.

$bunx shadcn@latest add @nx-ui/stockpile-visualiser
Registry item

Live survey

The full tool running against a live material-reuse feed: deliveries and removals morph the surface, the volume and tonnage count up, the lab pipeline advances and the activity ledger ticks. Drag to rotate, scroll to zoom, double-click to reset. A class-A HS2-style topsoil pile of roughly 2,400 m³.

SL2A_TS_CLA_GWC_0011

Active

Topsoil (BS 3882)SP 18035 76423

Non-hazardousEWC 17 05 043 pass · 1 at lab · 1 attention
ToeCrest
Volume
2,440

2,440 of 3,000 m³

Tonnage
3,783t

at 1.55 t/m³ (loose)

Max height
4.2m

limit 5 m

Condition
Moisture22%
pH6.8
Organic6.2%
P24mg/L
K180mg/L
Mg96mg/L
Sampling & testing7 points
Recent activity
  • Test

    TP-04 sampled for agronomy

  • Delivery12.0BX73 LPO

    Stripped topsoil, north cutting

  • Delivery11.5YD24 HKE

    Stripped topsoil, north cutting

Analysis overlays

Switch the surface shading between elevation, the angle-of-repose slope check, test coverage (untested lobes run hot) and cut/fill against the previous survey. Each overlay carries its own legend and readout.

SL4B_USS_HAM_STK_0027

Reserved

Upper subsoil (BS 8601)SP 17422 75980

InertEWC 17 05 042 pass · 1 at lab
Peak of 5.8 m breaches the 4 m maximum height (SHU class B).
Faces exceed the 32° angle of repose on the north-west flank (10% of the face).
5.8 m · limit 4 m
0 m5.8 m
Volume
2,104

2,104 of 2,200 m³

Tonnage
3,577t

at 1.7 t/m³ (loose)

Max height
5.8m

limit 4 m · breached

Elevation0 – 5.8 m above toe· base datum 64.0 m AOD
Condition
Moisture18%
pH7.1
Sampling & testing3 points

Compliance attention

A non-hazardous 6F2 capping pile with everything shouting at once: a height breach past the 4 m permit limit, over-steepened faces beyond the 38° angle of repose, and a WAC leachate failure pulsing in the test tally.

SL7C_6F2_CAP_STK_0044

Active

6F2 capping (SHW 613)SP 19110 77002

Non-hazardousEWC 17 05 041 fail · 1 at lab · 1 attention
Peak of 8.0 m breaches the 4 m maximum height (SHU class C).
Faces exceed the 38° angle of repose on the east flank (13% of the face).
8.0 m · limit 4 m
38°+
Volume
2,231

2,231 of 1,800 m³

Tonnage
4,686t

at 2.1 t/m³ (loose)

Max height
8.0m

limit 4 m · breached

Face stabilityPeak slope 59° vs 38° repose· 13% of the face over repose
Condition
Moisture12%
Sampling & testing4 points
Recent activity
  • Delivery14.0GK24 RTV
  • Test

    WS-01 returned a WAC fail

Compact embeds

A header-less, panel-less variant for multi-pile dashboards — each cell is still a fully interactive 3D survey with its volume, tonnage and peak height.

SL2A_TS_CLA_GWC_0011Non-hazardous
ToeCrest
2,4403,783 t · 4.2 m
SL4B_USS_HAM_STK_0027Inert
5.8 m · limit 4 m
ToeCrest
2,1043,577 t · 5.8 m
SL7C_6F2_CAP_STK_0044Non-hazardous
8.0 m · limit 4 m
ToeCrest
2,2314,686 t · 8.0 m

API reference

Exported parts and their props, extracted from the component source.