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(osm.Element, geom.Geometry, []mapping.Match) error InsertLineString(osm.Element, geom.Geometry, []mapping.Match) error InsertPolygon(osm.Element, geom.Geometry, []mapping.Match) error InsertRelationMember(osm.Relation, osm.Member, int, geom.Geometry, []mapping.Match) error }
Click to show internal directories.
Click to hide internal directories.