-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
154 lines (144 loc) · 3.58 KB
/
config.toml
File metadata and controls
154 lines (144 loc) · 3.58 KB
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
# Projected coordinate system to use for metric operations (e.g., computing edges' length).
# See: https://en.wikipedia.org/wiki/Projected_coordinate_system
crs = "EPSG:2154"
# Path to the file where the imported edges are stored
# (possible extensions: parquet, geojson, fgb, shp).
raw_edges_file = "./output/edges.parquet"
# Path to the file where the imported edges are stored after the cleaning process
# (possible extensions: parquet, geojson, fgb, shp).
clean_edges_file = "./output/edges_clean.parquet"
[metropolis]
# Directory where the run input files should be stored.
input_directory = "./run/"
# Format to use for the input and output files ("CSV" or "Parquet").
format = "Parquet"
# Constant time penalty, in seconds, added to the edges' travel times.
# For now, it is limited to the function of the `target_count` of edges (i.e., the number of
# incoming edges for the edge's target node).
# The `default` value is used if there is no specified value for a given edge's `target_count`.
[metropolis.travel_time_penalties]
1 = 0.0
2 = 3.0
3 = 4.0
default = 5.0
[osm]
# Path to the .osm.pbf file to use as input.
input_file = "./data/corse-latest.osm.pbf"
# OpenStreetMap's highway tags to import.
# See https://wiki.openstreetmap.org/wiki/Key:highway
highways = [
"motorway",
"trunk",
"primary",
"secondary",
"tertiary",
"motorway_link",
"trunk_link",
"primary_link",
"secondary_link",
"tertiary_link",
"living_street",
"unclassified",
"residential",
#"road",
#"service",
]
# Array of OpenStreetMap's landuse tags to be considered as urban areas.
# See https://wiki.openstreetmap.org/wiki/Key:landuse
urban_landuse = [
"commercial",
"construction",
"education",
"industrial",
"residential",
"retail",
#"grass",
#"cemetery",
#"basin",
#"allotments",
"village_green",
#"flowerbed",
"recreation_ground",
"military",
"garages",
"religious"
]
[postprocess_network]
# Minimum number of lanes allowed on edges.
min_nb_lanes = 0.5
# Minimum speed allowed on edges (in km/h).
min_speed = 10
# Minimum length allowed on edges (in meters).
min_length = 1
# Whether the network should be restricted to the largest strongly connected component of the
# underlying graph.
# Warning. If `false`, some origin-destination pairs might not be feasible.
ensure_connected = true
# Default speed per roadtype, in km/h, in rural areas.
[postprocess_network.default_speed.rural]
motorway = 130
trunk = 110
primary = 80
secondary = 80
tertiary = 80
motorway_link = 90
trunk_link = 70
primary_link = 50
secondary_link = 50
tertiary_link = 50
living_street = 20
unclassified = 20
residential = 30
#road = 20
#service = 20
# Default speed per roadtype, in km/h, in urban areas.
[postprocess_network.default_speed.urban]
motorway = 130
trunk = 110
primary = 50
secondary = 50
tertiary = 50
motorway_link = 90
trunk_link = 70
primary_link = 50
secondary_link = 50
tertiary_link = 50
living_street = 20
unclassified = 20
residential = 30
#road = 20
#service = 20
# Default number of lanes per roadtype.
[postprocess_network.default_nb_lanes]
motorway = 2
trunk = 2
primary = 1
secondary = 1
tertiary = 1
motorway_link = 1
trunk_link = 1
primary_link = 1
secondary_link = 1
tertiary_link = 1
living_street = 1
unclassified = 1
residential = 1
#road = 1
#service = 1
# Default bottleneck capacity per roadtype, in PCE/h.
[postprocess_network.default_capacity]
motorway = 2000
trunk = 2000
primary = 1500
secondary = 800
tertiary = 600
motorway_link = 1500
trunk_link = 1500
primary_link = 1500
secondary_link = 800
tertiary_link = 600
living_street = 300
unclassified = 600
residential = 600
#road = 300
#service = 300