-
Notifications
You must be signed in to change notification settings - Fork 2
/
tiles_config.yaml
109 lines (109 loc) · 3.32 KB
/
tiles_config.yaml
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
### TIPPECANOE OPTIONS
## To use the below options, uncomment the row and set the YAML value
## See https://github.com/felt/tippecanoe for full options docs
Tileset description and attribution:
# name: Test
# attribution: Test2
# description: My Dataset
Input files and layer names:
# layer: streets
# named-layer: {layer-json}
Parallel processing of input:
read-parallel: True
Projection of input:
# projection: EPSG:4326
Zoom levels:
maximum-zoom: 9
minimum-zoom: 8
# extend-zooms-if-still-droppping: True
# one-tile: z/x/y
Tile resolution:
# full-detail: 12
# low-detail: 12
# minimum-detail: 7
Filtering feature attributes:
# exclude: [id, test]
# include: [population, area]
# exclude-all: True
Modifying feature attributes:
# attribute-type
# attribute-description
# accumulate-attribute
# empty-csv-columns-are-null
# convert-stringified-ids-to-numbers
# use-attribute-for-id
Filtering features by attributes:
# feature-filter-file
# feature-filter
Dropping a fixed fraction of features by zoom level:
# drop-rate: 2.5
# base-zoom: 10
# drop-lines: True
# drop-polygons: True
# cluster-distance: 25
Dropping or merging a fraction of features to keep under tile size limits:
# drop-densest-as-needed: True
# drop-fraction-as-needed: True
# drop-smallest-as-needed: True
coalesce-densest-as-needed: True
# coalesce-fraction-as-needed: True
# coalesce-smallest-as-needed: True
# force-feature-limit: True
# cluster-densest-as-needed: True
Dropping tightly overlapping features:
# gamma: 2
# increase-gamma-as-needed: True
Line and polygon simplification:
simplification: 10
# no-line-simplification: True
# simplify-only-low-zooms: True
# no-tiny-polygon-reduction: True
# no-simplification-of-shared-nodes: True
Attempts to improve shared polygon boundaries:
# detect-shared-borders: True
# grid-low-zooms: True
Controlling clipping to tile boundaries:
# buffer: 5
# no-clipping: True
# no-duplication: True
Reordering features within each tile:
# preserve-input-order: True
# reorder: True
# coalesce: True
# reverse: True
# hilbert: True
Adding calculated attributes:
# calculate-feature-density: True
# generate-ids: True
Trying to correct bad source geometry:
# detect-longitude-wraparound: True
# use-source-polygon-winding: True
# reverse-source-polygon-winding: True
## Note: clip bounds as minlon,minlat,maxlon,maxlat
# clip-bounding-box: "25,-5.5,35,1.5"
Filtering tile contents:
# prefilter: echo "Making a tile"
# postfilter: echo "Made a tile."
Setting or disabling tile size limits:
maximum-tile-bytes: 2500000
maximum-tile-features: 20000
# no-feature-limit: True
# no-tile-size-limit: True
no-tile-compression: True
# no-tile-stats: True
# tile-stats-attributes-limit: True
# tile-stats-sample-values-limit: True
# tile-stats-values-limit: True
Temporary storage:
# temporary-directory: ./tmp
Progress indicator:
# quiet: True
# no-progress-indicator: True
# progress-interval: 5
# json-progress: True
# version: (version number)
Output tileset:
# output: path.mbtiles
# output-to-directory: ./tmp/directory
# force: True
# allow-existing: True