mapproxy-seed(1)
π mapproxy-seed(1) β the manual, but make it make sense π
okay bestie, welcome to mapproxy-seed(1), the little CLI that pre-cooks your tiles so your maps don't ghost you later. let's get into it π«Ά
β¨ NAME β¨
mapproxy-seed β pre-generate tiles for MapProxy π
πΈ SYNOPSIS πΈ
mapproxy-seed [OPTIONS]
π¦ DESCRIPTION π¦
so basically, mapproxy-seed pre-generates tiles for MapProxy, which makes your commonly requested views way faster, because otherwise MapProxy creates all tiles on demand and we are not doing that to our users, no ma'am. π
the tool can seed one or more polygon or BBOX areas for each cached layer. yes, per layer. slay.
now here's the iconic part β MapProxy does not seed the tile pyramid level by level. instead it traverses the tile pyramid depth-first, from bottom to top. it's giving optimized-for-your-OS-and-geospatial-database, working with your caches and not against them. periodt. π
π OPTIONS π
-s seed.yaml,--seed-conf seed.yamlβ the seed configuration, bestie. you can also just pass the configuration as the last argument tomapproxy-seedif you're feeling casual about it.-f mapproxy.yaml,--proxy-conf mapproxy.yamlβ the MapProxy configuration to use. this file should describe all the caches and grids that the seed configuration references. don't leave it out here missing things, it's not the vibe.-c N,--concurrency Nβ the number of concurrent seed worker. some parts of the seed tool are genuinely CPU intensive (image splitting and encoding, we're sweating), so use this to spread that load across multiple CPUs. if you want to limit the concurrent requests to the source WMS, go look atwms_source_concurrent_requests_label.-n,--dry-runβ simulates the whole seed/cleanup process without requesting, creating or removing any tiles. it's a rehearsal, nothing is real yet. absolutely no cap.--summaryβ prints a summary of all seeding and cleanup tasks, then exits. short and sweet, we love a quick check-in. π-i,--interactiveβ prints a summary of each seeding and cleanup task and asks ifmapproxy-seedshould seed/cleanup that task. it will query for each task before it starts, so you're the main character deciding everything. π₯--seed task1,task2,..β only seed the named seeding tasks. you can pick multiple tasks with a comma separated list of names, or you can use the--seedoption multiple times. you can useALLto select all tasks. heads up though: this disables all cleanup tasks unless you also use the--cleanupoption. π--cleanup task1,task2,..β only cleanup the named tasks. multiple tasks via a comma separated list of names, or use the--cleanupoption multiple times. useALLto select all tasks. and same energy as above: this disables all seeding tasks unless you also use the--seedoption.--continueβ continues an interrupted seed progress. MapProxy will start the seeding progress at the beginning if the progress file (--progress-file) was not found, so don't come crying if it restarts. MapProxy can only continue if the previous seed was started with the--progress-fileor--continueoption. that's the rule.--progress-fileβ filename where MapProxy stores the seeding progress for the--continueoption. defaults to.mapproxy_seed_progressin the current working directory. MapProxy will remove that file after a successful seed, so don't get attached. πΈ--durationβ stop the seeding process after this duration. it accepts duration in the format120s,15m,4h,0.5d. use this together with--continueso you can resume the seeding later. chef's kiss combo.--reseed-fileβ file created bymapproxy-seedat the start of a new seeding.--reseed-intervalβ only start seeding if--reseed-fileis older then this duration. accepts duration in the format120s,15m,4h,0.5d. use this with--continueto be able to resume the seeding.--use-cache-lockβ locks each cache so multiple parallelmapproxy-seedcalls don't all work on the same cache at once (chaos prevention, honestly). it does not lock normal operation of MapProxy, so your everyday MapProxy life is untouched. β¨--log-configβ the logging configuration file to use.
π EXAMPLE π
Seed with concurrency of 4:
mapproxy-seed -f mapproxy.yaml -c 4 seed.yaml
Print summary of all seed tasks and exit:
mapproxy-seed -f mapproxy.yaml -s seed.yaml --summary --seed ALL
Interactively select which tasks should be seeded:
mapproxy-seed -f mapproxy.yaml -s seed.yaml -i
Seed task1 and task2 and cleanup task3 with concurrency of 2:
mapproxy-seed -f mapproxy.yaml -s seed.yaml -c 2 --seed task1,task2 \
--cleanup task3
okay and that's the whole page, bestie π go forth and seed. this is mapproxy-seed(1), dated 17 July 2026 β iykyk, take care of her πβ¨π¦
π¦ where this page comes from
- ubuntu stonking: mapproxy 7.0.0+dfsg-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms