Versions in this module Expand all Collapse all v0 v0.6.0-alpha.4 Apr 17, 2018 v0.5.0 Nov 21, 2017 Changes in this version + const COORD_FACTOR + var ErrIntOverflowMessages = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthMessages = fmt.Errorf("proto: negative length found during unmarshaling") + var Relation_MemberType_name = map[int32]string + var Relation_MemberType_value = map[string]int32 + func CoordToInt(coord float64) uint32 + func IntToCoord(coord uint32) float64 + func MarshalDeltaNodes(nodes []element.Node, buf []byte) []byte + func MarshalIdRefsBunch(idRefs []element.IdRefs) []byte + func MarshalIdRefsBunch2(idRefs []element.IdRefs, buf []byte) []byte + func MarshalNode(node *element.Node) ([]byte, error) + func MarshalRelation(relation *element.Relation) ([]byte, error) + func MarshalWay(way *element.Way) ([]byte, error) + func UnmarshalDeltaNodes(buf []byte, nodes []element.Node) ([]element.Node, error) + func UnmarshalIdRefsBunch(buf []byte) []element.IdRefs + func UnmarshalIdRefsBunch2(buf []byte, idRefs []element.IdRefs) []element.IdRefs + func UnmarshalNode(data []byte) (node *element.Node, err error) + func UnmarshalRelation(data []byte) (relation *element.Relation, err error) + func UnmarshalWay(data []byte) (way *element.Way, err error) + type DeltaCoords struct + Ids []int64 + Lats []int64 + Lons []int64 + func (*DeltaCoords) Descriptor() ([]byte, []int) + func (*DeltaCoords) ProtoMessage() + func (m *DeltaCoords) GetIds() []int64 + func (m *DeltaCoords) GetLats() []int64 + func (m *DeltaCoords) GetLons() []int64 + func (m *DeltaCoords) Marshal() (dAtA []byte, err error) + func (m *DeltaCoords) MarshalTo(dAtA []byte) (int, error) + func (m *DeltaCoords) Reset() + func (m *DeltaCoords) Size() (n int) + func (m *DeltaCoords) String() string + func (m *DeltaCoords) Unmarshal(dAtA []byte) error + type Node struct + Lat uint32 + Long uint32 + Tags []string + func (*Node) Descriptor() ([]byte, []int) + func (*Node) ProtoMessage() + func (m *Node) GetLat() uint32 + func (m *Node) GetLong() uint32 + func (m *Node) GetTags() []string + func (m *Node) Marshal() (dAtA []byte, err error) + func (m *Node) MarshalTo(dAtA []byte) (int, error) + func (m *Node) Reset() + func (m *Node) Size() (n int) + func (m *Node) String() string + func (m *Node) Unmarshal(dAtA []byte) error + type Relation struct + MemberIds []int64 + MemberRoles []string + MemberTypes []Relation_MemberType + Tags []string + func (*Relation) Descriptor() ([]byte, []int) + func (*Relation) ProtoMessage() + func (m *Relation) GetMemberIds() []int64 + func (m *Relation) GetMemberRoles() []string + func (m *Relation) GetMemberTypes() []Relation_MemberType + func (m *Relation) GetTags() []string + func (m *Relation) Marshal() (dAtA []byte, err error) + func (m *Relation) MarshalTo(dAtA []byte) (int, error) + func (m *Relation) Reset() + func (m *Relation) Size() (n int) + func (m *Relation) String() string + func (m *Relation) Unmarshal(dAtA []byte) error + type Relation_MemberType int32 + const Relation_NODE + const Relation_RELATION + const Relation_WAY + func (Relation_MemberType) EnumDescriptor() ([]byte, []int) + func (x *Relation_MemberType) UnmarshalJSON(data []byte) error + func (x Relation_MemberType) Enum() *Relation_MemberType + func (x Relation_MemberType) String() string + type Way struct + Refs []int64 + Tags []string + func (*Way) Descriptor() ([]byte, []int) + func (*Way) ProtoMessage() + func (m *Way) GetRefs() []int64 + func (m *Way) GetTags() []string + func (m *Way) Marshal() (dAtA []byte, err error) + func (m *Way) MarshalTo(dAtA []byte) (int, error) + func (m *Way) Reset() + func (m *Way) Size() (n int) + func (m *Way) String() string + func (m *Way) Unmarshal(dAtA []byte) error