Versions in this module Expand all Collapse all v0 v0.0.2 Dec 7, 2020 Changes in this version + func NewSQLiteSpatialDatabase(ctx context.Context, uri string) (database.SpatialDatabase, error) + type RTreeSpatialIndex struct + Id string + func (sp RTreeSpatialIndex) Bounds() geom.Rect + type SQLiteResults struct + Places []spr.StandardPlacesResult + func (r *SQLiteResults) Results() []spr.StandardPlacesResult + type SQLiteSpatialDatabase struct + Logger *log.WOFLogger + func (db *SQLiteSpatialDatabase) StandardPlacesResultsToFeatureCollection(ctx context.Context, results spr.StandardPlacesResults) (*geojson.GeoJSONFeatureCollection, error) + func (r *SQLiteSpatialDatabase) Close(ctx context.Context) error + func (r *SQLiteSpatialDatabase) IndexFeature(ctx context.Context, f wof_geojson.Feature) error + func (r *SQLiteSpatialDatabase) PointInPolygon(ctx context.Context, coord *geom.Coord, filters filter.Filter) (spr.StandardPlacesResults, error) + func (r *SQLiteSpatialDatabase) PointInPolygonCandidates(ctx context.Context, coord *geom.Coord) (*geojson.GeoJSONFeatureCollection, error) + func (r *SQLiteSpatialDatabase) PointInPolygonCandidatesWithChannels(ctx context.Context, coord *geom.Coord, rsp_ch chan geojson.GeoJSONFeature, ...) + func (r *SQLiteSpatialDatabase) PointInPolygonWithChannels(ctx context.Context, coord *geom.Coord, filters filter.Filter, ...) v0.0.1 Dec 7, 2020