Documentation ¶
Index ¶
- func NewMediaFeature(ctx context.Context, rsp *gather.GatherImagesResponse, depicts geojson.Feature, ...) (geojson.Feature, error)
- func NewMediaFeatureWithProvider(ctx context.Context, pr id.Provider, rsp *gather.GatherImagesResponse, ...) (geojson.Feature, error)
- type Coordinates
- type Feature
- type Geometry
- type NewMediaFeatureNameFunc
- type NewMediaFeatureOptions
- type Properties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMediaFeature ¶
func NewMediaFeature(ctx context.Context, rsp *gather.GatherImagesResponse, depicts geojson.Feature, opts *NewMediaFeatureOptions) (geojson.Feature, error)
func NewMediaFeatureWithProvider ¶ added in v0.0.3
func NewMediaFeatureWithProvider(ctx context.Context, pr id.Provider, rsp *gather.GatherImagesResponse, depicts geojson.Feature, opts *NewMediaFeatureOptions) (geojson.Feature, error)
Types ¶
type Coordinates ¶
type Coordinates []float64
type Feature ¶
type Feature struct { Type string `json:"type"` Properties Properties `json:"properties"` Geometry Geometry `json:"geometry"` }
type Geometry ¶
type Geometry struct { Type string `json:"type"` Coordinates Coordinates `json:"coordinates"` }
type NewMediaFeatureNameFunc ¶
type NewMediaFeatureOptions ¶
type Properties ¶
type Properties map[string]interface{}
Click to show internal directories.
Click to hide internal directories.