# Height color

In this tileset, the color of each building is based on its height. The highter is the building, more the color tends to red.

## How to create the tileset

The tileset was created with [Py3DTilers](https://github.com/VCityTeam/py3dtilers), an open source toolkit to create 3D Tiles out of various geometrical formats (OBJ, GeoJSON, IFC or CityGML), using the [GeojsonTiler](https://github.com/VCityTeam/py3dtilers/tree/master/py3dtilers/GeojsonTiler).

Buildings are from open data and can be found online: 'BATI' of [BD TOPO DÉPARTEMENT SHAPEFILE - RHÔNE](https://geoservices.ign.fr/telechargement) of IGN. Data was converted from Shapefile to GeoJSON with [QGIS](https://www.qgis.org/en/site/).

To install and use Py3DTilers, see online documentation: [installation](https://github.com/VCityTeam/py3dtilers?tab=readme-ov-file#installation-from-sources) & [usage](https://github.com/VCityTeam/py3dtilers?tab=readme-ov-file#usage).

The command used to created the tileset is:

```bash
geojson-tiler -i <path>/buildings_lyon1.geojson --is_roof --add_color HAUTEUR -o Lyon-1_2021_Height_Color
```
