RENDERD.CONF(5)
π NAME π
okay so bestie, meet renderd.conf β it's the configuration file of the rendering daemon for rendering OpenStreetMap tiles. And this whole page? It's renderd.conf(5), the file formats manual entry for it. πΊοΈβ¨
β¨ SYNOPSIS β¨
renderd.conf
π DESCRIPTION π
so like, this manual page documents briefly the renderd.conf configuration file. short and sweet, we love that.
renderd.conf is an INI configuration file for use with renderd(1). π§
The default location is /etc/renderd.conf β that's the macro definition RENDERD_CONFIG, iykyk.
All option names are case-insensitive. yes bestie, you can scream them in ALL CAPS if you want. π
π₯ RENDERD π₯
these are the options belonging to a [renderd] section. π
- There must be at least one
[renderd]section (e.g.[renderd]or[renderd0]). - By default, there can be up to 5 (macro definition
MAX_SLAVES)[renderd]sections (e.g.[renderd0]-[renderd4]). [renderd]section names must begin with[renderd].
the options, one by one π«Ά
iphostnameβ Specify the IP address/hostname to be used for communication with renderd. This must be specified in combination withipport. This option andsocketnameare mutually exclusive.ipportβ Specify the port number to be used for communication with renderd. This must be specified in combination withiphostname. This option andsocketnameare mutually exclusive.num_threadsβ Specify the number of threads to be used for renderd. A value of-1will configurenum_threadsto the number of cores on the system. The default value is4(macro definitionNUM_THREADS). π§΅pid_fileβ Specify the file path into which the PID will be written by renderd. It is only written to when renderd is not running in foreground mode (e.g. without--foreground/-f). The default value is/run/renderd/renderd.pid(macro definitionRENDERD_PIDFILE).socketnameβ Specify the file path to be used as a unix domain socket for communication with renderd. This option andiphostname/ipportare mutually exclusive. The default value is/run/renderd/renderd.sock(macro definitionRENDERD_SOCKET).stats_fileβ Specify the file path into which statistics will be written by renderd. By default, a stats file will not be created. πtile_dirβ Specify the directory path into which tiles will be written by renderd. The default value is/var/cache/renderd/tiles(macro definitionRENDERD_TILE_DIR).
π MAPNIK π
options belonging to the [mapnik] section.
- There can be only one
[mapnik]section. [mapnik]section name must be equal to[mapnik]. no nicknames, no vibes, it's giving exact match only. π
the options π
font_dirβ Specify the directory path where fonts are searched for by libmapnik. The default value is the output ofmapnik-config --fonts/pkgconf --variable=fonts_dir libmapnik(macro definitionMAPNIK_FONTS_DIR).font_dir_recurseβ Specify whether or not to recurse thefont_dirwhen searching for fonts by libmapnik. The default value isfalse/0(macro definitionMAPNIK_FONTS_DIR_RECURSE).plugins_dirβ Specify the directory path where input plugins are searched for by libmapnik. The default value is the output ofmapnik-config --input-plugins/pkgconf --variable=plugins_dir libmapnik(macro definitionMAPNIK_PLUGINS_DIR).
πΊοΈ MAP SECTION πΊοΈ
options belonging a [map] section. yes, one [map] section per map, we're doing multiples, periodt.
- There must be at least one
[map]section. [map]section names can neither begin with[renderd]nor be equal to[mapnik].[map]section names can be anything else, but they must all be unique. π
the options, get comfy πΈ
aspectxβ Specify the X aspect to be used by mod_tile. Only used by mod_tile. The default value is1.aspectyβ Specify the Y aspect to be used by mod_tile. Only used by mod_tile. The default value is1.attributionβ Specify the data attribution to be provided by mod_tile as TileJSON (via{URI}/tile-layer.json). Only used by mod_tile. The default value is:
©<a href=\\\"http://www.openstreetmap.org/\\\">OpenStreetMap</a> and <a href=\\\"http://wiki.openstreetmap.org/wiki/Contributors\\\">contributors</a>, <a href=\\\"http://opendatacommons.org/licenses/odbl/\\\">(ODbL)</a>
(macro definition DEFAULT_ATTRIBUTION).
corsβ Specify the CORS configuration for mod_tile. Only used by mod_tile.descriptionβ Specify the description to be provided by mod_tile as TileJSON (via{URI}/tile-layer.json). Only used by mod_tile.htcphostβ Specify the IP address/hostname of the HTCP Host to be used by renderd for HTCP cache expiry. Only used by renderd.hostβ Specify the IP address/hostname of the Host to be used by renderd for HTCP cache expiry. Only used by renderd.maxzoomβ Specify the maximum zoom level for this section. The default value is20(macro definitionMAX_ZOOM). πminzoomβ Specify the minimum zoom level for this section. The default value is0.parameterize_styleβ Specify the parameterization style/function to be used for this section. The value oflanguageseems to be the only one supported. ngl that's the whole list bestie.server_aliasβ Specify a URL alias of this server to be provided by mod_tile as TileJSON (via{URI}/tile-layer.json). Only used by mod_tile.scaleβ Specify the scale for this section. Only used by renderd. The default value is1.0.tiledirβ Specify the directory path into which tiles will be written by renderd. The default value is/var/cache/renderd/tiles(macro definitionRENDERD_TILE_DIR).tilesizeβ Specify the tile size for this section. Only used by renderd. The default value is256.typeβ Specify the tile configuration (in the format<extension> <mime-type> <output-format>) for this section (e.g.png image/png png256).uriβ Specify the URI prefix with which tiles can be accessed for this section.xmlβ Specify the file path of the Mapnik configuration XML file for this section. Only used by renderd.
π SEE ALSO π
π AUTHOR π
renderd was written by Jon Burgess, and other OpenStreetMap project members. absolute icons, no cap. π
This manual page was written by OpenStreetMap authors.
okay bestie that's the whole page, you ate it, go configure something iconic π β¨
mod_tile v0.8.1 β 2024-06-06 β that's the version and the date, mwah, sign-off complete π
π¦ 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