In this example, the color of each building is based on its height. The highter is the building, more the color tends to red.
The tileset was created with Py3DTilers, an open source toolkit to create 3D Tiles out of various geometrical formats (OBJ, GeoJSON, IFC or CityGML), using the GeojsonTiler.
Buildings are from open data and can be found online: 'BATI' of BD TOPO DÉPARTEMENT SHAPEFILE - RHÔNE of IGN. Data was converted from Shapefile to GeoJSON with QGIS.
To install and use Py3DTilers, see online documentation: installation & usage.
The command used to created the tileset is:
geojson-tiler -i <path>/buildings_lyon1.geojson --is_roof --add_color HAUTEUR -o Lyon-1_2021_Height_Color
The tileset is available online here
This work is part of the TIGA project and was developed by the Labex IMU and the Liris lab.