void update(const osmium::RelationMember& member) { update_int64(member.ref()); update_int16(uint16_t(member.type())); update_string(member.role()); }
void relation_member(const osmium::RelationMember& member) { *m_out += item_type_to_char(member.type()); output_int(member.ref()); *m_out += '@'; append_encoded_string(member.role()); }
/** * Overwritten from the base class. */ bool keep_member(const osmium::relations::RelationMeta& /*relation_meta*/, const osmium::RelationMember& member) const { // We are only interested in members of type way. return member.type() == osmium::item_type::way; }
bool member_is_valid(const osmium::RelationMember& member) { return member.type() == osmium::item_type::way; }
bool keep_member(const osmium::relations::RelationMeta&, const osmium::RelationMember& member) const { return member.type() == osmium::item_type::way; }
bool new_member(const osmium::Relation& /*relation*/, const osmium::RelationMember& member, std::size_t /*n*/) noexcept { return member.type() == osmium::item_type::node; }