Skip to content

Version 3.6.0

Compare
Choose a tag to compare
@lonvia lonvia released this 21 Jan 09:28
· 167 commits to master since this release

This release brings a major rewrite of the libosmium wrapper code. Access to libosmium objects and functions now goes through thin proxy objects which make sure that the underlying data buffers are still accessible. This replaces the check for reference counters which has caused a lot of cryptic errors. Users are still not allowed to keep references to data received in the handler callbacks. However, this will only be checked when data is accessed. Just keeping a reference around will not raise exceptions anymore. str() and repr() are guaranteed to never throw, even when the reference is invalid. That should make it easier to debug your code. These changes are all internal. The user-facing library interface and behaviour hasn't changed. Your code should just work with this new version.

Added

  • new example for creating geojson from a OSM file

Changed

  • complete internal rewrite of the bindings for OSM data types
  • invalid buffers are now checked on access time, no more reference count checks on leaving the handler callback
  • update to pybind 2.10.3
  • update to libosmium 2.19.0
  • change minimum required version of Cmake to 3.0