source: subversion/applications/rendering/tilesAtHome-dev/trunk/tilesAtHome.conf.linux @ 21899

Last change on this file since 21899 was 21768, checked in by deelkar, 10 years ago

make client autoupdate optional, but make client exit on disallowed update

  • Property svn:eol-style set to native
File size: 5.5 KB
Line 
1#
2# Config file for TilesAtHome
3#
4
5## Edit and save as tilesAtHome.conf.
6##
7## do NOT make a link to this file
8## do NOT save modifications to this file
9##
10
11## FileLocations
12#
13# If WorkingDir is commented out, it will use the default system tmpdir location
14WorkingDirectory=/tmp/
15XmlStarlet=xmlstarlet
16Niceness=10
17Pngcrush=pngcrush
18Optipng=optipng
19Subversion=svn
20
21## AllowAutoUpdate: this config option makes the client autoupdate, so you get
22# the most current version of the client automatically.
23# set to 0 if you don't trust the developers, the client will then exit before update.
24# be advised that only current clients are allowed to take requests from the t@h server.
25#AllowAutoUpdate = 1
26
27## PNG optimizer to use, "optipng" and "pngcrush" currently supported.
28PngOptimizer=pngcrush
29
30# Set the timeout when downloading files (in seconds)
31DownloadTimeout=1800
32
33# APIServers and XAPIServers define the servers to use to download OSM datta from.
34# APIServers are used for standard map downloads and XAPIServers are used for downloads
35# with the specification of predicates.
36# The actual download URLs need to be defined by API_<NAME> and XAPI_<NAME> settings.
37# Currently defined servers are API, TRAPI, ROMA and XAPI for APIServers and XAPI for XAPIServers.
38#APIServers = API,TRAPI,ROMA
39#XAPIServers = XAPI
40
41# Hand back render requests that have a tileset on a server bigger than
42# MaxTilesetComplexity. Useful if you do not have much RAM and inkscape
43# crashes. The biggest tileset is about 31000000, so playing with values
44# around 20000000 will help you. A setting of 0 disables the mechanism.
45MaxTilesetComplexity = 0
46
47# Machines with relatively small memory can encounter problems when rendering
48# complex tilesets.  If Inkscape fails with error messages on high zoom levels
49# indicating a memory issue, try to set RenderStripes to a positive value
50# The value of RenderStripes is determining from which zoom level below the
51# highest on the SVG file will be rendered in stripes.  E.g. a value of 5 means
52# that the 5th zoom level below the top level (normally 12) is to be rendered in
53# stripes.  This would be z17 on a standard tileset.  A value of 5 should be
54# sufficient in most cases.  Reducing that value increases the number of Inkscape
55# calls.  A value of 0 disables striped rendering.  This is the default.
56#RenderStripes = 0
57
58
59## Upload settings
60
61# if set to 0 the zip files will get renamed to zip_uploaded after upload.
62DeleteZipFilesAfterUpload=1
63
64# set UploadToDirectory to 1 to enable uploading to a common upload
65# directory from which one central client can handle all the uploading
66UploadToDirectory=0
67UploadTargetDirectory=/set/this/to/your/upload/directory
68
69# Recommended setting 1/2 your kbyte/s upstream of your uploader to the tah server
70# Recommended maximum setting: 1.5 times your kbyte/s upstream of your uploader
71UploadToDirectoryMaxQueue = 20
72
73## Beziercurve hinting
74NoBezier=0  # Set to 1 if beziercurvehinting causes errors.
75
76# If set to 1, make a copy of the data file for later debugging purposes
77KeepDataFile=0
78
79# What rasterizer to use.
80# Set to Inkscape, Batik or BatikAgent
81Rasterizer=Inkscape
82
83# Set the maximum heap size for the java virtual machine. Use 'M' for megabytes, 'G' for gigabytes.
84# If nothing is specified then a hard-coded default of 512M is used.
85# The Java process will use memory other than heap, so don't set to values equal or greater your actual RAM.
86# Note1: In the future this setting will be used for all calls to java
87# Note2: on 32bit platforms this is limited to 1.5 GiB (1536M)
88#JavaHeapSize=1536M
89
90# Set to the maximum JVM size to pass to the -Xmx parameter when running the
91# rasterizer. The maximum size depends on the OS and the available memory.
92# For 32bit Systems it is 1536M (1.5GiB)
93# Only used for Batik jar
94BatikJVMSize=1536M
95
96
97# If set to 1 or greater, it will enable forking to render several zoom levels to SVG simultanously
98# Fork = n  -> use 2*n parallel processes for rendering to svg
99Fork=0
100
101# make the client upload in the background if set to 1
102ForkForUpload=1
103
104# Maxdepth for xmlstarlet, reduce if you run into problems with memory,
105# increase if you get "tile too complex" errors.
106XmlStarletMaxDepth=20000
107
108# This feature is experimental and currently linux only. Don't use if you are
109# using inkscape with the same username outside tiles@home.
110# Set to 1 if you want to t@h to try and autobackup and -restore your inkscape
111# preferences file
112AutoResetInkscapePrefs=0
113
114# Set this to 1 if you want to clear the stopfile.txt on program start.
115# may unintentionally clear stopfile.txt when (accidentally) running 2 instances
116AutoResetStopfile=0
117
118# Set this to 1 if you want to have som logs dump in ProcessLogFile
119ProcessLog=0
120ProcessLogFile="tah-process.log"
121
122
123## Verbosity: changing this makes the client report different actions more or
124## less verbosely.
125#
126# Verbose=0  almost like "quiet" on other programs, just output wether it's
127#            getting a request, preprocessing, rendering or uploading, no
128#            progress inside a tileset (%ages) or on uploading zips.
129# Verbose=3  show progress inside a tileset and on upload, but not the single
130#            steps while rendering
131# Verbose=6  show everything like it was before r9700, this is the default
132# Verbose=10 behaves like Verbose=1 before r9700, adding a newline after
133#            each message
134Verbose=6
135
136# DateTimeString allows you to prepend client log messages with a time stamp. Default off.
137# %H - hours
138# %M - minutes
139# %S - seconds
140# %d - days
141# %m - months
142# %y - 2-digit year
143# %Y - 4-digit year
144#DateTimeString = %d.%m.%Y - %H:%M:%S
Note: See TracBrowser for help on using the repository browser.