Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.11 KB

File metadata and controls

50 lines (37 loc) · 1.11 KB

OgrSourceColumnSpec

Properties

Name Type
formatSpecifics FormatSpecifics
x string
y string
_int Array<string>
_float Array<string>
text Array<string>
bool Array<string>
datetime Array<string>
rename { [key: string]: string; }

Example

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

// TODO: Update the object below with actual values
const example = {
  "formatSpecifics": null,
  "x": null,
  "y": null,
  "_int": null,
  "_float": null,
  "text": null,
  "bool": null,
  "datetime": null,
  "rename": null,
} satisfies OgrSourceColumnSpec

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

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