Skip to content

Module rio_tiler.mosaic.methods.defaults

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

Classes

FirstMethod

class FirstMethod(

)

Feed the mosaic tile with the first pixel available.

Ancestors (in MRO)

  • rio_tiler.mosaic.methods.base.MosaicMethodBase
  • abc.ABC

Instance variables

data

Return data and mask.

is_done

Check if the tile filling is done.

Methods

feed

def feed(
    self,
    tile: Union[numpy.ma.core.MaskedArray, NoneType]
)

Add data to tile.

HighestMethod

class HighestMethod(

)

Feed the mosaic tile with the highest pixel values.

Ancestors (in MRO)

  • rio_tiler.mosaic.methods.base.MosaicMethodBase
  • abc.ABC

Instance variables

data

Return data and mask.

is_done

Check if the tile filling is done.

Methods

feed

def feed(
    self,
    tile: Union[numpy.ma.core.MaskedArray, NoneType]
)

Add data to tile.

LastBandHigh

class LastBandHigh(

)

Feed the mosaic tile using the last band as decision factor.

Ancestors (in MRO)

  • rio_tiler.mosaic.methods.base.MosaicMethodBase
  • abc.ABC

Instance variables

data

Return data and mask.

is_done

Check if the tile filling is done.

Methods

feed

def feed(
    self,
    tile: Union[numpy.ma.core.MaskedArray, NoneType]
)

Add data to tile.

LastBandLow

class LastBandLow(

)

Feed the mosaic tile using the last band as decision factor.

Ancestors (in MRO)

  • rio_tiler.mosaic.methods.base.MosaicMethodBase
  • abc.ABC

Instance variables

data

Return data and mask.

is_done

Check if the tile filling is done.

Methods

feed

def feed(
    self,
    tile: Union[numpy.ma.core.MaskedArray, NoneType]
)

Add data to tile.

LowestMethod

class LowestMethod(

)

Feed the mosaic tile with the lowest pixel values.

Ancestors (in MRO)

  • rio_tiler.mosaic.methods.base.MosaicMethodBase
  • abc.ABC

Instance variables

data

Return data and mask.

is_done

Check if the tile filling is done.

Methods

feed

def feed(
    self,
    tile: Union[numpy.ma.core.MaskedArray, NoneType]
)

Add data to tile.

MeanMethod

class MeanMethod(
    enforce_data_type: bool = True
)

Stack the tiles and return the Mean pixel value.

Ancestors (in MRO)

  • rio_tiler.mosaic.methods.base.MosaicMethodBase
  • abc.ABC

Instance variables

data

Return data and mask.

is_done

Check if the tile filling is done.

Methods

feed

def feed(
    self,
    tile: Union[numpy.ma.core.MaskedArray, NoneType]
)

Add data to tile.

MedianMethod

class MedianMethod(
    enforce_data_type: bool = True
)

Stack the tiles and return the Median pixel value.

Ancestors (in MRO)

  • rio_tiler.mosaic.methods.base.MosaicMethodBase
  • abc.ABC

Instance variables

data

Return data and mask.

is_done

Check if the tile filling is done.

Methods

feed

def feed(
    self,
    tile: Union[numpy.ma.core.MaskedArray, NoneType]
)

Create a stack of tile.

StdevMethod

class StdevMethod(
    enforce_data_type=True
)

Stack the tiles and return the Standard Deviation value.

Ancestors (in MRO)

  • rio_tiler.mosaic.methods.base.MosaicMethodBase
  • abc.ABC

Instance variables

data

Return data and mask.

is_done

Check if the tile filling is done.

Methods

feed

def feed(
    self,
    tile: Union[numpy.ma.core.MaskedArray, NoneType]
)

Add data to tile.