RENDER_EXPIRED(1)
β¨ NAME β¨
render_expired β bestie, this is the little icon that expires a list of map tiles so they get re-rendered π
πΈ SYNOPSIS πΈ
render_expired [options] < expire.list
π¦ DESCRIPTION π¦
okay so first things first: this manual page is just a lil quick rundown of the render_expired command. not the whole saga, just the highlights π
render_expired is a helper utility that grabs a list of map tiles from stdin and expires them so they'll get re-rendered. iconic behaviour honestly.
and the way it has three whole strategies for expiring tiles?? main character energy:
- Render tiles directly β
render_expiredcan connect to therenderdsocket and just submit rendering requests for expired tiles directly. no middleman, no drama π₯ - Delete tiles β
render_expiredcan delete expired tiles from disk. the next time the tile gets viewed it'll get re-rendered, assuming you've got a dynamic rendering setup likemod_tileinstalled π - Mark tiles as dirty β a dynamic tile rendering system like
mod_tiledecides if a tile needs re-rendering by comparing the timestamp of the tile with the time of the planet-import-complet timestamp.render_expiredcan set the timestamp of a tile back many years, ensuring it is older than the db import time, thus causing the tile to be considered dirty and in need of a re-render β¨
and you can combine all three at different zoom levels!! like, for example: zoom level 17-18 get deleted, z11 - z16 get marked dirty, and z6 - z10 get rendered directly. it's giving layered, it's giving strategic, we love a multi-tool π
render_expired takes a list of tiles from stdin that should be expired. the format of the list is one tile per line specified as z/x/y π
1/0/1
1/1/1
1/0/0
1/1/0
and render_expired will automatically expand the list to cover the effected tiles at other zoom levels. so you don't gotta do it yourself, she's got you π«Ά
π OPTIONS π
this program follows the usual GNU command line syntax, with long options starting with two dashes (`-`). a summary of options is included below, and yes, we're going through all of them, no skipping, periodt.
-c,--config=CONFIGβ specify arenderd.conffile from which to load various option values rather than specifying via command line.
the following options will be set (if present); however, they can be overridden if also specified:
-s,--socket-n,--num-threads-t,--tile-dir-z,--min-zoom-Z,--max-zoom
-m,--map=MAPβ specify the style-sheet for which to expire tiles. the default is"default".-s,--socket=SOCKET|HOSTNAME:PORTβ specify the location of therenderdsocket or hostname and port to connect to.-n,--num-threads=Nβ specify the number of parallel requests torenderd. shouldrenderdhave less threads active, requests will be queued. the default is1.-t,--tile-dir=DIRβ specify the base directory where the rendered tiles are. the default is/var/cache/renderd/tilesπ-z,--min-zoom=ZOOMβ filter input to only render tiles greater than or equal to this zoom level (default is'0').-Z,--max-zoom=ZOOMβ filter input to only render tiles less than or equal to this zoom level (default is'20').-d,--delete-from=ZOOMβ when expiring tiles ofZOOMor higher, delete them instead of re-rendering (default is off) π-T,--touch-from=ZOOMβ when expiring tiles ofZOOMor higher, touch them instead of re-rendering (default is off) π-N,--no-progressβ disable display of progress messages (default is off)-h,--helpβ print out a help text forrender_expired-V,--versionβ print out the version number forrender_expired
π SEE ALSO π
π AUTHOR π
render_expire was written by OpenStreetMap project members. absolute legends, no cap π
this manual page was written by OpenStreetMap authors.
and that's the whole vibe check bestie π this page is from mod_tile v0.8.1, dated 2024-03-16 β go forth and expire those tiles, you've got this πβ¨π¦
π¦ where this page comes from
- ubuntu resolute: renderd 0.8.1-2build2 Β· GPL-2.0-or-later
- ubuntu stonking: renderd 0.8.1-2build3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms