Documentation
¶
Index ¶
- type Entity
- func (e *Entity) GetChangesetId() int64
- func (e *Entity) GetGeometry() geom.T
- func (e *Entity) GetId() int64
- func (e *Entity) GetTags() map[string]interface{}
- func (e *Entity) GetTimestamp() int64
- func (e *Entity) GetUid() int32
- func (e *Entity) GetUser() string
- func (e *Entity) GetVersion() int32
- func (e *Entity) GetVisible() bool
- func (e *Entity) SetChangesetId(changesetId int64)
- func (e *Entity) SetGeometry(getGeometry func() geom.T)
- func (e *Entity) SetId(id int64)
- func (e *Entity) SetTags(tags map[string]interface{})
- func (e *Entity) SetTimestamp(timestamp int64)
- func (e *Entity) SetUid(uid int32)
- func (e *Entity) SetUser(user string)
- func (e *Entity) SetVersion(version int32)
- func (e *Entity) SetVisible(visible bool)
- func (e *Entity) ToJSON() (string, error)
- func (e *Entity) ToWKT() (string, error)
- type Exporter
- type Node
- type Relation
- type RelationMember
- type Way
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entity ¶
type Entity struct {
// contains filtered or unexported fields
}
func (*Entity) GetChangesetId ¶
func (*Entity) GetGeometry ¶
func (e *Entity) GetGeometry() geom.T
func (*Entity) GetTimestamp ¶
func (*Entity) GetVersion ¶
func (*Entity) GetVisible ¶
func (*Entity) SetChangesetId ¶
func (*Entity) SetGeometry ¶
func (e *Entity) SetGeometry(getGeometry func() geom.T)
func (*Entity) SetTimestamp ¶
func (*Entity) SetVersion ¶
func (*Entity) SetVisible ¶
type Relation ¶
type Relation struct { *Entity // contains filtered or unexported fields }
func NewRelation ¶
func (*Relation) GetRelationMembers ¶
func (r *Relation) GetRelationMembers() []*RelationMember
func (*Relation) SetRelationMembers ¶
func (r *Relation) SetRelationMembers(relationMembers []*RelationMember)
type RelationMember ¶
type RelationMember struct { Exporter // contains filtered or unexported fields }
func NewRelationMember ¶
func NewRelationMember(exp Exporter, r string) *RelationMember
func (*RelationMember) GetRole ¶
func (rm *RelationMember) GetRole() string
func (*RelationMember) SetRole ¶
func (rm *RelationMember) SetRole(role string)
Click to show internal directories.
Click to hide internal directories.