Skip to content
forked from tudelft3d/City3D

Large-scale LoD2 Building Reconstruction from Airborne LiDAR Point Clouds

Notifications You must be signed in to change notification settings

baal-lgln/City3D

 
 

Repository files navigation

City3D Containerized

This repository is a fork of City3D with the purpose of reducing the cumbersome C++ build process by using a Dockfile. Additionally all code needed for the graphical user interface is removed because the intention is to run the resulting container image in a cloud/kubernetes environment.

Get the Image

docker pull ghcr.io/baal-lgln/city3d:latest

Local development and testing

Build the image with:

docker build --pull --rm -t city3d:latest .

Mount a volume with your data at $(PWD)/data and run the image with:

docker run --rm -it \
    -v ${PWD}/data:/data \
    city3d:latest \
    ./city3d_cli -f /data/001_footprint.obj -p /data/001.ply -o /data/001_result.obj

Some test data can be found in the original repository.

Local build

If you want to build the project yourself:

python3 -m venv .venv
source .venv/bin/activate # Linux
# source .venv/Scripts/activate # Windows
python3 -m pip install conan
conan install . --build=missing
cd build/Release
source ./generators/conanbuild.sh
cmake ../.. -DCMAKE_TOOLCHAIN_FILE=generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
cmake --build .
# run city3d
./bin/city3d -h

About

Large-scale LoD2 Building Reconstruction from Airborne LiDAR Point Clouds

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • C++ 98.9%
  • Other 1.1%