Positional arguments:
style Style file for Mapnik
output Resulting image file
Optional arguments:
-h, --help
Show usage information and exit
--version
Show program's version number and exit
-zZOOM, --zoomZOOM
Target zoom level
-pPPI, --ppiPPI, --dpiPPI
Pixels per inch (alternative to scale)
--factorFACTOR
Scale factor (affects ppi, default=1)
-sSCALE, --scaleSCALE
Scale as in 1:100000 (specifying ppi is recommended)
-bXminYminXmaxYmax, --bboxXminYminXmaxYmax
Bounding box
-aPAPER, --paperPAPER
Paper format: -a +4 for landscape A4, -a -4 for portrait A4, -a letter for autorotated US Letter
-dWH, --sizeWH
Target dimensions in mm (one 0 allowed)
-xWH, --size-pxWH
Target dimensions in pixels (one 0 allowed)
--norotate
Do not swap width and height for bbox
-mMARGIN, --marginMARGIN
Amount in mm to reduce paper size
-cXY, --centerXY
Center of an image
--fitFIT
Fit layers in the map, comma-separated
--paddingPADDING
Margin for layers in --fit (default=5), mm
--layersLAYERS
Map layers to render, comma-separated
--add-layersADD_LAYERS
Map layers to include, comma-separated
--hide-layersHIDE_LAYERS
Map layers to hide, comma-separated
--urlURL
URL of a map to center on
--oziOZI
Generate ozi map file
--wldWLD
Generate world file
-t{1,2,3,4,5,6,7,8,9,10,11,12}, --tiles{1,2,3,4,5,6,7,8,9,10,11,12}
Write N×N tiles, then join using ImageMagick
--just-tiles
Do not join tiles, instead write ozi/wld file for each
-v, --debug
Display calculated values
-fFMT, --formatFMT
Target file format (by default looks at extension)
--baseBASE
Base path for style file, in case it's piped to STDIN
--vars[VARS[VARS...]]
List of variables (name=value) to substitute in style file (use ${name:default})
--fonts[FONTS[FONTS...]]
List of full path to directories containing fonts
03 December 2024 nik4(1)