This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathinvoke.yaml
102 lines (87 loc) · 2.91 KB
/
invoke.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
pg:
user: gis
database: gis
import_database: import_gis
backup_database: backup_gis
host: postgres
password: gis
port: 5432
imposm_config_dir: ../imposm
generated_files_dir: /data/imposm
data_dir: /data
update_tiles_dir: /data/update_tiles_data
imposm:
optimize: True # Pass -optimize option to imposm commands
################################################
# Data sources
force_downloads: False
water:
lakelines_url: https://github.com/openmaptiles/osm-lakelines/releases/download/v0.9/lake_centerline.geojson
polygons_url: https://osmdata.openstreetmap.de/download/water-polygons-split-3857.zip
border:
osmborder_lines_url: https://github.com/Qwant/openmaptiles/releases/download/v3.11-qwant-2021-04-16/osmborder_lines_20210416.csv.gz
naturalearth:
sqlite_download_url: https://naturalearth.s3.amazonaws.com/packages/natural_earth_vector.sqlite.zip
osm:
## one of 'url' or 'file' needs to be configured
## URL where to get the osm file
url:
## Path of the file
file:
# Fetch and apply updates on .pbf file before importing (applies only for planet files)
update_pbf: True
# Toggle import of statistics and metadata from Wikidata
wikidata:
sitelinks:
# Sitelinks is required and will be imported if stats are
url: https://github.com/Qwant/wikimedia-dumps/releases/download/2022/sitelinks.csv.gz
file: sitelinks.csv.gz
table: wd_sitelinks
stats:
enabled: true
url: https://github.com/Qwant/wikimedia-dumps/releases/download/2022/stats.csv.gz
file: stats.csv.gz
table: wm_stats
poi_weight_exponent: "3.0"
labels:
enabled: false
url: https://github.com/Qwant/wikimedia-dumps/releases/download/2022/labels.csv.gz
file: labels.csv.gz
table: wd_names
################################################
# Tiles generation
## if neither 'x'/'y' nor 'planet' is defined, no tiles are generated
tiles:
## boolean to tell that we want to generate tiles on the whole planet
planet: False
## the 3 parameters below are used to generate only 1 tile
## X and Y coordinates and the z (zoom) are based on the Slippy Map Tile Names system.
## These can be generated easily with Geofabrik's calculator.
coords:
x:
y:
z:
## zoom range [base_from_zoom, base_before_zoom[ to generate the base tiles
base_from_zoom: 0
base_before_zoom: 15
## zoom range [poi_from_zoom, poi_before_zoom[ to generate the poi tiles
poi_from_zoom: 14
poi_before_zoom: 15
## number of parts to break each jobs into
parts: 8
## url of tilerator API
tilerator_url: http://tilerator
tilesets:
basemap:
name: basemap
mapping_filename: generated_mapping_base.yaml
generator_source: substbasemap
storage_source: basemap
poi:
name: poi
mapping_filename: generated_mapping_poi.yaml
generator_source: gen_poi
storage_source: poi
osm_update:
replication_url: https://planet.osm.org/replication
reindex_poi_geometries: True