Skip to main content

QuadkeyDecoder

From-v4.0

caution

This module is still experimental. It may have issues and functionality may change in minor releases.

QuadkeyDecoder is focused on decoding quadkeys.

Decoder

QuadkeyDecoder implements the DGGSDecoder API:

  • cellColumnNames: ['quadkey', 'quadkeyId', 'quadkey_id']
  • cellToLngLat(cell: string): [number, number]
  • cellToBoundary(cell: string): [number, number][]
  • cellToBoundaryFlat(cell: string): number[]
  • cellToBounds(cell: string): Bounds2D