The base scene is the part nobody budgets
Container terminal digital twins usually fail on the same missing layer. The sensor layer is over-specified — crane PLC data, truck positioning, reefer telemetry, gate OCR — and the ground underneath it is an empty plane. Adoption dies quietly in the second quarter, because operations staff look at a viewport full of tags with no terminal in it.
The expensive part is the site reconstruction. This post is about treating that reconstruction as a pipeline input with a data contract, using GenAnywhere's GLB output as the first stage.

GenAnywhere is a browser-based AI site reconstruction platform from Hangzhou Duosuan Technology. You frame an area on a map, the model parses satellite imagery, and it returns a textured mesh scene with buildings, terrain, vegetation and water as separate layers; in port mode it also recognizes container stacks, quay cranes, sheds, tank farms and berthed vessels. The scene is editable in the browser and exports as GLB.
What the upstream contract actually promises
Two properties matter to an integration engineer.
Layering. Terrain, buildings, vegetation, water and infrastructure arrive as separable content. That means you can drop vegetation on a tablet viewer and keep it on a workstation, without re-authoring the asset.
Concept-level accuracy, explicitly. Heights are estimated, dense sheds may be merged, water boundaries may need redrawing, and the imagery carries a capture date older than the ground. Treat the GLB as a generative first draft with an error budget, not as measured geometry. A container terminal is exactly the kind of site where someone will measure off the screen, so the error budget has to travel with the asset.
Pipeline shape
map frame -> reconstructed scene -> GLB export
-> normalize (headless Blender / gltf-transform)
-> LOD + collision + instancing
-> engine import (Unreal Datasmith or glTF)
-> semantic tagging (quay, crane, block, gate, water)
-> terminal twin runtime
Keep the exported GLB immutable. Every downstream step should be reproducible from that file plus a config, or you cannot tell whether a bad frame comes from the source scene or from your processing.
Stage 1: normalize before import
Engines forgive a lot and never forgive units. Do this outside the engine.
Confirm the axis convention. glTF is Y-up, Unreal is Z-up. A naive import produces a terminal lying on its side, which is amusing once, at 3 a.m., in front of a client.
Decimate terrain, not the operational objects. Terrain usually dominates triangle count; crane geometry and container blocks carry the visual meaning. Set a terrain budget — for a 2 km² terminal, 150k to 300k triangles at a 2 m grid is a reasonable LOD0 — and halve it per LOD.
Split static from semantic. Buildings and terrain are static. Cranes and container blocks should resolve into named nodes so the runtime can bind a crane ID or a block ID from the TOS to a specific object instance.
Bake what you can. Vertex color or one vertex-blended material cuts draw calls on a scene with thousands of container faces.
import bpy
bpy.ops.import_scene.gltf(filepath="terminal.glb")
for obj in bpy.data.objects:
if obj.type == "MESH":
if "terrain" in obj.name.lower():
mod = obj.modifiers.new("decimate", "DECIMATE")
mod.ratio = 0.35
obj["source"] = "genanywhere"
obj["imagery_window"] = "2025-Q3"
The imagery_window custom property is not decoration. Anything that renders a berth or crane-reach study downstream should be able to read when the ground was last true.

Stage 2: LOD, collision and instancing
Three LODs are usually enough: full mesh for hero views, decimated terrain for site-wide flight, and a low-poly proxy for the web viewer used by gate staff. Collision is less about rendering and more about the walkthrough mode operations teams use during induction — you want to stop at the fence, not walk through it.
Instancing matters at a terminal more than almost anywhere else. One container block asset, one ship-to-shore crane asset, one RTG asset, instanced across reconstructed positions, is both cheaper and more correct than hundreds of duplicated meshes. It also lets you swap a crane model when the fleet is mixed.
Stage 3: semantic tagging
A scene is not a twin until objects mean something. Minimum viable tagging for a container terminal:
Node class
Tag
Why it exists
Quay segments
berth_id
Binds vessel calls and crane assignments
Cranes
crane_id, span_m
Reach checks and productivity overlays
Blocks
block_id, capacity_teu
Yard occupancy and dwell analysis
Gate lanes
lane_id
Truck turnaround and queue modeling
Water
depth_source
Distinguishes modeled water from surveyed bathymetry
Boundary
terminal_boundary
Access control and spatial queries
Do this in the import script, not by hand in the editor. Manual tagging is skipped the next time the scene is regenerated.
Stage 4: validation that is cheap to automate
Three checks, run per regeneration.
Scale check. Measure a known span — the crane rail gauge, or the distance between two surveyed bollards — and compare against the as-built value. A 5 percent error is tolerable for visualization and fatal for anything that derives a reach envelope from it.
Vertical check. Compare terrain elevation at the gate against a surveyed spot elevation. Satellite-derived relief is adequate for screening, not for pavement design.
Completeness check. Count cranes and blocks against the TOS asset register. Missing or duplicated objects are the most common reconstruction error on a terminal with heavy shed cover.
Top comments (0)