This repository has been archived by the owner on Oct 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
invoke.yaml
98 lines (83 loc) · 3.73 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
## MANDATORY url to elasticsearch
# es:
## Name of the dataset
dataset: default
osm: # A file or a url MUST be defined
file: # Ignored if a url is defined
url: # Url to a .osm.pbf file that will be downloaded
# admin:
# ## If present will use the admins from cosmogony
# cosmogony:
# ## This can be use with 2 use cases:
# ## use 'file' to give the path to an already generated cosmogony file
# file:
# ## or use the variables below to generate a cosmogony file on the fly
# ## output directory where to write the cosmogony.jsonl.gz
# output_dir:
# ## optional parameter (only if run without docker) cosmogony source directory (to find libpostal)
# directory:
# nb_shards: # control the number of shards of the ES index
# nb_replicas: # control the number of replicas of the ES index
# langs: # languages to import i18n names and labels (codes separated by ,)
# disable_voronoi: # set to truthy value to disable voronoi geometries generation
# ## If present will use the admins from osm
# osm:
# levels:
# - 8
# nb_shards: # control the number of shards of the ES index
# nb_replicas: # control the number of replicas of the ES index
# # If present, this will control the import of the Point Of Interest
# poi:
# ## If present will use fafnir to import the poi
# fafnir:
# ## connection string to postgresql (format: postgres://{user}:{pwd}@{host}:{post})
# pg:
# ## number of threads to use
# nb_threads:
# ## bounding box
# bounding-box:
# nb_shards: # control the number of shards of the ES index
# nb_replicas: # control the number of replicas of the ES index
# langs: # languages to import i18n names and labels (codes separated by ,)
# ## If present will use osm2mimir to import the poi
# osm:
# poi_config: # optional path to json file with POI-config and filters
# nb_shards: # control the number of shards of the ES index
# nb_replicas: # control the number of replicas of the ES index
addresses:
deduplication:
# Use the deduplication to merge addresses from different sources.
enable: false
# Number of threads used for computations.
# nb_threads:
# Path to output deduplicated addresses to.
output: /data/addresses/output.csv.gz
oa:
path: # change path where to extract dataset
nb_threads: # number of threads to use
nb_shards: # control the number of shards of the ES index
nb_replicas: # control the number of replicas of the ES index
# nb_insert_threads: # number of threads used to insert in ES database
datasets:
# - filename: # unique filename to download to
# url: # URL for the zip archive containing all data
# include: # list of file patterns to include from path
# - lu/**.csv
bano:
file: # Path to the bano file, ignored if url is defined
url: # https://bano.openstreetmap.fr/data/full.csv.gz
nb_threads: # number of threads to use
# nb_shards: # control the number of shards of the ES index
# nb_replicas: # control the number of replicas of the ES index
# nb_insert_threads: # number of threads used to insert in ES database
# Specify an OSM file to import addresses from.
# NOTE: this section will be ignored if `use_deduplicator` is set to false.
osm:
file: # Path to the .pbf file (ignored if 'url' is defined)
url: # https://download.geofabrik.de/europe/luxembourg-latest.osm.pbf
# street:
# nb_shards: # control the number of shards of the ES index
# nb_replicas: # control the number of replicas of the ES index
# osm_db_file: # temporary file to write osm db and reduce memory usage (optional)
## name of the geocoder region to run. default is france
# geocoder_tester_region: luxembourg