source: subversion/applications/rendering/tilesAtHome/layers.conf @ 11553

Last change on this file since 11553 was 11123, checked in by bobkare, 11 years ago

Big reorganization of osmarender-related stuff plus new version of tilesAtHome. See http://wiki.openstreetmap.org/index.php/Osmarender/Development/SVN_Reorganization_2008 for details

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