Documentation ¶
Index ¶
Constants ¶
View Source
const Default_Info_Version int32 = -1
View Source
const Default_PrimitiveBlock_DateGranularity int32 = 1000
View Source
const Default_PrimitiveBlock_Granularity int32 = 100
View Source
const Default_PrimitiveBlock_LatOffset int64 = 0
View Source
const Default_PrimitiveBlock_LonOffset int64 = 0
Variables ¶
View Source
var Relation_MemberType_name = map[int32]string{
0: "NODE",
1: "WAY",
2: "RELATION",
}
View Source
var Relation_MemberType_value = map[string]int32{
"NODE": 0,
"WAY": 1,
"RELATION": 2,
}
Functions ¶
This section is empty.
Types ¶
type Blob ¶
type Blob struct { Raw []byte `protobuf:"bytes,1,opt,name=raw" json:"raw,omitempty"` RawSize *int32 `protobuf:"varint,2,opt,name=raw_size" json:"raw_size,omitempty"` ZlibData []byte `protobuf:"bytes,3,opt,name=zlib_data" json:"zlib_data,omitempty"` LzmaData []byte `protobuf:"bytes,4,opt,name=lzma_data" json:"lzma_data,omitempty"` OBSOLETEBzip2Data []byte `protobuf:"bytes,5,opt,name=OBSOLETE_bzip2_data" json:"OBSOLETE_bzip2_data,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Blob) ProtoMessage ¶
func (this *Blob) ProtoMessage()
type BlobHeader ¶
type BlobHeader struct { Type *string `protobuf:"bytes,1,req,name=type" json:"type,omitempty"` Indexdata []byte `protobuf:"bytes,2,opt,name=indexdata" json:"indexdata,omitempty"` Datasize *int32 `protobuf:"varint,3,req,name=datasize" json:"datasize,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BlobHeader) ProtoMessage ¶
func (this *BlobHeader) ProtoMessage()
func (*BlobHeader) Reset ¶
func (this *BlobHeader) Reset()
func (*BlobHeader) String ¶
func (this *BlobHeader) String() string
type ChangeSet ¶
type ChangeSet struct { Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChangeSet) ProtoMessage ¶
func (this *ChangeSet) ProtoMessage()
type DenseInfo ¶
type DenseInfo struct { Version []int32 `protobuf:"varint,1,rep,packed,name=version" json:"version,omitempty"` Timestamp []int64 `protobuf:"zigzag64,2,rep,packed,name=timestamp" json:"timestamp,omitempty"` Changeset []int64 `protobuf:"zigzag64,3,rep,packed,name=changeset" json:"changeset,omitempty"` Uid []int32 `protobuf:"zigzag32,4,rep,packed,name=uid" json:"uid,omitempty"` UserSid []int32 `protobuf:"zigzag32,5,rep,packed,name=user_sid" json:"user_sid,omitempty"` Visible []bool `protobuf:"varint,6,rep,packed,name=visible" json:"visible,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DenseInfo) ProtoMessage ¶
func (this *DenseInfo) ProtoMessage()
type DenseNodes ¶
type DenseNodes struct { Id []int64 `protobuf:"zigzag64,1,rep,packed,name=id" json:"id,omitempty"` Denseinfo *DenseInfo `protobuf:"bytes,5,opt,name=denseinfo" json:"denseinfo,omitempty"` Lat []int64 `protobuf:"zigzag64,8,rep,packed,name=lat" json:"lat,omitempty"` Lon []int64 `protobuf:"zigzag64,9,rep,packed,name=lon" json:"lon,omitempty"` KeysVals []int32 `protobuf:"varint,10,rep,packed,name=keys_vals" json:"keys_vals,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DenseNodes) ProtoMessage ¶
func (this *DenseNodes) ProtoMessage()
func (*DenseNodes) Reset ¶
func (this *DenseNodes) Reset()
func (*DenseNodes) String ¶
func (this *DenseNodes) String() string
type HeaderBBox ¶
type HeaderBBox struct { Left *int64 `protobuf:"zigzag64,1,req,name=left" json:"left,omitempty"` Right *int64 `protobuf:"zigzag64,2,req,name=right" json:"right,omitempty"` Top *int64 `protobuf:"zigzag64,3,req,name=top" json:"top,omitempty"` Bottom *int64 `protobuf:"zigzag64,4,req,name=bottom" json:"bottom,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*HeaderBBox) ProtoMessage ¶
func (this *HeaderBBox) ProtoMessage()
func (*HeaderBBox) Reset ¶
func (this *HeaderBBox) Reset()
func (*HeaderBBox) String ¶
func (this *HeaderBBox) String() string
type HeaderBlock ¶
type HeaderBlock struct { Bbox *HeaderBBox `protobuf:"bytes,1,opt,name=bbox" json:"bbox,omitempty"` RequiredFeatures []string `protobuf:"bytes,4,rep,name=required_features" json:"required_features,omitempty"` OptionalFeatures []string `protobuf:"bytes,5,rep,name=optional_features" json:"optional_features,omitempty"` Writingprogram *string `protobuf:"bytes,16,opt,name=writingprogram" json:"writingprogram,omitempty"` Source *string `protobuf:"bytes,17,opt,name=source" json:"source,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*HeaderBlock) ProtoMessage ¶
func (this *HeaderBlock) ProtoMessage()
func (*HeaderBlock) Reset ¶
func (this *HeaderBlock) Reset()
func (*HeaderBlock) String ¶
func (this *HeaderBlock) String() string
type Info ¶
type Info struct { Version *int32 `protobuf:"varint,1,opt,name=version,def=-1" json:"version,omitempty"` Timestamp *int64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` Changeset *int64 `protobuf:"varint,3,opt,name=changeset" json:"changeset,omitempty"` Uid *int32 `protobuf:"varint,4,opt,name=uid" json:"uid,omitempty"` UserSid *uint32 `protobuf:"varint,5,opt,name=user_sid" json:"user_sid,omitempty"` Visible *bool `protobuf:"varint,6,opt,name=visible" json:"visible,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Info) ProtoMessage ¶
func (this *Info) ProtoMessage()
type Node ¶
type Node struct { Id *int64 `protobuf:"zigzag64,1,req,name=id" json:"id,omitempty"` Keys []uint32 `protobuf:"varint,2,rep,packed,name=keys" json:"keys,omitempty"` Vals []uint32 `protobuf:"varint,3,rep,packed,name=vals" json:"vals,omitempty"` Info *Info `protobuf:"bytes,4,opt,name=info" json:"info,omitempty"` Lat *int64 `protobuf:"zigzag64,8,req,name=lat" json:"lat,omitempty"` Lon *int64 `protobuf:"zigzag64,9,req,name=lon" json:"lon,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Node) ProtoMessage ¶
func (this *Node) ProtoMessage()
type PrimitiveBlock ¶
type PrimitiveBlock struct { Stringtable *StringTable `protobuf:"bytes,1,req,name=stringtable" json:"stringtable,omitempty"` Primitivegroup []*PrimitiveGroup `protobuf:"bytes,2,rep,name=primitivegroup" json:"primitivegroup,omitempty"` Granularity *int32 `protobuf:"varint,17,opt,name=granularity,def=100" json:"granularity,omitempty"` LatOffset *int64 `protobuf:"varint,19,opt,name=lat_offset,def=0" json:"lat_offset,omitempty"` LonOffset *int64 `protobuf:"varint,20,opt,name=lon_offset,def=0" json:"lon_offset,omitempty"` DateGranularity *int32 `protobuf:"varint,18,opt,name=date_granularity,def=1000" json:"date_granularity,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PrimitiveBlock) ProtoMessage ¶
func (this *PrimitiveBlock) ProtoMessage()
func (*PrimitiveBlock) Reset ¶
func (this *PrimitiveBlock) Reset()
func (*PrimitiveBlock) String ¶
func (this *PrimitiveBlock) String() string
type PrimitiveGroup ¶
type PrimitiveGroup struct { Nodes []*Node `protobuf:"bytes,1,rep,name=nodes" json:"nodes,omitempty"` Dense *DenseNodes `protobuf:"bytes,2,opt,name=dense" json:"dense,omitempty"` Ways []*Way `protobuf:"bytes,3,rep,name=ways" json:"ways,omitempty"` Relations []*Relation `protobuf:"bytes,4,rep,name=relations" json:"relations,omitempty"` Changesets []*ChangeSet `protobuf:"bytes,5,rep,name=changesets" json:"changesets,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PrimitiveGroup) ProtoMessage ¶
func (this *PrimitiveGroup) ProtoMessage()
func (*PrimitiveGroup) Reset ¶
func (this *PrimitiveGroup) Reset()
func (*PrimitiveGroup) String ¶
func (this *PrimitiveGroup) String() string
type Relation ¶
type Relation struct { Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Keys []uint32 `protobuf:"varint,2,rep,packed,name=keys" json:"keys,omitempty"` Vals []uint32 `protobuf:"varint,3,rep,packed,name=vals" json:"vals,omitempty"` Info *Info `protobuf:"bytes,4,opt,name=info" json:"info,omitempty"` RolesSid []int32 `protobuf:"varint,8,rep,packed,name=roles_sid" json:"roles_sid,omitempty"` Memids []int64 `protobuf:"zigzag64,9,rep,packed,name=memids" json:"memids,omitempty"` Types []Relation_MemberType `protobuf:"varint,10,rep,packed,name=types,enum=OSMPBF.Relation_MemberType" json:"types,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Relation) ProtoMessage ¶
func (this *Relation) ProtoMessage()
type Relation_MemberType ¶
type Relation_MemberType int32
const ( Relation_NODE Relation_MemberType = 0 Relation_WAY Relation_MemberType = 1 Relation_RELATION Relation_MemberType = 2 )
func NewRelation_MemberType ¶
func NewRelation_MemberType(x Relation_MemberType) *Relation_MemberType
NewRelation_MemberType is deprecated. Use x.Enum() instead.
func (Relation_MemberType) Enum ¶
func (x Relation_MemberType) Enum() *Relation_MemberType
func (Relation_MemberType) String ¶
func (x Relation_MemberType) String() string
type StringTable ¶
type StringTable struct { S [][]byte `protobuf:"bytes,1,rep,name=s" json:"s,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*StringTable) ProtoMessage ¶
func (this *StringTable) ProtoMessage()
func (*StringTable) Reset ¶
func (this *StringTable) Reset()
func (*StringTable) String ¶
func (this *StringTable) String() string
type Way ¶
type Way struct { Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Keys []uint32 `protobuf:"varint,2,rep,packed,name=keys" json:"keys,omitempty"` Vals []uint32 `protobuf:"varint,3,rep,packed,name=vals" json:"vals,omitempty"` Info *Info `protobuf:"bytes,4,opt,name=info" json:"info,omitempty"` Refs []int64 `protobuf:"zigzag64,8,rep,packed,name=refs" json:"refs,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Way) ProtoMessage ¶
func (this *Way) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.