Documentation ¶
Index ¶
- type SQLiteDatabase
- func (s *SQLiteDatabase) Close() error
- func (s *SQLiteDatabase) Commit() error
- func (s *SQLiteDatabase) GetEverythingWithinCoordinates(FromLong, FromLat, ToLong, ToLat int) (*database.OSMData, error)
- func (s *SQLiteDatabase) NewTransaction() error
- func (s *SQLiteDatabase) ReadNode(Id int64) (node element.Node, err error)
- func (s *SQLiteDatabase) ReadNodeTag(Id int64) (tagMap element.Tags, err error)
- func (s *SQLiteDatabase) ReadRelation(Id int64) (relation element.Relation, err error)
- func (s *SQLiteDatabase) ReadRelationMembers(Id int64) (members []element.Member, err error)
- func (s *SQLiteDatabase) ReadRelationTags(Id int64) (tagMap element.Tags, err error)
- func (s *SQLiteDatabase) ReadWay(Id int64) (way element.Way, err error)
- func (s *SQLiteDatabase) ReadWayNodes(Id int64) (nodes []int64, err error)
- func (s *SQLiteDatabase) ReadWayTags(Id int64) (tagMap element.Tags, err error)
- func (s *SQLiteDatabase) WriteNodeTags(Nodes chan element.Node) error
- func (s *SQLiteDatabase) WriteNodes(Nodes chan element.Node) error
- func (s *SQLiteDatabase) WriteRelation(Relations chan element.Relation) error
- func (s *SQLiteDatabase) WriteRelationMembers(Relations chan element.Relation) error
- func (s *SQLiteDatabase) WriteRelationTags(Relations chan element.Relation) error
- func (s *SQLiteDatabase) WriteWayNodes(Ways chan element.Way) error
- func (s *SQLiteDatabase) WriteWayTags(Ways chan element.Way) error
- func (s *SQLiteDatabase) WriteWays(Ways chan element.Way) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLiteDatabase ¶
func CreateEmpty ¶
func CreateEmpty(Name string, SchemaFile string) (*SQLiteDatabase, error)
func GetByName ¶
func GetByName(Name string) (*SQLiteDatabase, error)
func (*SQLiteDatabase) Close ¶
func (s *SQLiteDatabase) Close() error
func (*SQLiteDatabase) Commit ¶
func (s *SQLiteDatabase) Commit() error
func (*SQLiteDatabase) GetEverythingWithinCoordinates ¶
func (s *SQLiteDatabase) GetEverythingWithinCoordinates(FromLong, FromLat, ToLong, ToLat int) (*database.OSMData, error)
func (*SQLiteDatabase) NewTransaction ¶
func (s *SQLiteDatabase) NewTransaction() error
func (*SQLiteDatabase) ReadNode ¶
func (s *SQLiteDatabase) ReadNode(Id int64) (node element.Node, err error)
func (*SQLiteDatabase) ReadNodeTag ¶
func (s *SQLiteDatabase) ReadNodeTag(Id int64) (tagMap element.Tags, err error)
func (*SQLiteDatabase) ReadRelation ¶
func (s *SQLiteDatabase) ReadRelation(Id int64) (relation element.Relation, err error)
func (*SQLiteDatabase) ReadRelationMembers ¶
func (s *SQLiteDatabase) ReadRelationMembers(Id int64) (members []element.Member, err error)
func (*SQLiteDatabase) ReadRelationTags ¶
func (s *SQLiteDatabase) ReadRelationTags(Id int64) (tagMap element.Tags, err error)
func (*SQLiteDatabase) ReadWay ¶
func (s *SQLiteDatabase) ReadWay(Id int64) (way element.Way, err error)
func (*SQLiteDatabase) ReadWayNodes ¶
func (s *SQLiteDatabase) ReadWayNodes(Id int64) (nodes []int64, err error)
func (*SQLiteDatabase) ReadWayTags ¶
func (s *SQLiteDatabase) ReadWayTags(Id int64) (tagMap element.Tags, err error)
func (*SQLiteDatabase) WriteNodeTags ¶
func (s *SQLiteDatabase) WriteNodeTags(Nodes chan element.Node) error
func (*SQLiteDatabase) WriteNodes ¶
func (s *SQLiteDatabase) WriteNodes(Nodes chan element.Node) error
func (*SQLiteDatabase) WriteRelation ¶
func (s *SQLiteDatabase) WriteRelation(Relations chan element.Relation) error
func (*SQLiteDatabase) WriteRelationMembers ¶
func (s *SQLiteDatabase) WriteRelationMembers(Relations chan element.Relation) error
func (*SQLiteDatabase) WriteRelationTags ¶
func (s *SQLiteDatabase) WriteRelationTags(Relations chan element.Relation) error
func (*SQLiteDatabase) WriteWayNodes ¶
func (s *SQLiteDatabase) WriteWayNodes(Ways chan element.Way) error
func (*SQLiteDatabase) WriteWayTags ¶
func (s *SQLiteDatabase) WriteWayTags(Ways chan element.Way) error
Click to show internal directories.
Click to hide internal directories.