Converter for CityJSON files and IFC. Currently only supports one-way conversion from CityJSON to IFC.
- IfcOpenShell (also IfcOpenShell api is needed)
- CJIO (>=0.8, <1.0)
An extended ifccityjson tutorial can be found on the OSARCH wiki Following command will execute a conversion from CityJSON to IFC
python ifccityjson.py [-i input file] [-o output file] [-n name of identification attribute]
The example file that could be used is example/3D_BAG_example.json
python ifccityjson.py -i example/3DBAG_example.json -o example/3DBAG_example.ifc -n identificatie
- "MultiPoint"
- "MultiLineString"
- "MultiSurface"
- "CompositeSurface"
- "Solid": exterior shell
- "Solid": interior shell
- "MultiSolid"
- "CompositeSolid"
- "GeometryInstance"
- CityJSON Attributes as IFC properties in 'CityJSON_attributes' pset
- Implement georeferencing
- Do not use template IFC for new IFC file, but make IFC file from scratch
- Create mapping to IFC for all CityJSON object types & semantic surfaces
- Implement conversion of all CitYJSON geometries
- Implement conversion of all LODs instead of only the most detailed