Documentation
¶
Overview ¶
Package changeset provides a parser for OSM changeset files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Changeset ¶
type Changeset struct {
Id int `xml:"id,attr"`
CreatedAt time.Time `xml:"created_at,attr"`
ClosedAt time.Time `xml:"closed_at,attr"`
Open bool `xml:"open,attr"`
User string `xml:"user,attr"`
UserId int `xml:"uid,attr"`
NumChanges int `xml:"num_changes,attr"`
MinLon float64 `xml:"min_lon,attr"`
MinLat float64 `xml:"min_lat,attr"`
MaxLon float64 `xml:"max_lon,attr"`
MaxLat float64 `xml:"max_lat,attr"`
Comments []Comment `xml:"discussion>comment"`
Tags []Tag `xml:"tag"`
}
func ParseAllOsmGz ¶
ParseAllOsmGz parses all changesets from a .osm.gz file.
Click to show internal directories.
Click to hide internal directories.