Documentation ¶
Overview ¶
Package element provides basic types for OSM elements (coords/nodes/ways/relations/etc).
Index ¶
Constants ¶
View Source
const ( NODE MemberType = 0 WAY = 1 RELATION = 2 )
Variables ¶
View Source
var MemberTypeValues = map[string]MemberType{ "node": NODE, "way": WAY, "relation": RELATION, }
Functions ¶
This section is empty.
Types ¶
type Member ¶
type Member struct { Id int64 `json:"id"` Type MemberType `json:"type"` Role string `json:"role"` Way *Way `json:"-"` }
type MemberType ¶
type MemberType int
Click to show internal directories.
Click to hide internal directories.