source: subversion/applications/rendering/tilesAtHome-dev/trunk/layers.conf @ 23767

Last change on this file since 23767 was 23317, checked in by spaetz, 10 years ago

t@h: rename captionless->captionless-lowzoom layer

And add a new captionless layer that will be a base map to put POIs onto

  • Property svn:eol-style set to native
File size: 6.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,captionless-lowzoom,tile
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-lowzoom,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-lowzoom,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,captionless-lowzoom,tile,caption
32
33
34# Details for "default" layer
35# ---------------------------
36
37[tile]
38
39MinZoom = 12
40MaxZoom = 17
41
42# osmarender rule files to be used, one for each level
43Rules.12 = osmarender/stylesheets/osm-map-features-z12.xml
44Rules.13 = osmarender/stylesheets/osm-map-features-z13.xml
45Rules.14 = osmarender/stylesheets/osm-map-features-z14.xml
46Rules.15 = osmarender/stylesheets/osm-map-features-z15.xml
47Rules.16 = osmarender/stylesheets/osm-map-features-z16.xml
48Rules.17 = osmarender/stylesheets/osm-map-features-z17.xml
49
50# prefix for tiles from this layer. this is what the server will see,
51# and has to match what the server expects. I.e. you can rename your
52# layer "gobblebobble" but don't change the prefix.
53Prefix = tile
54
55# preprocessor is a comma-separated list of any (or none) of the following:
56# maplint, close-areas
57Preprocessor = close-areas,area-center
58
59# default layer is not transparent
60Transparent = 0
61
62# this enables the script to check if you've got everything it will need.
63RequiredFiles = tilesGen.pl
64
65# default layer does not need to render full tileset
66RenderFullTileset = 0
67
68# lowzoom stiching layers
69LowZoom = captionless,caption
70
71# Details for "captionless" layer
72# ---------------------------
73
74[captionless]
75
76MinZoom = 12
77MaxZoom = 17
78
79# osmarender rule files to be used, one for each level
80Rules.12 = osmarender/stylesheets/captionless-z12.xml
81Rules.13 = osmarender/stylesheets/captionless-z13.xml
82Rules.14 = osmarender/stylesheets/captionless-z14.xml
83Rules.15 = osmarender/stylesheets/captionless-z15.xml
84Rules.16 = osmarender/stylesheets/captionless-z16.xml
85Rules.17 = osmarender/stylesheets/captionless-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 = captionless
91
92# preprocessor is a comma-separated list of any (or none) of the following:
93# maplint, close-areas
94Preprocessor = close-areas,area-center
95
96# default layer is not transparent
97Transparent = 0
98
99# this enables the script to check if you've got everything it will need.
100RequiredFiles = tilesGen.pl
101
102# default layer does not need to render full tileset
103RenderFullTileset = 0
104
105# lowzoom stiching layers
106LowZoom = captionless-lowzoom,caption
107
108
109# Details for "POI" layer (currently not used)
110# ---------------------------
111
112[POI]
113
114MinZoom = 12
115MaxZoom = 17
116
117# osmarender rule files to be used, one for each level
118Rules.12 = osmarender/stylesheets/osm-POI-features-z12.xml
119Rules.13 = osmarender/stylesheets/osm-POI-features-z13.xml
120Rules.14 = osmarender/stylesheets/osm-POI-features-z14.xml
121Rules.15 = osmarender/stylesheets/osm-POI-features-z15.xml
122Rules.16 = osmarender/stylesheets/osm-POI-features-z16.xml
123Rules.17 = osmarender/stylesheets/osm-POI-features-z17.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 = poi
129
130# preprocessor is a comma-separated list of any (or none) of the following:
131# maplint, close-areas, noop (not used by t@h yet)
132Preprocessor = noop
133
134# this enables the script to check if you've got everything it will need.
135RequiredFiles = tilesGen.pl
136
137# POI layer is transparent
138Transparent = 1
139
140# POI layer does not need to render full tileset
141RenderFullTileset = 1
142
143
144# Details for captionless-lowzoom layer
145# -----------------------------
146# captionless-lowzoom  =  base image for lowzoom.
147# It's a z12 only layer with no captions
148# z8-z11 are generated from this layer using the old lowzoom tile stitcher.
149# Captions are generated as a transparent overlay and could be localised.
150
151[captionless-lowzoom]
152
153MinZoom = 12
154MaxZoom = 12
155Rules.12 = osmarender/stylesheets/captionless-lowzoom-z12.xml
156Prefix = captionless-lowzoom
157Preprocessor = close-areas
158RequiredFiles = tilesGen.pl
159Transparent = 0
160RenderFullTileset = 0
161LowZoom = captionless-lowzoom
162
163
164
165# Details for lowzoom caption layer
166# ---------------------------------
167
168[caption]
169
170MinZoom =  0
171MaxZoom = 11
172
173# osmarender rule files to be used, one for each level
174Rules.0 = osmarender/stylesheets/caption-z0.xml
175Rules.1 = osmarender/stylesheets/caption-z1.xml
176Rules.2 = osmarender/stylesheets/caption-z2.xml
177Rules.3 = osmarender/stylesheets/caption-z3.xml
178Rules.4 = osmarender/stylesheets/caption-z4.xml
179Rules.5 = osmarender/stylesheets/caption-z5.xml
180Rules.6 = osmarender/stylesheets/caption-z6.xml
181Rules.7 = osmarender/stylesheets/caption-z7.xml
182Rules.8 = osmarender/stylesheets/caption-z8.xml
183Rules.9 = osmarender/stylesheets/caption-z9.xml
184Rules.10 = osmarender/stylesheets/caption-z10.xml
185Rules.11 = osmarender/stylesheets/caption-z11.xml
186
187# lowzoom prefix should be 'caption'. Regular tiles are later produced by
188# stitching captionless tiles together and then overlaying these caption tiles.
189Prefix = caption
190
191Preprocessor = noop
192
193# lowzoom caption layer is transparent
194Transparent = 1
195
196# this enables the script to check if you've got everything it will need.
197RequiredFiles = tilesGen.pl
198
199# lowzoom caption layer is needed at all levels
200RenderFullTileset = 1
201
202# Lowzoom captions need very little data. Specify exactly which xapi predicates we need.
203#admin level is supposed to get us the correct: boundary=administrative
204LowzoomPredicates = node[place=town|city|country],way[admin_level=1|2]
205
206# World captions need very little data. Specify exactly which xapi predicates we need.
207WorldPredicates = node[place=city|country|continent]
Note: See TracBrowser for help on using the repository browser.