njam / citygml-to-3dtiles

Convert from CityGML to Cesium 3D Tiles.
Apache License 2.0
160 stars 41 forks source link

Add initial 2D tiling support #48

Open lmichaelis-fhg opened 3 months ago

lmichaelis-fhg commented 3 months ago

This patch adds a very basic form of tiling support by allowing users to specify a number of tiles per side (a rectangle) and then generating n by n tiles, ignoring the height dimension. This allows larger GML files to be split into multiple b3dm files which can be loaded individually. Each tile effectively acts as its own 3D tileset. To produce one big tileset, a new tileset.json file is created, which references all other tiles by providing URIs.

Note that this patch does not introduce LODs.