Esempio n. 1
0
 void update(const osmium::RelationMember& member) {
     update_int64(member.ref());
     update_int16(uint16_t(member.type()));
     update_string(member.role());
 }
Esempio n. 2
0
 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());
 }