Skip to content

Latest commit

 

History

History
75 lines (62 loc) · 1.95 KB

File metadata and controls

75 lines (62 loc) · 1.95 KB

TileSet

A resource describing a tileset based on the OGC TileSet Metadata Standard. At least one of the 'TileMatrixSet', or a link with 'rel' tiling-scheme"

Properties

Name Type
title string
description string
keywords Array<string>
dataType GeospatialDataDataType
tileMatrixSetURI string
tileMatrixSetLimits Array<TileMatrixLimits>
crs TilesCrs
epoch number
links Array<Link>
layers Array<GeospatialData>
boundingBox BoundingBox2D
centerPoint TilePoint
style Style
attribution string
license string
accessConstraints AccessConstraints
version string
created Date
updated Date
pointOfContact string
mediaTypes Array<string>

Example

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

// TODO: Update the object below with actual values
const example = {
  "title": null,
  "description": null,
  "keywords": null,
  "dataType": null,
  "tileMatrixSetURI": null,
  "tileMatrixSetLimits": null,
  "crs": null,
  "epoch": null,
  "links": null,
  "layers": null,
  "boundingBox": null,
  "centerPoint": null,
  "style": null,
  "attribution": null,
  "license": null,
  "accessConstraints": null,
  "version": null,
  "created": null,
  "updated": null,
  "pointOfContact": null,
  "mediaTypes": null,
} satisfies TileSet

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

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