Libosmium
2.20.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <object_relations.hpp>
Public Member Functions | |
ObjectRelations (index_type &n2w, index_type &n2r, index_type &w2r, index_type &r2r) | |
void | way (const osmium::Way &way) |
void | relation (const osmium::Relation &relation) |
Public Member Functions inherited from osmium::handler::Handler | |
void | osm_object (const osmium::OSMObject &) const noexcept |
void | node (const osmium::Node &) const noexcept |
void | way (const osmium::Way &) const noexcept |
void | relation (const osmium::Relation &) const noexcept |
void | area (const osmium::Area &) const noexcept |
void | changeset (const osmium::Changeset &) const noexcept |
void | tag_list (const osmium::TagList &) const noexcept |
void | way_node_list (const osmium::WayNodeList &) const noexcept |
void | relation_member_list (const osmium::RelationMemberList &) const noexcept |
void | outer_ring (const osmium::OuterRing &) const noexcept |
void | inner_ring (const osmium::InnerRing &) const noexcept |
void | changeset_discussion (const osmium::ChangesetDiscussion &) const noexcept |
void | flush () const noexcept |
Private Types | |
using | index_type = osmium::index::multimap::Multimap< unsigned_object_id_type, unsigned_object_id_type > |
Private Attributes | |
index_type & | m_index_n2w |
index_type & | m_index_n2r |
index_type & | m_index_w2r |
index_type & | m_index_r2r |
This handler updates the indexes given to the constructor with the relations between objects.
Note: This handler will only work if either all object IDs are positive or all object IDs are negative.
|
private |
|
inlineexplicit |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |