Command Line

Usage: python -m tile_renderer [OPTIONS] COMMAND [ARGS]...

Options:
  --version   Show the version and exit.
  -h, --help  Show this message and exit.

Commands:
  generate-default-skin  generate the default skin
  pla1to2                convert pla1-formatted COMPS and NODES file to...
  schema                 print JSON schemas for a skin or PLA2 file
  svg                    renders an SVG map from PLA2_FILES
  tiles                  renders PNG tiles from PLA2_FILES

Render SVG

Usage: python -m tile_renderer svg [OPTIONS] [PLA2_FILES]...

  renders an SVG map from PLA2_FILES

Options:
  -s, --skin PATH
  -z, --zoom INTEGER   [default: 0]
  -o, --out-file PATH
  -h, --help           Show this message and exit.

Render PNG tiles

Usage: python -m tile_renderer tiles [OPTIONS] [PLA2_FILES]...

  renders PNG tiles from PLA2_FILES

Options:
  -s, --skin PATH
  -z, --zoom INTEGER            [default: 0]
  -r, --max-zoom-range INTEGER  [required]
  -t, --tile-size INTEGER       [required]
  -f, --offset FLOAT...         [default: 0, 0]
  -p, --processes INTEGER       [default: 8]
  -c, --chunk-size INTEGER      [default: 8]
  -o, --out-dir PATH            [default: /home/runner/work/tile-
                                renderer/tile-renderer/docs]
  -h, --help                    Show this message and exit.

Generate default skin

Usage: python -m tile_renderer generate-default-skin [OPTIONS]

  generate the default skin

Options:
  -h, --help  Show this message and exit.

PLA1 to 2 translator

Usage: python -m tile_renderer pla1to2 [OPTIONS] COMPS NODES

  convert pla1-formatted COMPS and NODES file to pla2 format

Options:
  -o, --out-dir PATH  [default: /home/runner/work/tile-renderer/tile-
                      renderer/docs]
  -j, --json
  -h, --help          Show this message and exit.