Version 2.18.0
Changed
- Use
system_error
instead ofruntime_error
where it fits better. - Remove
OSMIUM_NORETURN
macro. This hasn't been used in a while.
Removed deprecated parts of the code
Several parts of libosmium have been marked deprecated, many of them for a very long time. These are now removed:
- Sparsehash index class
osmium::index::map::SparseMemTable
as well as the complete fileosmium/index/map/sparse_mem_table.hpp
. - Callback functionality of the
osmium::memory::Buffer
class. Theset_full_callback()
will not be available any more. See the source for replacement options. - Various
osmium::builder::build_*
functions inosmium/builder/builder_helper.hpp
. Useosmium::builder::add_*
functions instead. Removesbuilder_helper.hpp
. osmium::builder::Builder::add_item(const osmium::memory::Item* item)
. Use the function of the same name taking a reference instead.osmium::builder::OSMObject/ChangesetBuilder::add_user()
. Useset_user()
instead.osmium::builder::ChangesetBuilder::bounds()
returning a modifiable reference. Useset_bounds()
instead.- Several functions around
osmium::io::OutputIterator
. osmium::Area::inner_ring_cbegin/cend()
, useinner_rings()
instead.osmium::RelationMember::ref()
, useset_ref()
instead.- Implicit conversion from
osmium::Timestamp
tostd::time_t
. Useseconds_since_epoch()
instead. osmium::string_to_user_id()
, usestring_to_uid
instead.osmium::static_cast_with_assert()
helper functions as well as the complete include fileosmium/util/cast.hpp
.- Some constructors of
osmium::util::MemoryMapping
andosmium::util::TypedMemoryMapping
. Use other constructor instead.