parser

package
v0.0.0-...-e2e308c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package parser provides a parser for OSM diff files in XML format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(diff string) (chan DiffElem, chan error)

Types

type DiffElem

type DiffElem struct {
	Add  bool
	Mod  bool
	Del  bool
	Node *element.Node
	Way  *element.Way
	Rel  *element.Relation
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL