Class QuadTile

A Tile is, essentially, code to create an Arrow RecordBatch and to associate metadata with it, in the context of a larger dataset.

Hierarchy

Constructors

Properties

__schema?: schema_entry[]
_already_called: boolean = false
_batch?: RecordBatch<any>
_buffer_manager?: TileBufferManager<QuadTile>
_children: QuadTile[] = []
_download?: Promise<void>
_extent?: {
    x: MinMax;
    y: MinMax;
}

Type declaration

  • x: MinMax
  • y: MinMax
_highest_known_ix?: number
_max_ix?: number
_min_ix?: number
child_locations: string[] = []
codes: [number, number, number]
dataset: Dataset<Tile>
download_state: string
key: string
max_ix: number = -1
numeric_id: number
parent: QuadTile
promise: Promise<void>
ready: boolean
url: string

Accessors

  • get _schema(): number[] | schema_entry[]
  • Returns number[] | schema_entry[]

  • get children(): this[]
  • Returns this[]

  • get highest_known_ix(): number
  • Returns number

  • set highest_known_ix(val: number): void
  • Parameters

    • val: number

    Returns void

  • get macro_siblings(): string[]
  • Returns string[]

  • get macrotile(): string
  • Sometimes it's useful to do operations on batches of tiles. This function defines a grouping of tiles in the same general region to be operated on. In general they will have about 80 elements (16 + 64), but the top level has just 5. (4 + 1). Note a macro tile with the name [2/0/0] does not actually include the tile [2/0/0] itself, but rather the tiles [4/0/0], [4/1/0], [4/0/1], [4/1/1], [5/0/0] etc.

    Returns string

  • get min_ix(): number
  • Returns number

  • get record_batch(): RecordBatch<any>
  • Returns RecordBatch<any>

Methods

  • Returns IterableIterator<StructRowProxy<any>>

  • Parameters

    • name: string
    • data: Float32Array

    Returns RecordBatch<any>

  • Parameters

    • max_ix: number

    Returns Promise<void>

  • Returns

    A promise that includes the callback and all previous promises.

    Parameters

    • callback: (() => Promise<void>)

      A function (possibly async) to execute before this cell is ready.

        • (): Promise<void>
        • Returns Promise<void>

    Returns Promise<void>

  • Parameters

    • callback: ((p: StructRowProxy<any>) => void)
        • (p: StructRowProxy<any>): void
        • Parameters

          • p: StructRowProxy<any>

          Returns void

    Returns void

  • Parameters

    • suffix: string = undefined

    Returns Promise<RecordBatch<any>>

  • Parameters

    • colname: string

    Returns Promise<Vector<any>>

  • Parameters

    Returns Iterable<StructRowProxy<any>>

  • Returns Promise<number[] | schema_entry[]>

  • Returns Generator<StructRowProxy<any>, void, unknown>

Generated using TypeDoc