Package mapproxy :: Package core :: Module seed_old :: Class TileSeeder
[hide private]
[frames] | no frames]

Class TileSeeder

source code

object --+
         |
        TileSeeder

Instance Methods [hide private]
 
__init__(self, vlayer, progress_meter, rebuild_inplace=True, remove_before=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
add_seed_location(self, point_bbox, res=None, level=None, srs=None, cache_srs=None, px_buffer=1000) source code
 
_add_seed_location(self, cache, point_bbox, res=None, level=None, srs=None, px_buffer=1000) source code
 
_add_seed_level(self, cache, bbox, level) source code
 
_seed_tiles(self, cache, tiles, progress, dry_run=False)
Seed the given tiles form cache.
source code
 
seed(self, dry_run=False) source code
 
cleanup(self, progress, dry_run) source code
 
_sorted_seeds(self) source code
 
_caches_with_seeded_levels(self) source code
 
_tmp_rebuild_location(*args, **kwds)

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

Class Methods [hide private]
 
stop_all(cls) source code
Static Methods [hide private]
 
_create_tile_iterator(grid, bbox, level)
Return all tiles that intersect the bbox on level.
source code
Class Variables [hide private]
  operating = True
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, vlayer, progress_meter, rebuild_inplace=True, remove_before=None)
(Constructor)

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

_create_tile_iterator(grid, bbox, level)
Static Method

source code 
Return all tiles that intersect the bbox on level.
Returns:
estimated number of tiles, tile iterator

_tmp_rebuild_location(*args, **kwds)

 
Decorators:
  • @contextmanager