Documentation
¶
Overview ¶
Package writer orchestrates the writing part of the import process.
Index ¶
- type ErrorLevel
- type NodeWriter
- type OsmElemWriter
- func NewNodeWriter(osmCache *cache.OSMCache, nodes chan *element.Node, inserter database.Inserter, ...) *OsmElemWriter
- func NewRelationWriter(osmCache *cache.OSMCache, diffCache *cache.DiffCache, ...) *OsmElemWriter
- func NewWayWriter(osmCache *cache.OSMCache, diffCache *cache.DiffCache, ways chan *element.Way, ...) *OsmElemWriter
- type RelationWriter
- type WayWriter
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 NewWayWriter ¶
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 }
Click to show internal directories.
Click to hide internal directories.