Skip to content

Latest commit

 

History

History
55 lines (42 loc) · 1.44 KB

File metadata and controls

55 lines (42 loc) · 1.44 KB

GdalDatasetParameters

Parameters for loading data using Gdal

Properties

Name Type
filePath string
rasterbandChannel number
geoTransform GeoTransform
width number
height number
fileNotFoundHandling FileNotFoundHandling
noDataValue number
propertiesMapping Array<GdalMetadataMapping>
gdalOpenOptions Array<string>
gdalConfigOptions Array<Array<string>>
allowAlphabandAsMask boolean

Example

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

// TODO: Update the object below with actual values
const example = {
  "filePath": null,
  "rasterbandChannel": null,
  "geoTransform": null,
  "width": null,
  "height": null,
  "fileNotFoundHandling": null,
  "noDataValue": null,
  "propertiesMapping": null,
  "gdalOpenOptions": null,
  "gdalConfigOptions": null,
  "allowAlphabandAsMask": null,
} satisfies GdalDatasetParameters

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

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