Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Latest commit

 

History

History
43 lines (25 loc) · 2.08 KB

README.md

File metadata and controls

43 lines (25 loc) · 2.08 KB

⚠️ Development Has Moved!

Attention: Development for this project has moved to a new location. Please refer to github.com/Netherlands3D/CartesianTileBakeTool for the latest updates and contributions.

If you have any questions or concerns, feel free to reach out to us.

CityDataToBinaryModel

TileBakeTool

The TileBakeTool is an executable that converts RD coordinate based CityJSON files from a target folder into combined binary mesh tiles. City Objects are added to tiles using an OVERLAP or TILED method.

OVERLAP places a CityObject in a mesh tile if its centroid is within the tile bounds. TILED cuts CityObjects using the bounds and places the parts into their tiles.

The TileBakeTool can selectively reduce polycount of specific CityObjects, and/or combine double verts, reducing filesize.

Using the Tile Bake Tool

Download the latest release from the releases page and extract with .zip file with all its contents to a folder.
Please note TileBakeTool.exe is not portable and all .dll files are required for the tool to run.

Use TileBakeTool.exe --help to display the available parameters.
Best practice is to supply the required parameters via a config .json file.

Please take a look at the example JSON config files in the config folder.

Use TileBakeTool.exe --config PathToYourConfigFile.json to start the tool using the config file.

Binary tile data

Binary tile byte order

GLTF Wrapper

Gltf files are created next to the binary tiles as a wrapper for the binary data. This way the binary tiles can be used standalone, or used/imported as Gltf files with external binary mesh data. The Gltf files also allow you to load/preview the 3D output using 3D viewers/tools like the standard Windows 3D Viewer.

Brotli compression

The TileBakeTool can optionaly create compressed versions of the binary tiles using Brotli compression, reducing download times for streaming in the data in web applications.