source: subversion/applications/rendering/tilesAtHome-dev/branches/threading/layers.conf @ 34655

Last change on this file since 34655 was 14258, checked in by medi, 11 years ago

merge -r 13534:14248

  • Property svn:eol-style set to native
File size: 6.4 KB
Line 
1# Layer configuration for tiles@home
2# ==================================
3#
4# You can add any number of layers here. Whenever a tile is rendered,
5# tiles for all layers will be generated and uploaded to the server.
6# Make sure not to create and upload layers that the server doesn't
7# want - that would be a waste of resources.
8
9# All settings here can be overwritten on command-line, but should not.
10
11
12# Master list of layers
13# ---------------------
14#
15# Layers defines a list of layers to be rendered in XY mode
16# Either run default (highzoom) or lowzoom, not both at the same time
17# Lowzoom (<z12) works in xy mode, but not yet in loop mode!
18# could be overridden on command line as "--Layers=caption" for example
19Layers = captionless,tile,maplint
20
21# LowzoomLayers defines a list of layers to be rendered in XY mode
22# for zoom levels <12 and >= 6 if not specified on the command line.
23LowzoomLayers = caption,captionless,tile
24
25# WorldLayers defines a list of layers to be rendered in XY mode
26# for zoom levels <6 if not specified on the command line.
27WorldLayers = captionless,tile
28
29# LayersCapability will enable the client to switch automatically between
30# lowzoom and default/maplint Layers depending on job from t@h server
31LayersCapability = captionless,tile,maplint,caption
32
33
34
35# Details for "default" layer
36# ---------------------------
37
38[tile]
39
40MinZoom = 12
41MaxZoom = 17
42
43# osmarender rule files to be used, one for each level
44Rules.12 = osmarender/stylesheets/osm-map-features-z12.xml
45Rules.13 = osmarender/stylesheets/osm-map-features-z13.xml
46Rules.14 = osmarender/stylesheets/osm-map-features-z14.xml
47Rules.15 = osmarender/stylesheets/osm-map-features-z15.xml
48Rules.16 = osmarender/stylesheets/osm-map-features-z16.xml
49Rules.17 = osmarender/stylesheets/osm-map-features-z17.xml
50
51# prefix for tiles from this layer. this is what the server will see,
52# and has to match what the server expects. I.e. you can rename your
53# layer "gobblebobble" but don't change the prefix.
54Prefix = tile
55
56# preprocessor is a comma-separated list of any (or none) of the following:
57# maplint, close-areas
58Preprocessor = close-areas,area-center
59
60# default layer is not transparent
61Transparent = 0
62
63# this enables the script to check if you've got everything it will need.
64RequiredFiles = tilesGen.pl
65
66# default layer does not need to render full tileset
67RenderFullTileset = 0
68
69# lowzoom stiching layers
70LowZoom = captionless,caption
71
72
73# Details for "POI" layer (currently not used)
74# ---------------------------
75
76[POI]
77
78MinZoom = 12
79MaxZoom = 17
80
81# osmarender rule files to be used, one for each level
82Rules.12 = osmarender/stylesheets/osm-POI-features-z12.xml
83Rules.13 = osmarender/stylesheets/osm-POI-features-z13.xml
84Rules.14 = osmarender/stylesheets/osm-POI-features-z14.xml
85Rules.15 = osmarender/stylesheets/osm-POI-features-z15.xml
86Rules.16 = osmarender/stylesheets/osm-POI-features-z16.xml
87Rules.17 = osmarender/stylesheets/osm-POI-features-z17.xml
88
89# prefix for tiles from this layer. this is what the server will see,
90# and has to match what the server expects. I.e. you can rename your
91# layer "gobblebobble" but don't change the prefix.
92Prefix = poi
93
94# preprocessor is a comma-separated list of any (or none) of the following:
95# maplint, close-areas, noop (not used by t@h yet)
96Preprocessor = noop
97
98# this enables the script to check if you've got everything it will need.
99RequiredFiles = tilesGen.pl
100
101# POI layer is transparent
102Transparent = 1
103
104# POI layer does not need to render full tileset
105RenderFullTileset = 1
106
107
108
109# Details for "maplint" layer
110# ---------------------------
111
112[maplint]
113
114MinZoom = 12
115MaxZoom = 16
116
117# osmarender rule files to be used, one for each level
118Rules.12 = maplint/rules-small.xml
119Rules.13 = maplint/rules-small.xml
120Rules.14 = maplint/rules-medium.xml
121Rules.15 = maplint/rules-large.xml
122Rules.16 = maplint/rules-largest.xml
123#Rules.17 = maplint/rules-largest.xml
124
125# prefix for tiles from this layer. this is what the server will see,
126# and has to match what the server expects. I.e. you can rename your
127# layer "gobblebobble" but don't change the prefix.
128Prefix = maplint
129
130# preprocessor is a comma-separated list of any (or none) of the following:
131# maplint, close-areas
132Preprocessor = maplint
133
134# this enables the script to check if you've got everything it will need.
135RequiredFiles = maplint/lib/run-tests.xsl,maplint/lib/convert-to-tags.xsl,maplint/tests.xsl
136
137# maplint layer is transparent
138Transparent = 1
139
140# maplint layer needs to render full tileset
141RenderFullTileset = 0
142
143# lowzoom stiching layers
144LowZoom = maplint
145
146
147# Details for captionless layer
148# -----------------------------
149# captionless  =  base image for lowzoom.  It's a z12 only layer with no captions
150# z8-z11 are generated from this layer using the old lowzoom tile stitcher.
151# Captions are generate as a transparent overlay and could be localised.
152
153[captionless]
154
155MinZoom = 12
156MaxZoom = 12
157Rules.12 = osmarender/stylesheets/captionless-z12.xml
158Prefix = captionless
159Preprocessor = close-areas
160RequiredFiles = tilesGen.pl
161Transparent = 0
162RenderFullTileset = 0
163LowZoom = captionless
164
165
166
167# Details for lowzoom caption layer
168# ---------------------------------
169
170[caption]
171
172MinZoom =  0
173MaxZoom = 11
174
175# osmarender rule files to be used, one for each level
176Rules.0 = osmarender/stylesheets/caption-z0.xml
177Rules.1 = osmarender/stylesheets/caption-z1.xml
178Rules.2 = osmarender/stylesheets/caption-z2.xml
179Rules.3 = osmarender/stylesheets/caption-z3.xml
180Rules.4 = osmarender/stylesheets/caption-z4.xml
181Rules.5 = osmarender/stylesheets/caption-z5.xml
182Rules.6 = osmarender/stylesheets/caption-z6.xml
183Rules.7 = osmarender/stylesheets/caption-z7.xml
184Rules.8 = osmarender/stylesheets/caption-z8.xml
185Rules.9 = osmarender/stylesheets/caption-z9.xml
186Rules.10 = osmarender/stylesheets/caption-z10.xml
187Rules.11 = osmarender/stylesheets/caption-z11.xml
188
189# lowzoom prefix should be 'caption'. Regular tiles are later produced by
190# stitching captionless tiles together and then overlaying these caption tiles.
191Prefix = caption
192
193Preprocessor = noop
194
195# lowzoom caption layer is transparent
196Transparent = 1
197
198# this enables the script to check if you've got everything it will need.
199RequiredFiles = tilesGen.pl
200
201# lowzoom caption layer is needed at all levels
202RenderFullTileset = 1
203
204# Lowzoom captions need very little data. Specify exactly which xapi predicates we need.
205LowzoomPredicates = node[place=town|city|country],way[boundary=administrative]
206
207# World captions need very little data. Specify exactly which xapi predicates we need.
208WorldPredicates = node[place=city|country],way[admin_level=0|1|2]
Note: See TracBrowser for help on using the repository browser.