Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.13 KB

File metadata and controls

46 lines (33 loc) · 1.13 KB

StacProviderDataset

Properties

Name Type
name string
description string
dataType RasterDataType
resolution SpatialResolution
projection string
spatialGrid SpatialGridDescriptor
bands Array<StacProviderDatasetBand>

Example

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

// TODO: Update the object below with actual values
const example = {
  "name": null,
  "description": null,
  "dataType": null,
  "resolution": null,
  "projection": null,
  "spatialGrid": null,
  "bands": null,
} satisfies StacProviderDataset

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 StacProviderDataset
console.log(exampleParsed)

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