Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LineString ¶
type Member ¶
type Member struct { ID int64 `bson:"_id"` Type MemberType Role string Way *Way `json:"-"` Node *Node `json:"-"` }
type Node ¶
type Node struct { ID int64 `bson:"_id"` Lat float64 Lon float64 Tags map[string]string Info Info //BSON Data (Needs to be set before inserting the object) Loc *Point `bson:"loc"` }
func GetNodeById ¶
type Relation ¶
type Relation struct { ID int64 `bson:"_id"` Tags map[string]string Members []Member Info Info Loc *struct { Type string `bson:"type"` Coordinates [][]float64 `bson:"coordinates"` } `bson:"loc,omitempty"` }
func (*Relation) FeedCoordinates ¶
func (r *Relation) FeedCoordinates(members []interface{})
Source Files ¶
Click to show internal directories.
Click to hide internal directories.