Package mapproxy :: Package tms :: Module cache :: Class TileSource
[hide private]
[frames] | no frames]

Class TileSource

source code

           object --+    
                    |    
core.cache.TileSource --+
                        |
                       TileSource

This TileSource retrieves new tiles from a tile server.
Instance Methods [hide private]
 
__init__(self, grid, tile_client, inverse=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
id(self)
Returns a unique but constant id of this TileSource used for locking.
source code
list of Tiles
create_tile(self, tile, _tile_map)
Retrieve the requested tile.
source code
 
__repr__(self)
repr(x)
source code

Inherited from core.cache.TileSource: lock_filename, tile_lock

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, grid, tile_client, inverse=False)
(Constructor)

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

id(self)

source code 
Returns a unique but constant id of this TileSource used for locking.
Overrides: core.cache.TileSource.id
(inherited documentation)

create_tile(self, tile, _tile_map)

source code 
Retrieve the requested tile.
Returns: list of Tiles
Overrides: core.cache.TileSource.create_tile

__repr__(self)
(Representation operator)

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