Releases: cityjson/cjio
Releases · cityjson/cjio
v0.10.1
[0.10.1] – 2025-05-09 Changed
- The command medata_remove was renamed to metadata_extended_remove and can be used to remove the deprecated extended metadata from older files
- Fixed the texture_update and texture_locate commands and also the save command with the --texture flag.
- Fixed the conversion from .poly input when the file has comments or 1- index.
- Fixed get_normal_newell(poly) to reject faces with > 3 points Added
- More tests and coverage
- lint and format github action
- --digit option for reprojections Removed:
- Support for extended metadata: specifically the commands metadata_create and metadata_update
- All API functionality is deprecated: cjio.models and some functions from cjio.cityjson have been removed. Also all related tests.
v0.9.0
[0.9.0] – 2023-09-28
Changed
- now CityJSON v2.0 is the default version
- fixes for gltf export
- fix the cjio subset and children
Added
- added an upgrade ops for v2.0 files
v0.8.2
Changed
- Removed the emojis in the console output for the function 'info'
v0.8.1
Added
- Added the
translateparamter tocityjson.compressto manually set the tranlation properties instead of computing from the data. - The
cityjson.cityjson_for_featuresandcityjson.generate_featuresmethods.
Changed
gltf (glb) converter
to_glbsets a root transformation matrix for z-up to y-up, instead of swapping the vertex coordinates directly.- Takes a
do_triangulateargument to completely skip triangulation. - Compute (smooth) normals.
v0.8.0
Added
- added functions for reading/writing CityJSONL (CityJSONFeatures) from stdin/stdout, so cjio can be part of a pipeline of operators processing 3D city models 🚀
Changed
- many small bugs fixed
- The function that used an API are going to be deprecated in the upcoming releases, because the cjio API is under refactoring. The affected functions are
cityjson.save,cityjson.load,cityjson.save,cityjson.load_from_j,cityjson.get_cityobjects,cityjson.set_cityobjects,cityjson.to_dataframe,cityjson.reference_geometry,cityjson.add_to_jand all members of thecityjson.modelsmodule. There is a new cityjson library under development, called cjlib, which will replace the relevant parts in cjio.
v0.7.6
Changed
- cjvalpy >=v0.3 is required to use the latest schemas (v1.1.2)
- fix the parsing of the validation string
v0.7.5
This is a bigger patch release, but there are several improvements on develop that should be on master already, and v0.8.0 is still some time away.
Added
- Subset more than one CityObject type (#9)
models.Geometry.reproject()for reprojecting dereferenced geometry boundaries- Read from
stdinand save tostdout --suppress_msgto suppress all messages. Required when saving tostdout
Fixed
- Subset with BBOX does not modify the input model anymore (#10)
cityjson.load()does not fail on aGeometryInstance, however it does not load it either (#19)- Fixes to the glb exporter (#20, #57, #83), and fixed the coordinate system
textureandmaterialare correctly removed from the geometries of the CityObjects withtextures/materials_removevertex-textureis removed from the CityJSON withtextures_remove- Docker image build (#77, #132)
- Other minor fixes
Changed
v0.7.4
v0.7.3
v0.7.2
Fixed
- String representation of the CityJSON class works again