Raster#

This module contains the class to manipulate rasters. Class for defining a collection of RasterBand.

class tracklib.core.Raster.Raster(grids, verbose=True)[source]#
__init__(grids, verbose=True)[source]#

On crée un raster avec une ou plusieurs grilles géographiques déjà chargées avec les données.

Parameters#

gridslist

A list of RasterBand or one RasterBand.

bandCount()[source]#

TODO

getNamesOfRasterBand()[source]#

Return all the names of raster bands in a list.

getRasterBand(identifier)[source]#

Return the raster band by the index

Return type

RasterBand

plot(identifier, axe=None, figure=None, color1=(0, 0, 0), color2=(255, 255, 255))[source]#

At the moment, juste one band of raster, that’s why the name is needeed.