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 NODE + const RELATION + const RelIdOffset + const WAY + var MemberTypeValues = map[string]MemberType + func TryCloseWay(refs []int64, nodes []Node, maxGap float64) bool + type IdRefs struct + Id int64 + Refs []int64 + func (idRefs *IdRefs) Add(ref int64) + func (idRefs *IdRefs) Delete(ref int64) + type Member struct + Elem *OSMElem + Id int64 + Node *Node + Role string + Type MemberType + Way *Way + type MemberType int + type Metadata struct + Changeset int + Timestamp time.Time + UserId int + UserName string + Version int + type Node struct + Lat float64 + Long float64 + type OSMElem struct + Id int64 + Metadata *Metadata + Tags Tags + type Relation struct + Members []Member + type Tags map[string]string + func (t *Tags) String() string + type Way struct + Nodes []Node + Refs []int64 + func (w *Way) IsClosed() bool + func (w *Way) TryClose(maxGap float64) bool