Package mapproxy :: Package core :: Module cache :: Class _TileCreator
[hide private]
[frames] | no frames]

Class _TileCreator

source code

object --+
         |
        _TileCreator
Known Subclasses:

Base class for the creation of new tiles. Subclasses can implement different strategies how multiple tiles should be created (e.g. threaded).
Instance Methods [hide private]
 
__init__(self, tile_source, cache)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
create_tiles(self, tiles)
Create the given tiles (_Tile.source will be set).
source code
 
__repr__(self)
repr(x)
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, tile_source, cache)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

create_tiles(self, tiles)

source code 
Create the given tiles (_Tile.source will be set). Returns a list with all created tiles.

Note: The returned list may contain more tiles than requested. This allows the TileSource to create multiple tiles in one pass.

__repr__(self)
(Representation operator)

source code 
repr(x)
Overrides: object.__repr__
(inherited documentation)