Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(16)  |  Call(10)  |  Derive(0)  |  Import(6)

src/m/a/MapProxy-1.6.0/mapproxy/seed/config.py   MapProxy(Download)
from mapproxy.util.yaml import load_yaml_file, YAMLError
from mapproxy.seed.util import bidict
from mapproxy.seed.seeder import SeedTask, CleanupTask
from mapproxy.seed.spec import validate_seed_conf
 
                        seed_coverage = BBOXCoverage(grid.bbox, grid.srs)
 
                    self.seed_tasks.append(SeedTask(md, tile_mgr, levels, remove_before, seed_coverage))
 
                    if remove_before:
 
                md = dict(name=self.name, cache_name=cache_name, grid_name=grid_name)
                yield SeedTask(md, tile_manager, levels, self.refresh_timestamp, coverage)
 
class CleanupConfiguration(ConfigurationBase):

src/m/a/mapproxy-HEAD/mapproxy/seed/config.py   mapproxy(Download)
from mapproxy.util.yaml import load_yaml_file, YAMLError
from mapproxy.seed.util import bidict
from mapproxy.seed.seeder import SeedTask, CleanupTask
from mapproxy.seed.spec import validate_seed_conf
 
                        seed_coverage = BBOXCoverage(grid.bbox, grid.srs)
 
                    self.seed_tasks.append(SeedTask(md, tile_mgr, levels, remove_before, seed_coverage))
 
                    if remove_before:
 
                md = dict(name=self.name, cache_name=cache_name, grid_name=grid_name)
                yield SeedTask(md, tile_manager, levels, self.refresh_timestamp, coverage)
 
class CleanupConfiguration(ConfigurationBase):

src/m/a/MapProxy-1.6.0/mapproxy/script/export.py   MapProxy(Download)
from mapproxy.util.coverage import  BBOXCoverage
from mapproxy.seed.util import ProgressLog, format_bbox
from mapproxy.seed.seeder import SeedTask, seed_task
from mapproxy.config import spec as conf_spec
from mapproxy.util.ext.dictspec.validator import validate, ValidationError
 
    md = dict(name='export', cache_name='cache', grid_name=options.grid, dest=options.dest)
    task = SeedTask(md, mgr, levels, None, seed_coverage)
 
    print format_export_task(task, custom_grid=custom_grid)

src/m/a/mapproxy-HEAD/mapproxy/script/export.py   mapproxy(Download)
from mapproxy.util.coverage import  BBOXCoverage
from mapproxy.seed.util import ProgressLog, format_bbox
from mapproxy.seed.seeder import SeedTask, seed_task
from mapproxy.config import spec as conf_spec
from mapproxy.util.ext.dictspec.validator import validate, ValidationError
 
    md = dict(name='export', cache_name='cache', grid_name=options.grid, dest=options.dest)
    task = SeedTask(md, mgr, levels, None, seed_coverage)
 
    print format_export_task(task, custom_grid=custom_grid)

src/m/a/MapProxy-1.6.0/mapproxy/test/unit/test_seed.py   MapProxy(Download)
import cPickle as pickle
 
from mapproxy.seed.seeder import TileWalker, SeedTask, SeedProgress
from mapproxy.cache.tile import TileManager
from mapproxy.source.tile import TiledSource
    def make_bbox_task(self, bbox, srs, levels):
        md = dict(name='', cache_name='', grid_name='')
        coverage = BBOXCoverage(bbox, srs)
        return SeedTask(md, self.tile_mgr, levels, refresh_timestamp=None, coverage=coverage)
 
    def make_geom_task(self, geom, srs, levels):
        md = dict(name='', cache_name='', grid_name='')
        coverage = GeomCoverage(geom, srs)
        return SeedTask(md, self.tile_mgr, levels, refresh_timestamp=None, coverage=coverage)

src/m/a/mapproxy-HEAD/mapproxy/test/unit/test_seed.py   mapproxy(Download)
import cPickle as pickle
 
from mapproxy.seed.seeder import TileWalker, SeedTask, SeedProgress
from mapproxy.cache.tile import TileManager
from mapproxy.source.tile import TiledSource
    def make_bbox_task(self, bbox, srs, levels):
        md = dict(name='', cache_name='', grid_name='')
        coverage = BBOXCoverage(bbox, srs)
        return SeedTask(md, self.tile_mgr, levels, refresh_timestamp=None, coverage=coverage)
 
    def make_geom_task(self, geom, srs, levels):
        md = dict(name='', cache_name='', grid_name='')
        coverage = GeomCoverage(geom, srs)
        return SeedTask(md, self.tile_mgr, levels, refresh_timestamp=None, coverage=coverage)