Skip to content

Version 2.8.0

Compare
Choose a tag to compare
@joto joto released this 04 Aug 07:19
· 1357 commits to master since this release

Added

  • EWKT support.
  • Track pop type calls and queue underruns when OSMIUM_DEBUG_QUEUE_SIZE
    environment variable is set.

Changed

  • Switched to newest protozero v1.4.0. This should deliver some speedups
    when parsing PBF files. This also removes the DeltaEncodeIterator class,
    which isn't needed any more.
  • Uses std::unordered_map instead of std::map in PBF string table code
    speeding up writing of PBF files considerably.
  • Uses less memory when writing PBF files (smaller string table by default).
  • Removes dependency on sparsehash and boost program options libraries for
    examples.
  • Cleaned up threaded queue code.

Fixed

  • A potentially very bad bug was fixed: When there are many and/or long strings
    in tag keys and values and/or user names and/or relation roles, the string
    table inside a PBF block would overflow. I have never seen this happen for
    normal OSM data, but that doesn't mean it can't happen. The result is that
    the strings will all be mixed up, keys for values, values for user names or
    whatever.
  • Automatically set correct SRID when creating WKB and GEOS geometries.
    Note that this changes the behaviour of libosmium when creating GEOS
    geometries. Before we created them with -1 as SRID unless set otherwise.
    Manual setting of the SRID on the GEOSGeometryFactory is now deprecated.
  • Allow coordinates of nodes in scientific notation when reading XML files.
    This shouldn't be used really, but sometimes you can find them.