Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 1.43 KB

File metadata and controls

56 lines (43 loc) · 1.43 KB

MetaDataDefinition

Properties

Name Type
type string
loadingInfo OgrSourceDataset
resultDescriptor RasterResultDescriptor
params Array<GdalLoadingInfoTemporalSlice>
timePlaceholders { [key: string]: GdalSourceTimePlaceholder; }
dataTime TimeInterval
step TimeStep
cacheTtl number
time TimeInterval
start number
end number
bandOffset number

Example

import type { MetaDataDefinition } from '@geoengine/api-client'

// TODO: Update the object below with actual values
const example = {
  "type": null,
  "loadingInfo": null,
  "resultDescriptor": null,
  "params": null,
  "timePlaceholders": null,
  "dataTime": null,
  "step": null,
  "cacheTtl": null,
  "time": null,
  "start": null,
  "end": null,
  "bandOffset": null,
} satisfies MetaDataDefinition

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as MetaDataDefinition
console.log(exampleParsed)

[Back to top] [Back to API list] [Back to Model list] [Back to README]