Recent Releases of cjio

cjio - v0.10.1

[0.10.1] – 2025-05-09
Changed * The command medataremove was renamed to metadataextendedremove and can be used to remove the deprecated extended metadata from older files * Fixed the textureupdate and texturelocate 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 getnormalnewell(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 metadatacreate and metadata_update * All API functionality is deprecated: cjio.models and some functions from cjio.cityjson have been removed. Also all related tests.

- Python
Published by GinaStavropoulou about 1 year ago

cjio - 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

- Python
Published by hugoledoux almost 3 years ago

cjio - v0.8.2

Changed

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

- Python
Published by hugoledoux almost 3 years ago

cjio - v0.8.1

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.

- Python
Published by balazsdukai over 3 years ago

cjio - 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_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.

- Python
Published by hugoledoux over 3 years ago

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

- Python
Published by hugoledoux almost 4 years ago

cjio - 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 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)

- Python
Published by balazsdukai almost 4 years ago

cjio - v0.7.4

Fixed

  • crash wiht new version of Click (>=8.1) (#140) ### Added
  • templates for bug reporting

- Python
Published by hugoledoux about 4 years ago

cjio - v0.7.3

Fixed

  • STL export (#127)

- Python
Published by balazsdukai over 4 years ago

cjio - v0.7.2

Fixed

  • String representation of the CityJSON class works again

- Python
Published by balazsdukai over 4 years ago

cjio - v0.7.1

  • save operator was crashing for unknown reasons sometimes, this is fixed

- Python
Published by hugoledoux over 4 years ago

cjio - v0.7.0

Changed

  • Minimum required CityJSON version is 1.1
  • Many operators names changed, it's now "property-verb", so that all the operators related to textures for instance are together
  • The metadata are only updated (with lineage) when there is a metadata-extended property in the file, otherwise nothing is modified
  • The schema validator (operator validate) is not written in Python anymore and part of cjio, it's using cjval and its Python binding (which needs to be installed). The validator is several orders of magniture faster too

Added

  • A new operator triangulate that triangulates each surface of the input (de-triangulate coming soon)

Fixed

  • Several bugs were fixed

API

  • Loading a file with cityjson.load() removes the transform property from the file

- Python
Published by hugoledoux over 4 years ago

cjio - v0.6.10

Changed

  • Minimum required Python is 3.6

Fixed

  • Click option is set to None when empty (#99)
  • Loading breaks on inconsistent semantics (#102)
  • extract_lod doesn't work with the improved LoD (#80)

API changes

  • Added CityJSON.load_from_j
  • Make transformation the default on loading a cityjson
  • CityJSON.add_to_j includes reference_geometry, no need to call it separately

- Python
Published by balazsdukai over 4 years ago

cjio - v0.6.9

  • version with schemas 1.0.3 (where metadata schema is fixed)
  • fix bugs with operators update_metadata_cmd() and get_metadata_cmd() crashing

- Python
Published by hugoledoux almost 5 years ago

cjio - v0.6.8

bug fix with metadata automatic generation

- Python
Published by hugoledoux over 5 years ago

cjio - v0.6.7

  • fix bug: crash when validating files containing Extensions under Windows

- Python
Published by hugoledoux over 5 years ago

cjio - v0.6.6

the version of cjio __init__.py is here updated, had forgotten...

- Python
Published by hugoledoux over 5 years ago

cjio - v0.6.5

fix a small bug where validation was crashing is error at the root

- Python
Published by hugoledoux over 5 years ago

cjio - v0.6.4

minor fix so that validation of files with extensions doesn't stupidly crash

- Python
Published by hugoledoux over 5 years ago

cjio - 0.6.3

minor bug fixes, plus:

  • better output of validation report
  • validation has option --long for more details

- Python
Published by hugoledoux over 5 years ago

cjio - small fix for errors in 0.6.1

- Python
Published by hugoledoux over 5 years ago

cjio - fix to add schemas v1.0.1

- Python
Published by hugoledoux over 5 years ago

cjio - v0.6.0

Added

  • Convert to Binary glTF (glb)
  • Convert to Batched 3D Models (b3dm) - Output is probably incorrect though
  • Progress bar for the reproject command
  • Started a proof of concept for an API. You can read about the first struggles in docs/design_document.ipynb. Mainly implemented in models and a few additional methods in cityjson. Plus a bunch of tests for the API (#13)
  • Add tutorials and dedicated documentation
  • Docker image and Travis build for it (#25)
  • Generate metadata (#56)
  • STL export format (#66)

Changed

  • click messages, warnings got their functions and placed into the utils module
  • only EPSG codes are supported for the CRS's URN
  • When --indent is passed to save, tabs are used instead of spaces. Results in smaller files.

Fixes

  • Fix precision when removing duplicates (#50)

- Python
Published by balazsdukai over 5 years ago

cjio - first version available on PyPi

https://pypi.org/project/cjio/

- Python
Published by hugoledoux about 8 years ago