Skip to content

tudelft3d/cityjson-lcc-reconstructor

Repository files navigation

CityJSON LCC Reconstructor

A tool that reconstructs a CityJSON file to a Linear Cell Complex. The LCC can then be either saved a three-dimensional combinatorial map file (.3map) or as a CityJSON file with the LCC data stored according to the LCC Extension.

Requirements

  • CGAL: The LCC (and Combinatorial Map) package is used for the topological represntation.
  • JSON for Modern C++: Used for JSON parsing (the required files are included in source code).
  • CMake: To compile this code.

Installation

  1. Clone this repository.
  2. Install CGAL (instructions here).
  3. Install CMake.
  4. Build the software:
mkdir build
cd build
cmake ..
make

Usage

./cityjson2lcc /path/to/cityjson.json -n /path/to/new_files.json -p [number_of_decimal_digits]

About

A tool to topologically reconstruct a CityJSON model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published