Skip to content

rio_tiler.mosaic.methods.defaults

rio_tiler.mosaic.methods.defaults

rio_tiler.mosaic.methods.defaults: default mosaic filling methods.

CountMethod dataclass

Bases: MosaicMethodBase

Stack the arrays and return the valid pixel count.

data property

Return valid data count of the data stack.

feed

feed(array: Optional[MaskedArray])

Add array to the stack.

FirstMethod dataclass

Bases: MosaicMethodBase

Feed the mosaic array with the first pixel available.

feed

feed(array: Optional[MaskedArray])

Add data to the mosaic array.

HighestMethod dataclass

Bases: MosaicMethodBase

Feed the mosaic array with the highest pixel values.

feed

feed(array: Optional[MaskedArray])

Add data to the mosaic array.

LastBandHighMethod dataclass

Bases: MosaicMethodBase

Feed the mosaic array using the last band as decision factor (highest value).

data property

Return data.

feed

feed(array: Optional[MaskedArray])

Add data to the mosaic array.

LastBandLowMethod dataclass

Bases: MosaicMethodBase

Feed the mosaic array using the last band as decision factor (lowest value).

data property

Return data.

feed

feed(array: Optional[MaskedArray])

Add data to the mosaic array.

LowestMethod dataclass

Bases: MosaicMethodBase

Feed the mosaic array with the lowest pixel values.

feed

feed(array: Optional[MaskedArray])

Add data to the mosaic array.

MeanMethod dataclass

Bases: MosaicMethodBase

Stack the arrays and return the Mean pixel value.

data property

Return Mean of the data stack.

feed

feed(array: MaskedArray)

Add array to the stack.

MedianMethod dataclass

Bases: MosaicMethodBase

Stack the arrays and return the Median pixel value.

data property

Return Median of the data stack.

feed

feed(array: Optional[MaskedArray])

Add array to the stack.

StdevMethod dataclass

Bases: MosaicMethodBase

Stack the arrays and return the Standard Deviation value.

data property

Return STDDEV of the data stack.

feed

feed(array: Optional[MaskedArray])

Add array to the stack.