← Lab bench
EXP-107Result

Setting the scale of a container terminal's 3D to within 0.7%, using its own shipping containers as the ruler

±0.7%

scale uncertainty in our 3D of a container terminal, set from 11 of its own containers, with no survey and no GPS

A container terminal's yard seen straight down in our 3D, then the same view with the container blocks, yard gantries, lanes, gate and a likely reefer block outlined and labelled, with a 100 m scale bar (Yard mapped to scale)A container terminal's yard seen straight down in our 3D, then the same view with the container blocks, yard gantries, lanes, gate and a likely reefer block outlined and labelled, with a 100 m scale bar (Our 3D, from above)
◂▸
Our 3D, from aboveYard mapped to scale

Stock drone footage has no GPS and no survey points, so any 3D built from it has no true size until something in the picture tells you. A container terminal carries thousands of the most standard objects in the world: a 40 ft box is 12.192 m long, by international standard. We picked the edges of 13 containers on the full-size frames, cast each edge through the solved camera onto the ground or the top of its stack, and read the scale from each box. Eleven agreed to 2.2% each, which puts the mean within 0.7%; two read 12 to 15% long, which fits 45 ft boxes, so they were left out. With that scale we mapped the yard: ten container blocks, seven ship-to-shore cranes, ten yard gantries, the lanes, the gate and a likely reefer block, each with its accuracy stated. The port, its operator and its country are not named. Built from stock drone footage.

What we tried

  • We built a 3D of the terminal from four stock drone clips, 451 frames in all.
  • We picked the edges of 13 standard 40 ft containers on the full-size frames: bottom edges on the ground, top edges of stacks one to four high, and boxes on trailers.
  • We cast each edge through its solved camera onto a level plane at that edge's height, refined the heights and the scale together, and gave each box one value.
  • We checked the scale against things it was not built from: the same box in other frames, one edge seen from three frames, the length of the ship at the berth and the height of the quay cranes.
  • We traced the yard on a top-down map at half a metre a pixel, and tagged every figure as measured or estimated.

What we measured

MeasureResultNote
Scale±0.7%Standard error of the mean over 11 containers; about ±1.4 m over 200 m
Containers used11 of 132.2% spread per box; two read 12 to 15% long, which fits 45 ft boxes, and were left out
Same box, other frameswithin 1 to 3%One edge seen from three frames agrees within 2%
Ship at the main berthabout 400 m longNormal for a large container berth; an estimate, ±10 m each end
Quay cranes71 to 82 m at the top±3 m each; seven located, five on the main berth
Yard surfacelevel to about ±0.4 mAcross the main yard
Yard mapped10 blocks, 10 yard gantries, 6 lanesPlus the gate and a likely reefer block; positions ±5 m on the west side, ±15 m on the east
Stack heights±1.5 mTiers ±1, since box heights mix 2.59 m and 2.90 m
Footage451 frames from 4 clipsThe measured 3D rests on the first two clips (130 and 45 frames); the other two formed the floating copy
3D against the footage25.2 dBPSNR, how closely the 3D matches the drone frames

What went wrong

  • The last two clips would not join the first two. They solved as a second, smaller copy of the terminal, floating 40 to 130 m above the real one and holding over half the 3D's points. It is masked out, not aligned.
  • Frames from that copy first gave false scales of 60 to 90 m a unit, until we saw they belonged to a different block.
  • The ground was first set about 3 m too low, which skewed every edge cast onto it. It was refitted before the scale was read.
  • Crane booms ghost in the 3D: they are thin, tall and seen from few angles.
  • Our earlier attempt at a container yard read its scale from stack heights, at about ±10%. Measuring box lengths instead made the mean about 14 times tighter.

What happens next

  • Register the second copy onto the main 3D, so all four clips count.
  • One surveyed point or a known quay length, to check the container scale against something independent.
  • A repeat flight, to read yard fill and crane positions over time.
Cover of the book Gaussian Splatting in 2026
The book behind the lab

Get the book today: learn Gaussian splatting and apply it to real projects.

People keep asking how we build what you see here. The book walks students, educators and practitioners from a drone clip to a measured 3D in the browser, with hands-on labs and the code.

Teaching a course (Level 5, Level 6 and up)? Email junaid.malik@simamdigital.com about a class discount.