A project to visualize Bordeaux and the CUB in 3D. Based on Open Data.
- Get the 3D data
Right now the data has to be downloaded via the dedicated GUI. Once you have it, put it somewhere. It should be a .zip archive named BATI3D_NT.zip
or equivalent.
-
git clone
the project -
npm install
-
Extract all the buildings and metadata in
front/data
:
node tools/unzipCUB3ds.js --out front/data/ --zip path/to/3Ddata/BATI3D_NT.zip
It should take about 5 minutes in normal hardware. This will extract all the buildings and other 3d objects from the open data in .3ds format. It will create thousands of binary files in front/data/
as well as a file names metadata.json
.
npm run build
npm start
npm run watch