Documentation
¶
Overview ¶
Package database defines interfaces to be implemented.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BulkBeginner ¶
type BulkBeginner interface {
BeginBulk() error
}
type Generalizer ¶
type Inserter ¶
type Inserter interface {
// InsertXxx inserts element of that type into the database.
// element.Geom is set to that type.
InsertPoint(element.OSMElem, geom.Geometry, []mapping.Match) error
InsertLineString(element.OSMElem, geom.Geometry, []mapping.Match) error
InsertPolygon(element.OSMElem, geom.Geometry, []mapping.Match) error
InsertRelationMember(element.Relation, element.Member, geom.Geometry, []mapping.Match) error
}
Click to show internal directories.
Click to hide internal directories.