Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1022 Bytes

File metadata and controls

41 lines (28 loc) · 1022 Bytes

DataId

The identifier for loadable data. It is used in the source operators to get the loading info (aka parametrization) for accessing the data. Internal data is loaded from datasets, external from DataProviders.

Properties

Name Type
type string
datasetId string
providerId string
layerId string

Example

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

// TODO: Update the object below with actual values
const example = {
  "type": null,
  "datasetId": null,
  "providerId": null,
  "layerId": null,
} satisfies DataId

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

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