Documentation
¶
Index ¶
- type BadTimeString
- type EmptyTile
- type ErrDuplicateCollectionName
- type FeatureId
- type Provider
- func (p *Provider) CollectionFeatures(collectionName string, properties map[string]string, extent *geom.Extent) ([]*prv.Feature, error)
- func (p *Provider) CollectionNames() ([]string, error)
- func (p *Provider) FilterFeatures(extent *geom.Extent, collections []string, properties map[string]string) ([]FeatureId, error)
- func (p *Provider) GetFeatures(featureIds []FeatureId) ([]*prv.Feature, error)
- func (p *Provider) MakeCollection(name string, featureIds []FeatureId) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadTimeString ¶
type BadTimeString struct {
// contains filtered or unexported fields
}
func (*BadTimeString) Error ¶
func (bts *BadTimeString) Error() string
type EmptyTile ¶
type EmptyTile struct {
// contains filtered or unexported fields
}
func (EmptyTile) BufferedExtent ¶
type ErrDuplicateCollectionName ¶
type ErrDuplicateCollectionName struct {
// contains filtered or unexported fields
}
func (ErrDuplicateCollectionName) Error ¶
func (e ErrDuplicateCollectionName) Error() string
type Provider ¶
func (*Provider) CollectionFeatures ¶
func (p *Provider) CollectionFeatures(collectionName string, properties map[string]string, extent *geom.Extent) ([]*prv.Feature, error)
Get all features for a particular collection
func (*Provider) CollectionNames ¶
Fetch a list of all collection names from provider
func (*Provider) FilterFeatures ¶
func (p *Provider) FilterFeatures(extent *geom.Extent, collections []string, properties map[string]string) ([]FeatureId, error)
Filter out features based on params passed start_time, stop_time, timestamp parameters are specifically used for timestamp filtering
@see check_time_filter().
func (*Provider) GetFeatures ¶
Get features given collection/pk pairs
Click to show internal directories.
Click to hide internal directories.