Skip to content

3D city and terrain

World routes: a scan’s surroundings (Vexcel 3D city mesh, surface model, orthophoto), Matterport’s own scanned mesh with colour baked from the panoramas, and the drone splat’s placement. Owned by the views workstream.

Generated from FastAPI’s OpenAPI schema for server/threshold/api/world.py.

Vexcel’s 3D Tiles, passed through with our key: tileset.json, or tile.glb (Draco geometry, KTX2 texture).

Parameter In Type Required Default Notes
name path string yes

Returns: application/json.

Parameter In Type Required Default Notes
sid path string yes

Returns: application/json.

The 3D city mesh tiles round the scan, nearest first: fine near the building, coarser further out.

Parameter In Type Required Default Notes
sid path string yes

Returns: application/json.

The surface model round the scan as a height grid, and where the two orthophotos that texture it sit.

Parameter In Type Required Default Notes
sid path string yes
size_m query number 360
n query integer 256

Returns: application/json.

The scanned mesh as one binary block (see world/mesh.py pack).

Parameter In Type Required Default Notes
sid path string yes

Returns: application/json.

Whether the colour atlas is baked; asking starts the bake (minutes the first time for a scan).

Parameter In Type Required Default Notes
sid path string yes
start query boolean true

Returns: application/json.

Parameter In Type Required Default Notes
sid path string yes

Returns: application/json.

{splat: bool}: whether this scan has an interior splat that this server can serve. Always a 200, so a page can ask about every scan without a 404 in its console. The splat and its placing are the splat workstream’s routes (api/interior_splat.py).

Parameter In Type Required Default Notes
sid path string yes

Returns: application/json.

Parameter In Type Required Default Notes
sid path string yes

Returns: application/json.