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

Revision 11799, 5.9 KB checked in by stoecker, 5 years ago (diff)

some finishing for lowzoom integration

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