mapproxy-seed(1)

NAME
mapproxy-seed - pre-generate tiles for MapProxy

SYNOPSIS
\FCmapproxy-seed\F[]
[OPTIONS]

DESCRIPTION
mapproxy-seed pre-generates tiles for MapProxy to improve the performance for commonly requested views, because MapProxy creates all tiles on demand otherwise.

The tool can seed one or more polygon or BBOX areas for each cached layer.

MapProxy does not seed the tile pyramid level by level, but traverses the tile pyramid depth-first, from bottom to top. This is optimized to work with the caches of your operating system and geospatial database, and not against.

OPTIONS

\FC-s\F[] seed.yaml, \FC--seed-conf\F[] seed.yaml
    The seed configuration. You can also pass the configuration as the last argument to mapproxy-seed.

\FC-f\F[] mapproxy.yaml, \FC--proxy-conf\F[] mapproxy.yaml
    The MapProxy configuration to use. This file should describe all caches and grids that the seed configuration references.

\FC-c\F[] N, \FC--concurrency\F[] N
    The number of concurrent seed worker. Some parts of the seed tool are CPU intensive (image splitting and encoding), use this option to distribute that load across multiple CPUs. To limit the concurrent requests to the source WMS see \FCwms_source_concurrent_requests_label\F[].

\FC-n\F[], \FC--dry-run\F[]
    This will simulate the seed/cleanup process without requesting, creating or removing any tiles.

\FC--summary\F[]
    Print a summary of all seeding and cleanup tasks and exit.

\FC-i\F[], \FC--interactive\F[]
    Print a summary of each seeding and cleanup task and ask if mapproxy-seed should seed/cleanup that task. It will query for each task before it starts.

\FC--seed\F[] task1,task2,..
    Only seed the named seeding tasks. You can select multiple tasks with a list of comma separated names, or you can use the \FC--seed\F[] option multiple times. You can use \FCALL\F[] to select all tasks. This disables all cleanup tasks unless you also use the \FC--cleanup\F[] option.

\FC--cleanup\F[] task1,task2,..
    Only cleanup the named tasks. You can select multiple tasks with a list of comma separated names, or you can use the \FC--cleanup\F[] option multiple times. You can use \FCALL\F[] to select all tasks. This disables all seeding tasks unless you also use the \FC--seed\F[] option.

\FC--continue\F[]
    Continue an interrupted seed progress. MapProxy will start the seeding progress at the beginning if the progress file (\FC--progress-file\F[]) was not found. MapProxy can only continue if the previous seed was started with the \FC--progress-file\F[] or \FC--continue\F[] option.

\FC--progress-file\F[]
    Filename where MapProxy stores the seeding progress for the \FC--continue\F[] option. Defaults to \FC.mapproxy_seed_progress\F[] in the current working directory. MapProxy will remove that file after a successful seed.

\FC--duration\F[]
    Stop seeding process after this duration. This option accepts duration in the following format: 120s, 15m, 4h, 0.5d Use this option in combination with \FC--continue\F[] to be able to resume the seeding.

\FC--reseed-file\F[]
    File created by mapproxy-seed at the start of a new seeding.

\FC--reseed-interval\F[]
    Only start seeding if \FC--reseed-file\F[] is older then this duration. This option accepts duration in the following format: 120s, 15m, 4h, 0.5d Use this option in combination with \FC--continue\F[] to be able to resume the seeding.

\FC--use-cache-lock\F[]
    Lock each cache to prevent multiple parallel mapproxy-seed calls to work on the same cache. It does not lock normal operation of MapProxy.

\FC--log-config\F[]
    The logging configuration file to use.

EXAMPLE
Seed with concurrency of 4:

\FC
mapproxy-seed -f mapproxy.yaml -c 4 seed.yaml
    \F[]

Print summary of all seed tasks and exit:

\FC
mapproxy-seed -f mapproxy.yaml -s seed.yaml --summary --seed ALL
    \F[]

Interactively select which tasks should be seeded:

\FC
mapproxy-seed -f mapproxy.yaml -s seed.yaml -i
    \F[]

Seed task1 and task2 and cleanup task3 with concurrency of 2:

\FC
mapproxy-seed -f mapproxy.yaml -s seed.yaml -c 2 --seed task1,task2 \
 --cleanup task3
    \F[]