Documentation ¶
Overview ¶
Package diff provides a parser for OSM diff files (.osc).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser is a stream based parser for OSM diff files (.osc). Parsing is handled in a background goroutine.
func NewOscGzParser ¶
NewOscGzParser returns a parser from a .osc.gz file
func (*Parser) Next ¶
Next returns the next Element of the .osc file. Returns io.EOF and an empty Element if the parser reached the end of the .osc file.
func (*Parser) SetWithMetadata ¶
SetWithMetadata enables parsing of metadata
Click to show internal directories.
Click to hide internal directories.