TwinCityAPI is a standardized server implementation for managing and processing 3D city models. Built on OGC API specifications, it provides both Features and Processes endpoints for comprehensive urban data management. For an optimal user experience, it is recommended to use this API with the TwinCityViewer frontend application.
- OGC API Features compliant endpoint for CityJSONSeq data delivery
- OGC API Processes endpoint for computational operations
- Built with FastAPI and CityDPC
- Automatic CityGML/CityJSON import processing
- File-based data management system
To load CityJSON/CityGML files please place them in the collections directory. Please make sure that the coordinate system is given following the CityJSON specification.
Please make sure to install the required dependecies using
pip install -r requirements.txt
You can start the API by running
uvicorn app.main:app --reload
in your terminal. Alternatively you can also run the Dockerfile