diff

package
v0.0.0-...-85720d3 Latest Latest
Warning

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

Go to latest
Published: May 7, 2014 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package diff provides the diff sub command for updating with diff files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Update

func Update(oscFile string, geometryLimiter *limit.Limiter, expireor expire.Expireor, osmCache *cache.OSMCache, diffCache *cache.DiffCache, force bool) error

Types

type Deleter

type Deleter struct {
	// contains filtered or unexported fields
}

func NewDeleter

func NewDeleter(db database.Deleter, osmCache *cache.OSMCache, diffCache *cache.DiffCache,
	tmPoints *mapping.TagMatcher,
	tmLineStrings *mapping.TagMatcher,
	tmPolygons *mapping.TagMatcher,
) *Deleter

func (*Deleter) Delete

func (d *Deleter) Delete(delElem parser.DiffElem) error

func (*Deleter) DeletedMemberWays

func (d *Deleter) DeletedMemberWays() map[int64]struct{}

func (*Deleter) SetExpireor

func (d *Deleter) SetExpireor(exp expire.Expireor)

Directories

Path Synopsis
Package parser provides a parser for OSM diff files in XML format.
Package parser provides a parser for OSM diff files in XML format.
Package state provides functions for reading and writing diff status files.
Package state provides functions for reading and writing diff status files.

Jump to

Keyboard shortcuts

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