Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
mesh
mesh

Stanford Open Campus Map 1.0

An unofficial, to-scale 3D model of the Stanford University campus: 1,484 building exteriors, the ground (terrain, roads, paths, lawns, courts, water) and 415,972 trees and plants. Units are metres. Files are glTF 2.0 binary (.glb).

This project is not affiliated with or endorsed by Stanford University.

Blender 5.2: ground, Main Quad, Memorial Church, Hoover Tower and plants

Required credit

Any public use, including a game, render, film or app made with the model, must show:

Contains data from the Stanford Open Campus Map and © OpenStreetMap contributors, ODbL 1.0.

Other sources are in ATTRIBUTION.txt.

Licence

  • The database is under the Open Database License 1.0 (ODbL). Its contents (meshes, textures, materials, tree models) are under the Database Contents License 1.0 (DbCL). Both full texts are in LICENCE.txt.
  • You may use the model for any purpose, commercial use included.
  • A game, image, video or app made with the model is a Produced Work. It may have any licence. It must show the credit above.
  • If you publicly share a changed version of the data itself (for example edited or added buildings as model files), share it under ODbL 1.0.
  • Keep the licence and notices with copies of the data. Plain-language summary and third-party notes: NOTICE.txt. This summary is not legal advice.

Layout

Path What Files Size
buildings/ one .glb per building 1484 920.3 MB
ground/ terrain, ground bundle (roads, paths, lawns, courts, water) and terrain patches 16 482.3 MB
vegetation/ trees and plants, lawn data 9 342.6 MB
metadata/ buildings, layers, frame and release JSON 4 686 KB
sources/ provenance table 1 1 KB
scripts/ Blender plant loader 1 5 KB
preview/ images 1 303 KB

Which file to use:

  • ground/ground-bundle.glb and vegetation/trees-forest.glb are the files the web viewer uses. They need a KTX2 (KHR_texture_basisu) loader. The plants in trees-forest.glb are in a viewer-only format (instance data in scene extras): a glTF loader shows each plant model once at the origin. Use trees-instanced.glb instead.
  • ground/ground-bundle-png.glb is the same ground with PNG textures. Use it in Blender, Unity, Unreal, Godot and other tools.
  • vegetation/trees-instanced.glb holds every plant as standard glTF instancing (EXT_mesh_gpu_instancing): one node per plant model with one transform per plant. vegetation/trees-prototypes.glb holds each of the 149 plant models once, at the origin. vegetation/trees-instances.csv lists every plant: prototype, x, y, z, yaw (radians about +Y), horizontal and vertical scale, tint.
  • vegetation/lawn-field.glb is viewer-only data for the grass shader (no nodes: it imports as an empty scene). vegetation/lawn-mask.png is its 2 m campus mask (R lawn, G dry grass, B mulch, A leaf litter) for scattering grass in your own tool; lawn-mask.json gives its grid.
  • metadata/buildings.json: per building the id, name, OpenStreetMap id, Stanford building number (ids starting with s), triangles, bounds, centre, file, bytes and sha256. metadata/layers.json: the same for ground and vegetation files. metadata/release.json: version, counts, glTF extensions. metadata/frame.json: the coordinate frame.
  • sources/sources.tsv: the source of each layer.

Building ids: w<n> and r<n> are OpenStreetMap way and relation ids (w232805688-hoover-tower is https://www.openstreetmap.org/way/232805688). s<n> ids are buildings from the Stanford campus map that are not in OpenStreetMap.

Coordinate system

  • One frame for every file. Load all files with no transform and they line up.
  • glTF axes: +X east, +Y up, +Z south (so -Z is north). Units: metres.
  • Origin: the centre of the Main Quad courtyard, 37.427486 N, 122.170263 W, at ground level.
  • From UTM zone 10N (EPSG:32610) and NAVD88 heights: x = E - 573412.0847, y = H - 27.4607, z = 4142619.5961 - N. Details in metadata/frame.json.
  • The campus spans about 4 km, so 32-bit float positions keep millimetre precision. No offset is needed.
  • In Blender (Z up) the importer converts the axes: +X east, +Y north, +Z up.

How to load

Blender (4.2 or newer; checked with 5.2.2)

  • File > Import > glTF 2.0. Import any set of building files, ground/terrain.glb, the ground/sol-land-* terrain patches and ground/ground-bundle-png.glb with the default options. They line up with no transform.
  • Trees and plants: do not import trees-instanced.glb in Blender: its importer makes one object per plant, which takes hours for 415,972 plants. Run scripts/blender_trees.py instead (Scripting tab > Open > Run Script, or blender -b -P scripts/blender_trees.py -- <dataset folder> [x0 z0 x1 z1]). It places every plant with Geometry Nodes instances in seconds. Set BOX in the script to load one area.

three.js

import {GLTFLoader} from 'three/addons/loaders/GLTFLoader.js';
import {KTX2Loader} from 'three/addons/loaders/KTX2Loader.js';
const loader = new GLTFLoader().setKTX2Loader(new KTX2Loader().setTranscoderPath('basis/').detectSupport(renderer));
for (const f of ['ground/terrain.glb', 'ground/ground-bundle.glb', 'vegetation/trees-instanced.glb', 'buildings/w232805688-hoover-tower.glb'])
  scene.add((await loader.loadAsync(f)).scene);

GLTFLoader loads trees-instanced.glb as InstancedMesh objects. Without KTX2Loader, use ground-bundle-png.glb.

Unity: import the .glb files with glTFast (com.unity.cloud.gltfast). Use ground-bundle-png.glb. If your glTFast version does not create the plant instances, import trees-prototypes.glb and place the rows of trees-instances.csv with a script. Unity is left-handed: the importer converts the axes, so keep the imported roots at the origin.

Godot 4: put the .glb files in the project; Godot imports them as scenes. Use ground-bundle-png.glb. For the plants, use trees-instanced.glb if your Godot version supports EXT_mesh_gpu_instancing; otherwise import trees-prototypes.glb and fill a MultiMeshInstance3D per prototype from trees-instances.csv (x, y, z; rotation yaw about +Y; scale (s_xz, s_y, s_xz)).

Unreal Engine: the glTF importer (Interchange) imports buildings and ground; use ground-bundle-png.glb. For plants, use trees-prototypes.glb and the CSV (for example with a PCG graph or a Python script). Unreal uses centimetres and Z up; the importer converts.

Sizes

  • Buildings: 1,484 files, 14.6 million triangles, 920.3 MB. The largest is the Main Quad.
  • Plants: 415,972 instances of 149 models. The full-detail plant models add up to about 956 million triangles if every plant is drawn, so use instancing (all the loaders above do) or load an area.
  • Whole release: 1.75 GB.

Known limits

  • Unofficial. Not a survey. Footprints come from OpenStreetMap (snapshot 2026-11-04) and heights from USGS lidar. Facades, roofs and details were modelled from photos and imagery by eye. Many details are estimates, and some small buildings are simple.
  • Exteriors only. There are no interiors.
  • Some look comes from the viewer's shaders and is not in the files: grass blades and lawn colour variation (lawn-field), leaf lighting, the per-plant colour tint (kept as _TINT / tint data), far-distance impostors, and the sky and sun. In a plain glTF renderer lawns look flatter and plants look darker.
  • The viewer's medium-detail plant meshes and impostor atlases are only in trees-forest.glb. The DCC plant files use the full-detail meshes. In the viewer, the trunks of widened trees are kept thinner; the standard files scale the whole tree.
  • ground-bundle.glb and ground-bundle-png.glb have 19 glTF validator errors (ACCESSOR_VECTOR3_NON_UNIT: a few normals are not unit length). Renderers handle them.
  • Material names in the ground are hashes (for example ground_c61548b2). Building materials have readable names.
  • Signs and lettering on some buildings are approximate reproductions. Names and logos are trademarks of their owners; this release grants no trademark rights.

Changes

See CHANGELOG.md.

Downloads last month
40