Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bounds ¶
type Bounds struct { XMLName xml.Name `xml:"bounds"` Minlat float64 `xml:"minlat,attr"` Minlon float64 `xml:"minlon,attr"` Maxlat float64 `xml:"maxlat,attr"` Maxlon float64 `xml:"maxlon,attr"` }
Bounds struct
type Elem ¶
type Elem struct { ID int64 `xml:"id,attr"` Loc Location Version int `xml:"version,attr"` Ts time.Time `xml:"timestamp,attr"` UID int64 `xml:"uid,attr"` User string `xml:"user,attr"` ChangeSet int64 `xml:"changeset,attr"` }
Elem is a OSM base element
type Member ¶
type Member struct { Type string `xml:"type,attr"` Ref int64 `xml:"ref,attr"` Role string `xml:"role,attr"` }
Member struct
type Node ¶
type Node struct { Elem XMLName xml.Name `xml:"node"` Lat float64 `xml:"lat,attr"` Lng float64 `xml:"lon,attr"` Tag []Tag `xml:"tag"` }
Node structure
type Relation ¶
type Relation struct { Elem Visible bool `xml:"visible,attr"` Version string `xml:"version,attr"` Members []Member `xml:"member"` Tags []Tag `xml:"tag"` }
Relation struct
Click to show internal directories.
Click to hide internal directories.