---
name: "liteserv"
section: "1"
platform: "linux"
package: "tilelite"
version: "0.1.5-2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/liteserv"
---

# liteserv(1)

serve tiles using TileLite

## NAME

liteserv - serve tiles using TileLite

## SYNOPSIS

**liteserv** *mapfile* \[ options \]

## DESCRIPTION

This manual page documents briefly the **liteserv** command. **litserv** is a development server that serves tiles rendered by Mapnik using TileLite.

## OPTIONS

- **-h, --help**

  Show summary of options.

- **-i** *HOST*, **--ip=***HOST*

  Specify an IP address to listen on (defaults to *0.0.0.0*/*localhost*).

- **-p** *PORT*, **--port=***PORT*

  Specify a custom port to run on: eg. *8080*.

- **--config=***CONFIG*

  Specify the use of a custom TileLite config file to override default settings. By default looks for a file in the current directory called *tilelite.cfg*.

- **-s** *SIZE*, **--size=***SIZE*

  Specify a custom tile size (defaults to *256*).

- **-b** *BUFFER\_SIZE*, **--buffer-size=***BUFFER\_SIZE*

  Specify a custom map buffer\_size (defaults to *128*).

- **-z** *MAX\_ZOOM*, **--max-zoom=***MAX\_ZOOM*

  Max zoom level to support (defaults to *22*).

- **-f** *FORMAT*, **--format=***FORMAT*

  Specify a custom image format (*png* or *jpeg*) (defaults to *png*).

- **--paletted**

  Use paletted/8bit PNG (defaults to *False*).

- **-d** *DEBUG*, **--debug=***DEBUG*

  Run in debug mode (defaults to *True*).

- **-c**, **--caching**

  Turn on tile caching mode (defaults to *False*).

- **--cache-path=***CACHE\_PATH*

  Path to tile cache directory (defaults to */tmp*).

- **--cache-force**

  Force regeneration of tiles while in caching mode (defaults to *False*).

- **--processes=***NUM\_PROCESSES*

  If **werkzeug** is installed, number of rendering processes to allow.

## SEE ALSO

## AUTHOR

TileLite was written by Dane Springmeyer \<dane@dbsgeo.com\>.

This manual page was written by David Paleino \<dapal@debian.org\>, for the Debian project (and may be used by others).
