model

package
v0.0.0-...-9251d09 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection

type Collection struct {
	Id          string    `json:"id"`
	Title       string    `json:"title"`
	Description string    `json:"description"`
	Links       *[]Link   `json:"links"`
	Extent      *Extent   `json:"extent"`
	ItemType    string    `json:"itemType"`
	CRS         *[]string `json:"crs"` //must support http://www.opengis.net/def/crs/OGC/1.3/CRS84

}

type Collections

type Collections struct {
	Links       *[]Link       `json:"links"`
	Collections *[]Collection `json:"collections"`
}

type Conformance

type Conformance struct {
	ConformsTo *[]string `json:"conformsTo"`
}

type Extent

type Extent struct {
	SpatialExtent  *SpatialExtent  `json:"spatial"`
	TemporalExtent *TemporalExtent `json:"temporal"`
}

type Landing

type Landing struct {
	Title       string  `json:"title"`
	Description string  `json:"description"`
	Links       *[]Link `json:"links"`
}

Landing describes the format of the root page

type Link struct {
	Href  string `json:"href"`
	Rel   string `json:"rel"`
	Type  string `json:"type"`
	Title string `json:"title"`
}

type SpatialExtent

type SpatialExtent struct {
	CRS  string     `json:"crs"`
	BBox *[]float64 `json:"bbox"`
}

func NewSpatialExtent

func NewSpatialExtent() SpatialExtent

type TemporalExtent

type TemporalExtent struct {
	Interval *[]time.Time
	TRS      *[]string `json:"trs"`
}

func NewTemporalExtent

func NewTemporalExtent() TemporalExtent

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL