-
Notifications
You must be signed in to change notification settings - Fork 0
/
shortbread_mapnik.mml
250 lines (248 loc) · 5.07 KB
/
shortbread_mapnik.mml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
scale: 1
metatile: 2
name: Shortbread-Mapnik
description: An OpenStreetMap Mapnik style to be used as a base map, in CartoCSS
bounds: &world
- -180
- -85.05112877980659
- 180
- 85.05112877980659
center:
- 7.75
- 48.6
- 12
format: png
interactivity: false
minzoom: 0
maxzoom: 22
srs: "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"
Stylesheet:
- style/shortbread_mapnik_colors.mss
- style/style.mss
- style/water.mss
- style/water-features.mss
- style/admin.mss
- style/land.mss
- style/buildings.mss
- style/roads.mss
- style/shortbread_mapnik_shields.mss
- style/stations.mss
- style/aerialways.mss
Layer:
- id: ocean
geometry: polygon
# Database tables to be used if rendering uses a Postgres database, not vector tiles
osm2pgsql_source_layers:
- name: simplified_water_polygons
maxzoom: 7
- name: ocean
minzoom: 8
properties:
buffer-size: 0
maxzoom: 22
minzoom: 0
- id: land
geometry: polygon
properties:
buffer-size: 0
maxzoom: 22
minzoom: 7
- id: sites
geometry: polygon
properties:
buffer-size: 0
maxzoom: 22
minzoom: 14
- id: water_polygons
geometry: polygon
properties:
buffer-size: 0
maxzoom: 22
minzoom: 4
- id: water_lines
geometry: linestring
properties:
buffer-size: 0
maxzoom: 22
minzoom: 4
- id: water-barriers-poly
geometry: polygon
Datasource:
layer: dam_polygons
properties:
buffer-size: 0
maxzoom: 22
minzoom: 15
- id: water-barriers-line
geometry: linestring
Datasource:
layer: dam_lines
properties:
buffer-size: 0
maxzoom: 22
minzoom: 15
- id: piers-poly
geometry: polygon
Datasource:
layer: pier_polygons
properties:
buffer-size: 0
maxzoom: 22
minzoom: 12
- id: piers-line
geometry: linestring
Datasource:
layer: pier_lines
properties:
buffer-size: 0
maxzoom: 22
minzoom: 12
- id: buildings
geometry: polygon
properties:
buffer-size: 0
maxzoom: 22
minzoom: 14
- id: boundaries
geometry: linestring
properties:
buffer-size: 8
maxzoom: 22
minzoom: 0
- id: tunnels
geometry: linestring
Datasource:
layer: streets
properties:
buffer-size: 64
maxzoom: 22
minzoom: 12
# streets-casing-low renders all roads up to the zoom level where tunnels are rendered on a sperate layer.
- id: streets-casing-low
geometry: linestring
Datasource:
layer: streets
properties:
buffer-size: 64
maxzoom: 11
minzoom: 9
- id: streets-casing
geometry: linestring
Datasource:
layer: streets
properties:
buffer-size: 64
maxzoom: 22
minzoom: 12
- id: streets-polygon-casing
geometry: linestring
Datasource:
layer: street_polygons
properties:
buffer-size: 64
maxzoom: 22
minzoom: 14
- id: streets-fill-low
geometry: linestring
Datasource:
layer: streets
properties:
buffer-size: 64
maxzoom: 11
minzoom: 5
- id: streets-fill
geometry: linestring
Datasource:
layer: streets
properties:
buffer-size: 64
maxzoom: 22
minzoom: 12
- id: streets-polygon-fill
geometry: linestring
Datasource:
layer: street_polygons
properties:
buffer-size: 64
maxzoom: 22
minzoom: 11
- id: bridges
geometry: linestring
Datasource:
layer: streets
properties:
buffer-size: 64
maxzoom: 22
minzoom: 12
- id: boundary_labels
geometry: point
properties:
buffer-size: 0
maxzoom: 10
minzoom: 2
- id: place_labels
geometry: point
properties:
buffer-size: 128
maxzoom: 22
minzoom: 3
- id: street_shields
geometry: linestring
Datasource:
layer: street_labels
properties:
buffer-size: 0
maxzoom: 22
minzoom: 10
- id: street_labels
geometry: linestring
Datasource:
layer: street_labels
properties:
buffer-size: 0
maxzoom: 22
minzoom: 13
- id: street_labels_points
geometry: point
properties:
buffer-size: 0
maxzoom: 22
minzoom: 12
- id: water_lines_labels
geometry: linestring
properties:
buffer-size: 0
maxzoom: 22
minzoom: 4
- id: water_polygons_labels
geometry: point
properties:
buffer-size: 0
maxzoom: 22
minzoom: 4
- id: aerialways
geometry: linestring
properties:
buffer-size: 0
maxzoom: 22
minzoom: 12
- id: public_transport
geometry: point
properties:
buffer-size: 0
maxzoom: 22
minzoom: 11
- id: addresses_pois
Datasource:
layer: pois
geometry: point
properties:
buffer-size: 0
maxzoom: 22
minzoom: 14
- id: addresses
geometry: point
properties:
buffer-size: 0
maxzoom: 22
minzoom: 14