Versions in this module Expand all Collapse all v0 v0.6.0-alpha.4 Apr 17, 2018 v0.6.0-alpha.3 Apr 16, 2018 v0.6.0-alpha.2 Apr 15, 2018 v0.6.0-alpha.1 Apr 14, 2018 v0.5.0 Nov 21, 2017 Changes in this version + const Default_Info_Version + const Default_PrimitiveBlock_DateGranularity + const Default_PrimitiveBlock_Granularity + const Default_PrimitiveBlock_LatOffset + const Default_PrimitiveBlock_LonOffset + var ErrIntOverflowFileformat = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowOsmformat = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthFileformat = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthOsmformat = fmt.Errorf("proto: negative length found during unmarshaling") + var Relation_MemberType_name = map[int32]string + var Relation_MemberType_value = map[string]int32 + type Blob struct + LzmaData []byte + OBSOLETEBzip2Data []byte + Raw []byte + RawSize int32 + ZlibData []byte + func (*Blob) Descriptor() ([]byte, []int) + func (*Blob) ProtoMessage() + func (m *Blob) GetLzmaData() []byte + func (m *Blob) GetOBSOLETEBzip2Data() []byte + func (m *Blob) GetRaw() []byte + func (m *Blob) GetRawSize() int32 + func (m *Blob) GetZlibData() []byte + func (m *Blob) Marshal() (dAtA []byte, err error) + func (m *Blob) MarshalTo(dAtA []byte) (int, error) + func (m *Blob) Reset() + func (m *Blob) Size() (n int) + func (m *Blob) String() string + func (m *Blob) Unmarshal(dAtA []byte) error + type BlobHeader struct + Datasize int32 + Indexdata []byte + Type string + func (*BlobHeader) Descriptor() ([]byte, []int) + func (*BlobHeader) ProtoMessage() + func (m *BlobHeader) GetDatasize() int32 + func (m *BlobHeader) GetIndexdata() []byte + func (m *BlobHeader) GetType() string + func (m *BlobHeader) Marshal() (dAtA []byte, err error) + func (m *BlobHeader) MarshalTo(dAtA []byte) (int, error) + func (m *BlobHeader) Reset() + func (m *BlobHeader) Size() (n int) + func (m *BlobHeader) String() string + func (m *BlobHeader) Unmarshal(dAtA []byte) error + type ChangeSet struct + Id int64 + func (*ChangeSet) Descriptor() ([]byte, []int) + func (*ChangeSet) ProtoMessage() + func (m *ChangeSet) GetId() int64 + func (m *ChangeSet) Marshal() (dAtA []byte, err error) + func (m *ChangeSet) MarshalTo(dAtA []byte) (int, error) + func (m *ChangeSet) Reset() + func (m *ChangeSet) Size() (n int) + func (m *ChangeSet) String() string + func (m *ChangeSet) Unmarshal(dAtA []byte) error + type DenseInfo struct + Changeset []int64 + Timestamp []int64 + Uid []int32 + UserSid []int32 + Version []int32 + Visible []bool + func (*DenseInfo) Descriptor() ([]byte, []int) + func (*DenseInfo) ProtoMessage() + func (m *DenseInfo) GetChangeset() []int64 + func (m *DenseInfo) GetTimestamp() []int64 + func (m *DenseInfo) GetUid() []int32 + func (m *DenseInfo) GetUserSid() []int32 + func (m *DenseInfo) GetVersion() []int32 + func (m *DenseInfo) GetVisible() []bool + func (m *DenseInfo) Marshal() (dAtA []byte, err error) + func (m *DenseInfo) MarshalTo(dAtA []byte) (int, error) + func (m *DenseInfo) Reset() + func (m *DenseInfo) Size() (n int) + func (m *DenseInfo) String() string + func (m *DenseInfo) Unmarshal(dAtA []byte) error + type DenseNodes struct + Denseinfo *DenseInfo + Id []int64 + KeysVals []int32 + Lat []int64 + Lon []int64 + func (*DenseNodes) Descriptor() ([]byte, []int) + func (*DenseNodes) ProtoMessage() + func (m *DenseNodes) GetDenseinfo() *DenseInfo + func (m *DenseNodes) GetId() []int64 + func (m *DenseNodes) GetKeysVals() []int32 + func (m *DenseNodes) GetLat() []int64 + func (m *DenseNodes) GetLon() []int64 + func (m *DenseNodes) Marshal() (dAtA []byte, err error) + func (m *DenseNodes) MarshalTo(dAtA []byte) (int, error) + func (m *DenseNodes) Reset() + func (m *DenseNodes) Size() (n int) + func (m *DenseNodes) String() string + func (m *DenseNodes) Unmarshal(dAtA []byte) error + type HeaderBBox struct + Bottom int64 + Left int64 + Right int64 + Top int64 + func (*HeaderBBox) Descriptor() ([]byte, []int) + func (*HeaderBBox) ProtoMessage() + func (m *HeaderBBox) GetBottom() int64 + func (m *HeaderBBox) GetLeft() int64 + func (m *HeaderBBox) GetRight() int64 + func (m *HeaderBBox) GetTop() int64 + func (m *HeaderBBox) Marshal() (dAtA []byte, err error) + func (m *HeaderBBox) MarshalTo(dAtA []byte) (int, error) + func (m *HeaderBBox) Reset() + func (m *HeaderBBox) Size() (n int) + func (m *HeaderBBox) String() string + func (m *HeaderBBox) Unmarshal(dAtA []byte) error + type HeaderBlock struct + Bbox *HeaderBBox + OptionalFeatures []string + OsmosisReplicationBaseUrl string + OsmosisReplicationSequenceNumber int64 + OsmosisReplicationTimestamp int64 + RequiredFeatures []string + Source string + Writingprogram string + func (*HeaderBlock) Descriptor() ([]byte, []int) + func (*HeaderBlock) ProtoMessage() + func (m *HeaderBlock) GetBbox() *HeaderBBox + func (m *HeaderBlock) GetOptionalFeatures() []string + func (m *HeaderBlock) GetOsmosisReplicationBaseUrl() string + func (m *HeaderBlock) GetOsmosisReplicationSequenceNumber() int64 + func (m *HeaderBlock) GetOsmosisReplicationTimestamp() int64 + func (m *HeaderBlock) GetRequiredFeatures() []string + func (m *HeaderBlock) GetSource() string + func (m *HeaderBlock) GetWritingprogram() string + func (m *HeaderBlock) Marshal() (dAtA []byte, err error) + func (m *HeaderBlock) MarshalTo(dAtA []byte) (int, error) + func (m *HeaderBlock) Reset() + func (m *HeaderBlock) Size() (n int) + func (m *HeaderBlock) String() string + func (m *HeaderBlock) Unmarshal(dAtA []byte) error + type Info struct + Changeset int64 + Timestamp int64 + Uid int32 + UserSid uint32 + Version *int32 + Visible bool + func (*Info) Descriptor() ([]byte, []int) + func (*Info) ProtoMessage() + func (m *Info) GetChangeset() int64 + func (m *Info) GetTimestamp() int64 + func (m *Info) GetUid() int32 + func (m *Info) GetUserSid() uint32 + func (m *Info) GetVersion() int32 + func (m *Info) GetVisible() bool + func (m *Info) Marshal() (dAtA []byte, err error) + func (m *Info) MarshalTo(dAtA []byte) (int, error) + func (m *Info) Reset() + func (m *Info) Size() (n int) + func (m *Info) String() string + func (m *Info) Unmarshal(dAtA []byte) error + type Node struct + Id int64 + Info Info + Keys []uint32 + Lat int64 + Lon int64 + Vals []uint32 + func (*Node) Descriptor() ([]byte, []int) + func (*Node) ProtoMessage() + func (m *Node) GetId() int64 + func (m *Node) GetInfo() Info + func (m *Node) GetKeys() []uint32 + func (m *Node) GetLat() int64 + func (m *Node) GetLon() int64 + func (m *Node) GetVals() []uint32 + 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 PrimitiveBlock struct + DateGranularity *int32 + Granularity *int32 + LatOffset *int64 + LonOffset *int64 + Primitivegroup []*PrimitiveGroup + Stringtable *StringTable + func (*PrimitiveBlock) Descriptor() ([]byte, []int) + func (*PrimitiveBlock) ProtoMessage() + func (m *PrimitiveBlock) GetDateGranularity() int32 + func (m *PrimitiveBlock) GetGranularity() int32 + func (m *PrimitiveBlock) GetLatOffset() int64 + func (m *PrimitiveBlock) GetLonOffset() int64 + func (m *PrimitiveBlock) GetPrimitivegroup() []*PrimitiveGroup + func (m *PrimitiveBlock) GetStringtable() *StringTable + func (m *PrimitiveBlock) Marshal() (dAtA []byte, err error) + func (m *PrimitiveBlock) MarshalTo(dAtA []byte) (int, error) + func (m *PrimitiveBlock) Reset() + func (m *PrimitiveBlock) Size() (n int) + func (m *PrimitiveBlock) String() string + func (m *PrimitiveBlock) Unmarshal(dAtA []byte) error + type PrimitiveGroup struct + Changesets []ChangeSet + Dense *DenseNodes + Nodes []Node + Relations []Relation + Ways []Way + func (*PrimitiveGroup) Descriptor() ([]byte, []int) + func (*PrimitiveGroup) ProtoMessage() + func (m *PrimitiveGroup) GetChangesets() []ChangeSet + func (m *PrimitiveGroup) GetDense() *DenseNodes + func (m *PrimitiveGroup) GetNodes() []Node + func (m *PrimitiveGroup) GetRelations() []Relation + func (m *PrimitiveGroup) GetWays() []Way + func (m *PrimitiveGroup) Marshal() (dAtA []byte, err error) + func (m *PrimitiveGroup) MarshalTo(dAtA []byte) (int, error) + func (m *PrimitiveGroup) Reset() + func (m *PrimitiveGroup) Size() (n int) + func (m *PrimitiveGroup) String() string + func (m *PrimitiveGroup) Unmarshal(dAtA []byte) error + type Relation struct + Id int64 + Info Info + Keys []uint32 + Memids []int64 + RolesSid []int32 + Types []Relation_MemberType + Vals []uint32 + func (*Relation) Descriptor() ([]byte, []int) + func (*Relation) ProtoMessage() + func (m *Relation) GetId() int64 + func (m *Relation) GetInfo() Info + func (m *Relation) GetKeys() []uint32 + func (m *Relation) GetMemids() []int64 + func (m *Relation) GetRolesSid() []int32 + func (m *Relation) GetTypes() []Relation_MemberType + func (m *Relation) GetVals() []uint32 + 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 StringTable struct + S [][]byte + func (*StringTable) Descriptor() ([]byte, []int) + func (*StringTable) ProtoMessage() + func (m *StringTable) GetS() [][]byte + func (m *StringTable) Marshal() (dAtA []byte, err error) + func (m *StringTable) MarshalTo(dAtA []byte) (int, error) + func (m *StringTable) Reset() + func (m *StringTable) Size() (n int) + func (m *StringTable) String() string + func (m *StringTable) Unmarshal(dAtA []byte) error + type Way struct + Id int64 + Info Info + Keys []uint32 + Refs []int64 + Vals []uint32 + func (*Way) Descriptor() ([]byte, []int) + func (*Way) ProtoMessage() + func (m *Way) GetId() int64 + func (m *Way) GetInfo() Info + func (m *Way) GetKeys() []uint32 + func (m *Way) GetRefs() []int64 + func (m *Way) GetVals() []uint32 + 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