Pyramid.Memory

Description

Name

class Tinman.Pyramid.Memory

Derived from

Builder

A pyramid dataset that keeps the tile pixels in memory.

Fields / Required

size

Type

number

Constraint

# > 0

The size of the bottom-most pyramid level, in pixels. Will be round up to the next power of two.

Fields / Optional

cube

Type

bool

Default

true

Create an unprojected cubemap pyramid (true) or a projected rectangular pyramid ( false).


tile

Type

number

Constraint

# > 0

Default

256

The tile size, in pixels. Will be round up to the next power of two.


pad

Type

number

Constraint

# >= 0

Default

0

The tile pad of the pyramid, in pixels.


georef

Type

Tinman.Georef

Default

null

The georeference of the pyramid.


flags

Type

Pyramid.Flags[]

Default

[]

The pyramid flags of the dataset.


format

Type

PixelFormat[]

Default

[Truecolor, Alpha, SixteenBits]

The pixel format hint to use for optimizing storage space.

Fields / External

id

Type

Dataset.Id

Returns a unique identifier for this dataset.


metadata

Returns dataset metadata information.


info

Holds detail information about this pixel pyramid.