Skip to content

Releases: cityjson/cjio

v0.9.0

28 Sep 06:38
Compare
Choose a tag to compare

[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

13 Jul 13:26
Compare
Choose a tag to compare

Changed

  • Removed the emojis in the console output for the function 'info'

v0.8.1

06 Feb 17:50
Compare
Choose a tag to compare

Added

  • Added the translate paramter to cityjson.compress to manually set the tranlation properties instead of computing from the data.
  • The cityjson.cityjson_for_features and cityjson.generate_features methods.

Changed

gltf (glb) converter

  • to_glb sets a root transformation matrix for z-up to y-up, instead of swapping the vertex coordinates directly.
  • Takes a do_triangulate argument to completely skip triangulation.
  • Compute (smooth) normals.

v0.8.0

28 Nov 08:50
Compare
Choose a tag to compare

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_j and all members of the cityjson.models module. There is a new cityjson library under development, called cjlib, which will replace the relevant parts in cjio.

v0.7.6

12 Sep 07:40
Compare
Choose a tag to compare

Changed

  • cjvalpy >=v0.3 is required to use the latest schemas (v1.1.2)
  • fix the parsing of the validation string

v0.7.5

30 Aug 08:48
Compare
Choose a tag to compare

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 stdin and save to stdout
  • --suppress_msg to suppress all messages. Required when saving to stdout

Fixed

  • Subset with BBOX does not modify the input model anymore (#10)
  • cityjson.load() does not fail on a GeometryInstance, however it does not load it either (#19)
  • Fixes to the glb exporter (#20, #57, #83), and fixed the coordinate system
  • texture and material are correctly removed from the geometries of the CityObjects with textures/materials_remove
  • vertex-texture is removed from the CityJSON with textures_remove
  • Docker image build (#77, #132)
  • Other minor fixes

Changed

  • Export format is an argument, not an option (#35), e.g. cjio ... export obj out.obj
  • NumPy is a hard requirement
  • Require pyproj >= 3.0.0 (#142)
  • Refactor warnings and alert printing (#143)

v0.7.4

20 Jun 11:39
Compare
Choose a tag to compare

Fixed

  • crash wiht new version of Click (>=8.1) (#140)

Added

  • templates for bug reporting

v0.7.3

15 Dec 16:52
Compare
Choose a tag to compare

Fixed

v0.7.2

02 Dec 09:10
Compare
Choose a tag to compare

Fixed

  • String representation of the CityJSON class works again

v0.7.1

01 Dec 14:02
Compare
Choose a tag to compare
  • save operator was crashing for unknown reasons sometimes, this is fixed