github osmcode/libosmium v2.10.0
Version 2.10.0

latest releases: v2.20.0, v2.19.0, v2.18.0...
7 years ago

Added

  • The Reader can take an additional optional read_meta flag. If this is
    set to false the PBF input will ignore metadata on OSM objects (like version,
    timestamp, uid, ...) which speeds up file reading by 10 to 20%.
  • New IdSet virtual class with two implementations: IdSetDense and
    IdSetSmall. Used to efficiently store a set of Ids. This is often needed
    to track, for instance, which nodes are needed for ways, etc.
  • Added more examples and better documented existing examples.
  • Add a benchmark "mercator" converting all node locations in a file to
    WebMercator and creating geometries in WKB format.

Changed

  • Better queue handling makes I/O faster in some circumstances.
  • The FindOsmium.cmake CMake script can now check a current enough libosmium
    version is found.
  • Builders can now be constructed with a reference to parent builder.
  • Made builders more robust by adding asserts that will catch common usage
    problems.
  • Calling OSMObjectBuilder::add_user() is now optional, and the method was
    renamed to set_user(). (add_user() is marked as deprecated.)
  • Benchmarks now show compiler and compiler options used.
  • Builder::add_item() now takes a reference instead of pointer (old version
    of the function marked as deprecated).
  • GEOS support is deprecated. It does not work any more for GEOS 3.6 or newer.
    Reason is the changed interface in GEOS 3.6. If there is interest for the
    GEOS support, we can add support back in later (but probably using the
    GEOS C API which is more stable than the C++ API). Some tests using GEOS
    were rewritten to work without it.
  • The BoolVector has been deprecated in favour of the new IdSet classes.
  • Lots of code cleanups and improved API documentation in many places.
  • The relations collector can now tell you whether a relation member was in
    the input data. See the new is_available() and
    get_availability_and_offset() methods.
  • Updated embedded Catch unit test header to version 1.5.8.

Fixed

  • Parsing of coordinates starting with decimal dot and coordinates in
    scientific notation.
  • ~ operator for entity_bits doesn't set unused bits any more.
  • Progress bar can now be (temporarily) removed, to allow other output.

Don't miss a new libosmium release

NewReleases is sending notifications on new releases.