Documentation
¶
Index ¶
- type Collection
- type Context
- type Extent
- type GeoJSONGenericGeometry
- type GeoJSONGeometryCollection
- type GeoJSONLine
- type GeoJSONMultiPolygon
- type GeoJSONPoint
- type GeoJSONPoly
- type GeoJSONPolygon
- type Item
- type ItemCollection
- type JSONB
- type Link
- type Providers
- type Root
- type Search
- type SearchMap
- type Sort
- type Spatial
- type StacCollection
- type StacItem
- type Temporal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type GeoJSONGenericGeometry ¶
type GeoJSONGenericGeometry struct {
Type string `json:"type"`
Coordinates json.RawMessage `json:"coordinates"`
}
type GeoJSONGeometryCollection ¶
type GeoJSONGeometryCollection struct {
Type string `json:"type"` // will always be "GeometryCollection"
Geometries []json.RawMessage `json:"geometries"`
}
type GeoJSONLine ¶
line or multipoint
type GeoJSONMultiPolygon ¶
type GeoJSONPoint ¶
type GeoJSONPoly ¶
type GeoJSONPoly struct {
Type string `json:"type"`
Coordinates [][][2]float64 `json:"coordinates"`
}
polygon or multiline
type GeoJSONPolygon ¶
type GeoJSONPolygon struct {
Type string `json:"type"`
Coordinates [][][2]float64 `json:"coordinates"`
}
polygon or multiline
type ItemCollection ¶
type Search ¶
type Search struct {
Ids []string `json:"ids,omitempty"`
Collections []string `json:"collections,omitempty"`
Limit int `json:"limit,omitempty"`
Bbox []float64 `json:"bbox,omitempty"`
Geometry GeoJSONGenericGeometry `json:"geometry,omitempty"`
GeometryCollection GeoJSONGeometryCollection `json:"geometrycollection,omitempty"`
Sortby []Sort `json:"sortby,omitempty"`
}
type StacCollection ¶
type StacCollection struct {
StacVersion string `json:"stac_version,omitempty"`
Id string `json:"id,omitempty"`
Title string `json:"title,omitempty"`
Description string `json:"description,omitempty"`
Keywords []string `json:"keywords,omitempty"`
StacExtensions []string `json:"stac_extensions,omitempty"`
License string `json:"license,omitempty"`
Providers []Providers `json:"providers,omitempty"`
Extent Extent `json:"extent,omitempty"`
Summaries map[string]interface{} `json:"summaries,omitempty"`
Links []Link `json:"links,omitempty"`
ItemType string `json:"itemType,omitempty"`
Crs []string `json:"crs,omitempty"`
}
type StacItem ¶
type StacItem struct {
Id string `json:"id,omitempty"`
Type string `json:"type,omitempty"`
Collection string `json:"collection,omitempty"`
StacVersion string `json:"stac_version,omitempty"`
StacExtensions []string `json:"stac_extensions,omitempty"`
Bbox pq.Float64Array `gorm:"type:float[]"`
Geometry GeoJSONPoly `json:"geometry,omitempty"`
Properties interface{} `json:"properties,omitempty"`
Assets interface{} `json:"assets,omitempty"`
Links []interface{} `json:"links,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.