Skip to content

The TileBakeTool is an executable that converts RD coordinate based CityJSON files from a target folder into combined binary mesh tiles.

Notifications You must be signed in to change notification settings

Amsterdam/CityDataToBinaryModel

Repository files navigation

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.

About

The TileBakeTool is an executable that converts RD coordinate based CityJSON files from a target folder into combined binary mesh tiles.

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages