Documentation
¶
Index ¶
- Constants
- Variables
- type Blob
- type BlobHeader
- type ChangeSet
- type DenseInfo
- type DenseNodes
- type HeaderBBox
- type HeaderBlock
- func (this *HeaderBlock) GetBbox() *HeaderBBox
- func (this *HeaderBlock) GetOsmosisReplicationBaseUrl() string
- func (this *HeaderBlock) GetOsmosisReplicationSequenceNumber() int64
- func (this *HeaderBlock) GetOsmosisReplicationTimestamp() int64
- func (this *HeaderBlock) GetSource() string
- func (this *HeaderBlock) GetWritingprogram() string
- func (*HeaderBlock) ProtoMessage()
- func (this *HeaderBlock) Reset()
- func (this *HeaderBlock) String() string
- type Info
- func (this *Info) GetChangeset() int64
- func (this *Info) GetTimestamp() int64
- func (this *Info) GetUid() int32
- func (this *Info) GetUserSid() uint32
- func (this *Info) GetVersion() int32
- func (this *Info) GetVisible() bool
- func (*Info) ProtoMessage()
- func (this *Info) Reset()
- func (this *Info) String() string
- type Node
- type PrimitiveBlock
- func (this *PrimitiveBlock) GetDateGranularity() int32
- func (this *PrimitiveBlock) GetGranularity() int32
- func (this *PrimitiveBlock) GetLatOffset() int64
- func (this *PrimitiveBlock) GetLonOffset() int64
- func (this *PrimitiveBlock) GetStringtable() *StringTable
- func (*PrimitiveBlock) ProtoMessage()
- func (this *PrimitiveBlock) Reset()
- func (this *PrimitiveBlock) String() string
- type PrimitiveGroup
- type Relation
- type Relation_MemberType
- type StringTable
- type Way
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) GetLzmaData ¶
func (*Blob) GetOBSOLETEBzip2Data ¶
func (*Blob) GetRawSize ¶
func (*Blob) GetZlibData ¶
func (*Blob) ProtoMessage ¶
func (*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) GetDatasize ¶
func (this *BlobHeader) GetDatasize() int32
func (*BlobHeader) GetIndexdata ¶
func (this *BlobHeader) GetIndexdata() []byte
func (*BlobHeader) GetType ¶
func (this *BlobHeader) GetType() string
func (*BlobHeader) ProtoMessage ¶
func (*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 (*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 (*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) GetDenseinfo ¶
func (this *DenseNodes) GetDenseinfo() *DenseInfo
func (*DenseNodes) ProtoMessage ¶
func (*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) GetBottom ¶
func (this *HeaderBBox) GetBottom() int64
func (*HeaderBBox) GetLeft ¶
func (this *HeaderBBox) GetLeft() int64
func (*HeaderBBox) GetRight ¶
func (this *HeaderBBox) GetRight() int64
func (*HeaderBBox) GetTop ¶
func (this *HeaderBBox) GetTop() int64
func (*HeaderBBox) ProtoMessage ¶
func (*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"` OsmosisReplicationTimestamp *int64 `protobuf:"varint,32,opt,name=osmosis_replication_timestamp" json:"osmosis_replication_timestamp,omitempty"` OsmosisReplicationSequenceNumber *int64 `protobuf:"varint,33,opt,name=osmosis_replication_sequence_number" json:"osmosis_replication_sequence_number,omitempty"` OsmosisReplicationBaseUrl *string `protobuf:"bytes,34,opt,name=osmosis_replication_base_url" json:"osmosis_replication_base_url,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*HeaderBlock) GetBbox ¶
func (this *HeaderBlock) GetBbox() *HeaderBBox
func (*HeaderBlock) GetOsmosisReplicationBaseUrl ¶
func (this *HeaderBlock) GetOsmosisReplicationBaseUrl() string
func (*HeaderBlock) GetOsmosisReplicationSequenceNumber ¶
func (this *HeaderBlock) GetOsmosisReplicationSequenceNumber() int64
func (*HeaderBlock) GetOsmosisReplicationTimestamp ¶
func (this *HeaderBlock) GetOsmosisReplicationTimestamp() int64
func (*HeaderBlock) GetSource ¶
func (this *HeaderBlock) GetSource() string
func (*HeaderBlock) GetWritingprogram ¶
func (this *HeaderBlock) GetWritingprogram() string
func (*HeaderBlock) ProtoMessage ¶
func (*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) GetChangeset ¶
func (*Info) GetTimestamp ¶
func (*Info) GetUserSid ¶
func (*Info) GetVersion ¶
func (*Info) GetVisible ¶
func (*Info) ProtoMessage ¶
func (*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 (*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) GetDateGranularity ¶
func (this *PrimitiveBlock) GetDateGranularity() int32
func (*PrimitiveBlock) GetGranularity ¶
func (this *PrimitiveBlock) GetGranularity() int32
func (*PrimitiveBlock) GetLatOffset ¶
func (this *PrimitiveBlock) GetLatOffset() int64
func (*PrimitiveBlock) GetLonOffset ¶
func (this *PrimitiveBlock) GetLonOffset() int64
func (*PrimitiveBlock) GetStringtable ¶
func (this *PrimitiveBlock) GetStringtable() *StringTable
func (*PrimitiveBlock) ProtoMessage ¶
func (*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) GetDense ¶
func (this *PrimitiveGroup) GetDense() *DenseNodes
func (*PrimitiveGroup) ProtoMessage ¶
func (*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=imposm3.Relation_MemberType" json:"types,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Relation) ProtoMessage ¶
func (*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 (Relation_MemberType) Enum ¶
func (x Relation_MemberType) Enum() *Relation_MemberType
func (Relation_MemberType) MarshalJSON ¶
func (x Relation_MemberType) MarshalJSON() ([]byte, error)
func (Relation_MemberType) String ¶
func (x Relation_MemberType) String() string
func (*Relation_MemberType) UnmarshalJSON ¶
func (x *Relation_MemberType) UnmarshalJSON(data []byte) error
type StringTable ¶
type StringTable struct { S [][]byte `protobuf:"bytes,1,rep,name=s" json:"s,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*StringTable) ProtoMessage ¶
func (*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 (*Way) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.