writer

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: 13 Imported by: 0

Documentation

Overview

Package writer orchestrates the writing part of the import process.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorLevel

type ErrorLevel interface {
	Level() int
}

type NodeWriter

type NodeWriter struct {
	OsmElemWriter
	// contains filtered or unexported fields
}

type OsmElemWriter

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

func NewNodeWriter

func NewNodeWriter(osmCache *cache.OSMCache, nodes chan *element.Node,
	inserter database.Inserter, progress *stats.Statistics,
	srid int) *OsmElemWriter

func NewRelationWriter

func NewRelationWriter(osmCache *cache.OSMCache, diffCache *cache.DiffCache, rel chan *element.Relation,
	inserter database.Inserter, progress *stats.Statistics,
	srid int) *OsmElemWriter

func NewWayWriter

func NewWayWriter(osmCache *cache.OSMCache, diffCache *cache.DiffCache, ways chan *element.Way,
	inserter database.Inserter,
	progress *stats.Statistics, srid int) *OsmElemWriter

func (*OsmElemWriter) EnableConcurrent

func (writer *OsmElemWriter) EnableConcurrent()

func (*OsmElemWriter) SetExpireor

func (writer *OsmElemWriter) SetExpireor(exp expire.Expireor)

func (*OsmElemWriter) SetLimiter

func (writer *OsmElemWriter) SetLimiter(limiter *limit.Limiter)

func (*OsmElemWriter) Start

func (writer *OsmElemWriter) Start()

func (*OsmElemWriter) Wait

func (writer *OsmElemWriter) Wait()

type RelationWriter

type RelationWriter struct {
	OsmElemWriter
	// contains filtered or unexported fields
}

type WayWriter

type WayWriter struct {
	OsmElemWriter
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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