Skip to content

Latest commit

 

History

History
86 lines (73 loc) · 2 KB

File metadata and controls

86 lines (73 loc) · 2 KB

GeospatialData

Properties

Name Type
id string
title string
description string
keywords Array<string>
dataType GeospatialDataDataType
geometryDimension GeometryDimension
featureType string
attribution string
license string
pointOfContact string
publisher string
theme string
crs TilesCrs
epoch number
minScaleDenominator number
maxScaleDenominator number
minCellSize number
maxCellSize number
maxTileMatrix string
minTileMatrix string
boundingBox BoundingBox2D
created Date
updated Date
style Style
geoDataClasses Array<string>
propertiesSchema any
links Array<Link>

Example

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

// TODO: Update the object below with actual values
const example = {
  "id": null,
  "title": null,
  "description": null,
  "keywords": null,
  "dataType": null,
  "geometryDimension": null,
  "featureType": null,
  "attribution": null,
  "license": null,
  "pointOfContact": null,
  "publisher": null,
  "theme": null,
  "crs": null,
  "epoch": null,
  "minScaleDenominator": null,
  "maxScaleDenominator": null,
  "minCellSize": null,
  "maxCellSize": null,
  "maxTileMatrix": null,
  "minTileMatrix": null,
  "boundingBox": null,
  "created": null,
  "updated": null,
  "style": null,
  "geoDataClasses": null,
  "propertiesSchema": null,
  "links": null,
} satisfies GeospatialData

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

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