Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datasource ¶
type Datasource interface {
// SearchFeaturesAcrossCollections search features in one or more collections. Collections can be located
// in this dataset or in other datasets.
SearchFeaturesAcrossCollections(ctx context.Context, searchQuery domain.SearchQuery,
collections domain.CollectionsWithParams, srid domain.SRID, bbox *geom.Bounds, bboxSRID domain.SRID, limit int) (*domain.FeatureCollection, error)
// Close closes (connections to) the datasource gracefully
Close()
}
Datasource knows how make different kinds of queries/actions on the underlying actual datastore. This abstraction allows the rest of the system to stay datastore agnostic.
Click to show internal directories.
Click to hide internal directories.