geocatalogo: github.com/go-spatial/geocatalogo/metadata Index | Files | Directories

package metadata

import "github.com/go-spatial/geocatalogo/metadata"

Index

Package Files

model.go

type Contact Uses

type Contact struct {
    Type  string
    Value string
}

type Geometry Uses

type Geometry struct {
    Type        string         `json:"type"`
    Coordinates [][][2]float64 `json:"coordinates"`
}

func (*Geometry) Bounds Uses

func (g *Geometry) Bounds() [4]float64
type Link struct {
    Name        string `json:"name,omitempty"`
    Description string `json:"description,omitempty"`
    Protocol    string `json:"protocol,omitempty"`
    URL         string `json:"url,omitempty"`
}

Link describes link constructs

type ProductInfo Uses

type ProductInfo struct {
    Platform          string     `json:"platform,omitempty"`
    ProductIdentifier string     `json:"product_id,omitempty"`
    SceneIdentifier   string     `json:"scene_id,omitempty"`
    Path              uint64     `json:"path,omitempty"`
    Row               uint64     `json:"row,omitempty"`
    CloudCover        float64    `json:"cloud_cover,omitempty"`
    AcquisitionDate   *time.Time `json:"acquisition_date,omitempty"`
    ProcessingLevel   string     `json:"processing_level,omitempty"`
    SensorIdentifier  string     `json:"sensor_id,omitempty"`
}

ProductInfo describes product specific metadata for example EO data

type Properties Uses

type Properties struct {
    Title          string       `json:"title,omitempty"`
    Type           string       `json:"type,omitempty"`
    Created        *time.Time   `json:"created,omitempty"`
    Modified       *time.Time   `json:"modified,omitempty"`
    Abstract       string       `json:"abstract,omitempty"`
    KeywordsSets   []keywords   `json:"keywords,omitempty"`
    Contacts       []Contact    `json:"contact,omitempty"`
    Dates          []date       `json:"dates,omitempty"`
    License        string       `json:"license,omitempty"`
    Language       string       `json:"language,omitempty"`
    TemporalExtent *Temporal    `json:"temporal_extent,omitempty"`
    ProductInfo    *ProductInfo `json:"product_info,omitempty"`
        geocatalogo  `json:"_geocatalogo,omitempty"`
}

type Record Uses

type Record struct {
    Identifier  string     `json:"id"`
    Type        string     `json:"type"`
    BoundingBox [4]float64 `json:"bbox"`
    Geometry    Geometry   `json:"geometry"`
    Properties  Properties `json:"properties"`
    Links       []Link     `json:"links,omitempty"`
}

Record describes a generic metadata record

type Temporal Uses

type Temporal struct {
    Begin *time.Time `json:"begin,omitempty"`
    End   *time.Time `json:"end,omitempty"`
}

Temporal describes temporal bounds

Directories

PathSynopsis
parsers

Package metadata imports 1 packages (graph) and is imported by 10 packages. Updated 2019-07-09. Refresh now. Tools for package owners.