-
Notifications
You must be signed in to change notification settings - Fork 27
/
tegola.toml
657 lines (550 loc) · 22 KB
/
tegola.toml
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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
# This Tegola configuration file reads environment variables for sensitive and installation-specific settings. See
# .env-example or simply hardcode correct values for your installation.
[webserver]
port = ":${TEGOLA_PORT}"
# Tegola offers three tile caching strategies: "file", "redis", and "s3"
[cache]
type = "${CACHE_TYPE}"
# FileCache. See https://github.com/go-spatial/tegola/tree/master/cache/file
# RedisCache. See https://github.com/go-spatial/tegola/tree/master/cache/redis
# S3Cache. See https://github.com/go-spatial/tegola/tree/master/cache/s3
bucket = "${S3CACHE_BUCKET}"
basepath = "${S3CACHE_BASEPATH}"
region = "${S3CACHE_REGION}"
aws_access_key_id = "${S3CACHE_AWS_ACCESS_KEY_ID}"
aws_secret_access_key = "${S3CACHE_AWS_SECRET_ACCESS_KEY}"
# OpenStreetMap (OSM)
[[providers]]
name = "osm"
type = "postgis"
uri = "${OSM_DB_CONN_STR}"
max_connections = 30
[[providers.layers]]
name = "land_8-20"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid FROM land_polygons WHERE wkb_geometry && !BBOX!"
# Water
[[providers.layers]]
name = "water_areas"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, type, area FROM osm_water_areas WHERE type IN ('water', 'pond', 'basin', 'canal', 'mill_pond', 'riverbank', 'dock') AND geometry && !BBOX!"
[[providers.layers]]
name = "water_areas_gen0"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, type, area FROM osm_water_areas_gen0 WHERE type IN ('water', 'pond', 'basin', 'canal', 'mill_pond', 'riverbank') AND area > 1000000000 AND geometry && !BBOX!"
[[providers.layers]]
name = "water_areas_gen0_6"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, type, area FROM osm_water_areas_gen0 WHERE type IN ('water', 'pond', 'basin', 'canal', 'mill_pond', 'riverbank') AND area > 100000000 AND geometry && !BBOX!"
[[providers.layers]]
name = "water_areas_gen1"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, type, area FROM osm_water_areas_gen1 WHERE type IN ('water', 'pond', 'basin', 'canal', 'mill_pond', 'riverbank') AND area > 1000 AND geometry && !BBOX!"
[[providers.layers]]
name = "water_lines"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, type FROM osm_water_lines WHERE type IN ('river', 'canal', 'stream', 'ditch', 'drain', 'dam') AND geometry && !BBOX!"
[[providers.layers]]
name = "water_lines_gen0"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, type FROM osm_water_lines_gen0 WHERE type IN ('river', 'canal') AND geometry && !BBOX!"
[[providers.layers]]
name = "water_lines_gen1"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, type FROM osm_water_lines_gen1 WHERE type IN ('river', 'canal', 'stream', 'ditch', 'drain', 'dam') AND geometry && !BBOX!"
[[providers.layers]]
name = "admin_boundaries_8-12"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, admin_level, name, type FROM osm_admin_areas WHERE admin_level IN (1,2,3,4,5,6,7,8) AND geometry && !BBOX!"
[[providers.layers]]
name = "admin_boundaries_13-20"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, admin_level, name, type FROM osm_admin_areas WHERE admin_level IN (1,2,3,4,5,6,7,8,9,10) AND geometry && !BBOX!"
# Land Use
[[providers.layers]]
name = "landuse_areas"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, class, type, area FROM osm_landuse_areas WHERE geometry && !BBOX!"
[[providers.layers]]
name = "landuse_areas_gen0"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, class, type, area FROM osm_landuse_areas_gen0 WHERE type IN ('forest','wood','nature reserve', 'nature_reserve', 'military') AND area > 1000000000 AND geometry && !BBOX!"
[[providers.layers]]
name = "landuse_areas_gen0_6"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, class, type, area FROM osm_landuse_areas_gen0 WHERE type IN ('forest','wood','nature reserve', 'nature_reserve', 'military') AND area > 100000000 AND geometry && !BBOX!"
[[providers.layers]]
name = "landuse_areas_gen1"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, class, type, area FROM osm_landuse_areas_gen1 WHERE geometry && !BBOX!"
# Transport
[[providers.layers]]
name = "transport_points"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, class, type FROM osm_transport_points WHERE geometry && !BBOX!"
[[providers.layers]]
name = "transport_areas"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, class, type FROM osm_transport_areas WHERE geometry && !BBOX!"
[[providers.layers]]
name = "transport_lines_gen0"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, type, tunnel, bridge, ref FROM osm_transport_lines_gen0 WHERE type IN ('motorway','trunk','motorway_link','trunk_link','primary') AND tunnel = 0 AND bridge = 0 AND geometry && !BBOX!"
[[providers.layers]]
name = "transport_lines_gen1"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, ref, class, type FROM osm_transport_lines_gen1 WHERE type IN ('motorway', 'trunk', 'primary', 'primary_link', 'secondary', 'motorway_link', 'trunk_link') AND geometry && !BBOX!"
[[providers.layers]]
name = "transport_lines_11-12"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, ref, class, type, tunnel, bridge, access, service FROM osm_transport_lines WHERE type IN ('motorway', 'motorway_link', 'trunk', 'trunk_link', 'primary', 'primary_link', 'secondary', 'secondary_link', 'tertiary', 'tertiary_link', 'rail', 'taxiway', 'runway', 'apron') AND geometry && !BBOX!"
[[providers.layers]]
name = "transport_lines_13"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, ref, class, type, tunnel, bridge, access, service FROM osm_transport_lines WHERE type IN ('motorway', 'motorway_link', 'trunk', 'trunk_link', 'primary', 'primary_link', 'secondary', 'secondary_link', 'tertiary', 'tertiary_link', 'rail', 'residential', 'taxiway', 'runway', 'apron') AND geometry && !BBOX!"
[[providers.layers]]
name = "transport_lines_14-20"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, ref, class, type, tunnel, bridge, access, service FROM osm_transport_lines WHERE geometry && !BBOX!"
# Amenities
[[providers.layers]]
name = "amenity_areas"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, type FROM osm_amenity_areas WHERE geometry && !BBOX!"
[[providers.layers]]
name = "amenity_points"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, type FROM osm_amenity_points WHERE geometry && !BBOX!"
# Other (Man Made, Historic, Military, Power, Barrier etc)
[[providers.layers]]
name = "other_points"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, class, type FROM osm_other_points WHERE geometry && !BBOX!"
[[providers.layers]]
name = "other_lines"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, class, type FROM osm_other_lines WHERE geometry && !BBOX!"
[[providers.layers]]
name = "other_areas"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, class, type FROM osm_other_areas WHERE geometry && !BBOX!"
[[providers.layers]]
name = "other_areas_filter"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, class, type FROM osm_other_areas WHERE area > 1000000 AND geometry && !BBOX!"
# Buildings
[[providers.layers]]
name = "buildings"
geometry_fieldname = "geometry"
id_fieldname = "osm_id"
sql = "SELECT ST_AsBinary(geometry) AS geometry, osm_id, name, nullif(as_numeric(height),-1) AS height, type FROM osm_buildings WHERE geometry && !BBOX!"
# Natural Earth
[[providers]]
name = "ne"
type = "postgis"
host = "${NE_DB_HOST}"
port = "${NE_DB_PORT}"
database = "${NE_DB_NAME}"
user = "${NE_DB_USER}"
password = "${NE_DB_PASS}"
[[providers.layers]]
name = "ne_110m_populated_places"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, scalerank, labelrank, name, min_zoom, featurecla, rank_max FROM ne_110m_populated_places WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_50m_populated_places"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, scalerank, labelrank, name, min_zoom, featurecla, rank_max FROM ne_50m_populated_places WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_10m_populated_places"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, scalerank, labelrank, name, min_zoom, featurecla, rank_max FROM ne_10m_populated_places WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_10m_admin_0_label_points"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, sr_subunit, scalerank FROM ne_10m_admin_0_label_points WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_10m_admin_1_label_points"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, name, scalerank FROM ne_10m_admin_1_label_points WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_110m_admin_0_boundary_lines_land"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, featurecla, name, min_zoom FROM ne_110m_admin_0_boundary_lines_land WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_50m_admin_0_boundary_lines_land"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, featurecla, name, min_zoom FROM ne_50m_admin_0_boundary_lines_land WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_10m_admin_0_boundary_lines_land"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, featurecla, name, min_zoom FROM ne_10m_admin_0_boundary_lines_land WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_50m_admin_0_boundary_lines_disputed_areas"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, featurecla, name, min_zoom FROM ne_50m_admin_0_boundary_lines_disputed_areas WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_10m_admin_0_boundary_lines_disputed_areas"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, featurecla, name, min_zoom FROM ne_10m_admin_0_boundary_lines_disputed_areas WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_110m_admin_0_countries"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, featurecla, name, name_long, abbrev, adm0_a3, min_zoom, min_label, max_label FROM ne_110m_admin_0_countries WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_50m_admin_0_countries"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, featurecla, name, name_long, abbrev, adm0_a3, min_zoom, min_label, max_label FROM ne_50m_admin_0_countries WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_10m_admin_0_countries"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, featurecla, name, name_long, abbrev, adm0_a3, min_zoom, min_label, max_label FROM ne_10m_admin_0_countries WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_110m_admin_1_states_provinces_lines"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, featurecla, name, adm0_name, min_zoom FROM ne_110m_admin_1_states_provinces_lines WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_50m_admin_1_states_provinces_lines"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, featurecla, name, adm0_name, min_zoom FROM ne_50m_admin_1_states_provinces_lines WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_10m_admin_1_states_provinces_lines"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, featurecla, name, adm0_name, min_zoom, min_label FROM ne_10m_admin_1_states_provinces_lines WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_110m_land"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, featurecla, min_zoom FROM ne_110m_land WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_50m_land"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, featurecla, min_zoom FROM ne_50m_land WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_10m_land"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, featurecla, min_zoom FROM ne_10m_land WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_50m_admin_1_states_provinces_lakes"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, featurecla, name, postal, min_zoom, min_label FROM ne_50m_admin_1_states_provinces_lakes WHERE wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_10m_roads_3"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, name, min_zoom, min_label, type, label FROM ne_10m_roads WHERE min_zoom < 5 AND type <> 'Ferry Route' AND wkb_geometry && !BBOX!"
[[providers.layers]]
name = "ne_10m_roads_5"
geometry_fieldname = "geometry"
id_fieldname = "ogc_fid"
sql = "SELECT ST_AsBinary(wkb_geometry) AS geometry, ogc_fid, name, min_zoom, min_label, type, label FROM ne_10m_roads WHERE min_zoom <= 7 AND type <> 'Ferry Route' AND wkb_geometry && !BBOX!"
[[maps]]
name = "osm"
attribution = "OpenStreetMap" # map attribution
center = [-76.275329586789, 39.153492567373, 8.0] # optional center value. part of the TileJSON spec
[[maps.layers]]
name = "populated_places"
provider_layer = "ne.ne_110m_populated_places"
min_zoom = 0
max_zoom = 2
[[maps.layers]]
name = "populated_places"
provider_layer = "ne.ne_50m_populated_places"
min_zoom = 3
max_zoom = 4
[[maps.layers]]
name = "populated_places"
provider_layer = "ne.ne_10m_populated_places"
min_zoom = 5
max_zoom = 16
[[maps.layers]]
name = "country_lines"
provider_layer = "ne.ne_110m_admin_0_boundary_lines_land"
min_zoom = 0
max_zoom = 2
[[maps.layers]]
name = "country_lines"
provider_layer = "ne.ne_50m_admin_0_boundary_lines_land"
dont_simplify = true
min_zoom = 3
max_zoom = 4
[[maps.layers]]
name = "country_lines"
provider_layer = "ne.ne_10m_admin_0_boundary_lines_land"
min_zoom = 5
max_zoom = 10
[[maps.layers]]
name = "country_lines_disputed"
provider_layer = "ne.ne_50m_admin_0_boundary_lines_disputed_areas"
min_zoom = 3
max_zoom = 4
[[maps.layers]]
name = "country_lines_disputed"
provider_layer = "ne.ne_10m_admin_0_boundary_lines_disputed_areas"
min_zoom = 5
max_zoom = 10
[[maps.layers]]
name = "country_label_points"
provider_layer = "ne.ne_10m_admin_0_label_points"
min_zoom = 3
max_zoom = 20
[[maps.layers]]
name = "country_polygons"
provider_layer = "ne.ne_110m_admin_0_countries"
min_zoom = 0
max_zoom = 2
[[maps.layers]]
name = "country_polygons"
provider_layer = "ne.ne_50m_admin_0_countries"
min_zoom = 3
max_zoom = 4
[[maps.layers]]
name = "country_polygons"
provider_layer = "ne.ne_10m_admin_0_countries"
min_zoom = 5
max_zoom = 10
[[maps.layers]]
name = "state_lines"
provider_layer = "ne.ne_110m_admin_1_states_provinces_lines"
min_zoom = 0
max_zoom = 2
[[maps.layers]]
name = "state_lines"
provider_layer = "ne.ne_50m_admin_1_states_provinces_lines"
min_zoom = 3
max_zoom = 4
[[maps.layers]]
name = "state_lines"
provider_layer = "ne.ne_10m_admin_1_states_provinces_lines"
min_zoom = 5
max_zoom = 10
# Land Polygons
[[maps.layers]]
name = "land"
provider_layer = "ne.ne_110m_land"
min_zoom = 0
max_zoom = 2
[[maps.layers]]
name = "land"
provider_layer = "ne.ne_50m_land"
min_zoom = 3
max_zoom = 4
[[maps.layers]]
name = "land"
provider_layer = "ne.ne_10m_land"
min_zoom = 5
max_zoom = 7
[[maps.layers]]
name = "land"
provider_layer = "osm.land_8-20"
dont_simplify = true
min_zoom = 8
max_zoom = 20
[[maps.layers]]
name = "admin_lines"
provider_layer = "osm.admin_boundaries_8-12"
min_zoom = 8
max_zoom = 12
[[maps.layers]]
name = "admin_lines"
provider_layer = "osm.admin_boundaries_13-20"
min_zoom = 13
max_zoom = 20
[[maps.layers]]
name = "state_label_points"
provider_layer = "ne.ne_10m_admin_1_label_points"
min_zoom = 3
max_zoom = 20
# Land Use
[[maps.layers]]
name = "landuse_areas"
provider_layer = "osm.landuse_areas_gen0"
min_zoom = 3
max_zoom = 5
[[maps.layers]]
name = "landuse_areas"
provider_layer = "osm.landuse_areas_gen0_6"
min_zoom = 6
max_zoom = 9
[[maps.layers]]
name = "landuse_areas"
provider_layer = "osm.landuse_areas_gen1"
min_zoom = 10
max_zoom = 12
[[maps.layers]]
name = "landuse_areas"
provider_layer = "osm.landuse_areas"
min_zoom = 13
max_zoom = 20
# Water Areas
[[maps.layers]]
name = "water_areas"
provider_layer = "osm.water_areas_gen0"
min_zoom = 3
max_zoom = 5
[[maps.layers]]
name = "water_areas"
provider_layer = "osm.water_areas_gen0_6"
min_zoom = 6
max_zoom = 9
[[maps.layers]]
name = "water_areas"
provider_layer = "osm.water_areas_gen1"
min_zoom = 10
max_zoom = 12
[[maps.layers]]
name = "water_areas"
provider_layer = "osm.water_areas"
min_zoom = 13
max_zoom = 20
# Water Lines
[[maps.layers]]
name = "water_lines"
provider_layer = "osm.water_lines_gen0"
min_zoom = 8
max_zoom = 12
[[maps.layers]]
name = "water_lines"
provider_layer = "osm.water_lines_gen1"
min_zoom = 13
max_zoom = 14
[[maps.layers]]
name = "water_lines"
provider_layer = "osm.water_lines"
min_zoom = 15
max_zoom = 20
# Transport Lines (Roads, Rail, Aviation)
[[maps.layers]]
name = "transport_lines"
provider_layer = "ne.ne_10m_roads_3"
min_zoom = 3
max_zoom = 4
[[maps.layers]]
name = "transport_lines"
provider_layer = "ne.ne_10m_roads_5"
min_zoom = 5
max_zoom = 6
[[maps.layers]]
name = "transport_lines"
provider_layer = "osm.transport_lines_gen0"
min_zoom = 7
max_zoom = 8
[[maps.layers]]
name = "transport_lines"
provider_layer = "osm.transport_lines_gen1"
min_zoom = 9
max_zoom = 10
[[maps.layers]]
name = "transport_lines"
provider_layer = "osm.transport_lines_11-12"
min_zoom = 11
max_zoom = 12
[[maps.layers]]
name = "transport_lines"
provider_layer = "osm.transport_lines_13"
min_zoom = 13
max_zoom = 13
[[maps.layers]]
name = "transport_lines"
provider_layer = "osm.transport_lines_14-20"
min_zoom = 14
max_zoom = 20
# Transport Areas
[[maps.layers]]
name = "transport_areas"
provider_layer = "osm.transport_areas"
min_zoom = 12
max_zoom = 20
# Transport Points
[[maps.layers]]
name = "transport_points"
provider_layer = "osm.transport_points"
min_zoom = 14
max_zoom = 20
# Amenity Areas
[[maps.layers]]
name = "amenity_areas"
provider_layer = "osm.amenity_areas"
min_zoom = 14
max_zoom = 20
# Amenity Points
[[maps.layers]]
name = "amenity_points"
provider_layer = "osm.amenity_points"
min_zoom = 14
max_zoom = 20
# Other Points
[[maps.layers]]
name = "other_points"
provider_layer = "osm.other_points"
min_zoom = 14
max_zoom = 20
# Other Lines
[[maps.layers]]
name = "other_lines"
provider_layer = "osm.other_lines"
min_zoom = 14
max_zoom = 20
# Other Areas
[[maps.layers]]
name = "other_areas"
provider_layer = "osm.other_areas_filter"
min_zoom = 6
max_zoom = 8
[[maps.layers]]
name = "other_areas"
provider_layer = "osm.other_areas"
min_zoom = 9
max_zoom = 20
# Buildings
[[maps.layers]]
name = "buildings"
provider_layer = "osm.buildings"
min_zoom = 14
max_zoom = 20