File: tilelite.cfg

package info (click to toggle)
tilelite 0.1.5-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 648 kB
  • ctags: 95
  • sloc: python: 528; xml: 79; makefile: 10
file content (49 lines) | stat: -rw-r--r-- 1,325 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
## TileLite Server configuration example
#

# Note: passing a configuration file to TileLite is optional

#
## TileLite will look for two sections:
#

# 1) [tiles]
# 2) [cache]

#
## Variable options:
#

# size: 256 (tile size in pixels usually 64, 256, 512, or multiples thereof)
# buffer_size: 0 - N (where N is the size of your tile)
# format: png or jpeg
# paletted: yes or no (if true Mapnik will render using png256 or 8bit png format)
# max_zoom: 1 - N (where N is commonly a maximum of 22 levels)
# debug: on (prints tile events to stderr if on, silent if off)
# watch_mapfile: on or off (whether the mapfile should be reloaded when edited)
# watch_interval: 1 - N (interval in seconds for checking for changes in mapfile)
# max_failures: 0 - N (number of times to attempt reloading a changed mapfile)

# caching: on or off
# cache_path: the full or relative path to a directory in which to cache tiles
# cache_force: on or off (if true will re-render and re-cache all requested tiles)

# The below example lists the default values for each variable.
# Change these to alter the standard behavior of TileLite.

[tiles]
size = 256
buffer_size = 128
format = png
paletted = no
max_zoom = 22
debug = on
watch_mapfile = off
watch_interval = 2
max_failures = 6

[cache]
caching = off
cache_path = /tmp
cache_force = off