Skip to content

Commit 5277490

Browse files
committed
Add second pass Valhalla config
1 parent 25a52c4 commit 5277490

File tree

1 file changed

+288
-0
lines changed

1 file changed

+288
-0
lines changed

data/valhalla_sp.json

Lines changed: 288 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,288 @@
1+
{
2+
"additional_data": {
3+
"elevation": "/custom_files/elevation_data"
4+
},
5+
"httpd": {
6+
"service": {
7+
"drain_seconds": 28,
8+
"interrupt": "ipc:///tmp/interrupt",
9+
"listen": "tcp://*:8002",
10+
"loopback": "ipc:///tmp/loopback",
11+
"shutdown_seconds": 1,
12+
"timeout_seconds": -1
13+
}
14+
},
15+
"loki": {
16+
"actions": [
17+
"locate",
18+
"route",
19+
"height",
20+
"sources_to_targets",
21+
"status"
22+
],
23+
"logging": {
24+
"color": true,
25+
"file_name": "path_to_some_file.log",
26+
"long_request": 100.0,
27+
"type": "std_out"
28+
},
29+
"service": {
30+
"proxy": "ipc:///tmp/loki"
31+
},
32+
"service_defaults": {
33+
"heading_tolerance": 60,
34+
"minimum_reachability": 50,
35+
"node_snap_tolerance": 5,
36+
"radius": 0,
37+
"search_cutoff": 350000,
38+
"street_side_max_distance": 1000,
39+
"street_side_tolerance": 5
40+
},
41+
"use_connectivity": true
42+
},
43+
"meili": {
44+
"auto": {
45+
"search_radius": 50,
46+
"turn_penalty_factor": 200
47+
},
48+
"bicycle": {
49+
"turn_penalty_factor": 140
50+
},
51+
"customizable": [
52+
"mode",
53+
"search_radius",
54+
"turn_penalty_factor",
55+
"gps_accuracy",
56+
"interpolation_distance",
57+
"sigma_z",
58+
"beta",
59+
"max_route_distance_factor",
60+
"max_route_time_factor"
61+
],
62+
"default": {
63+
"beta": 3,
64+
"breakage_distance": 2000,
65+
"geometry": false,
66+
"gps_accuracy": 5.0,
67+
"interpolation_distance": 10,
68+
"max_route_distance_factor": 5,
69+
"max_route_time_factor": 5,
70+
"max_search_radius": 100,
71+
"route": true,
72+
"search_radius": 50,
73+
"sigma_z": 4.07,
74+
"turn_penalty_factor": 0
75+
},
76+
"grid": {
77+
"cache_size": 100240,
78+
"size": 500
79+
},
80+
"logging": {
81+
"color": true,
82+
"file_name": "path_to_some_file.log",
83+
"type": "std_out"
84+
},
85+
"mode": "auto",
86+
"multimodal": {
87+
"turn_penalty_factor": 70
88+
},
89+
"pedestrian": {
90+
"search_radius": 50,
91+
"turn_penalty_factor": 100
92+
},
93+
"service": {
94+
"proxy": "ipc:///tmp/meili"
95+
},
96+
"verbose": false
97+
},
98+
"mjolnir": {
99+
"admin": "/custom_files/admin_data/admins.sqlite",
100+
"concurrency": "8",
101+
"data_processing": {
102+
"allow_alt_name": false,
103+
"apply_country_overrides": true,
104+
"grid_divisions_within_tile": 32,
105+
"infer_internal_intersections": true,
106+
"infer_turn_channels": true,
107+
"scan_tar": false,
108+
"use_admin_db": true,
109+
"use_direction_on_ways": false,
110+
"use_rest_area": false,
111+
"use_urban_tag": false
112+
},
113+
"global_synchronized_cache": false,
114+
"hierarchy": true,
115+
"id_table_size": 1300000000,
116+
"import_bike_share_stations": false,
117+
"include_bicycle": true,
118+
"include_construction": false,
119+
"include_driveways": true,
120+
"include_driving": true,
121+
"include_pedestrian": true,
122+
"include_platforms": false,
123+
"landmarks": "/data/valhalla/landmarks.sqlite",
124+
"logging": {
125+
"color": true,
126+
"file_name": "path_to_some_file.log",
127+
"type": "std_out"
128+
},
129+
"lru_mem_cache_hard_control": false,
130+
"max_cache_size": 1000000000,
131+
"max_concurrent_reader_users": 1,
132+
"reclassify_links": true,
133+
"shortcuts": true,
134+
"tile_dir": "/custom_files/tiles",
135+
"tile_extract": "/custom_files/tiles.tar",
136+
"timezone": "/custom_files/timezone_data/timezones.sqlite",
137+
"traffic_extract": "/custom_files/traffic.tar",
138+
"transit_dir": "/custom_files/transit_tiles",
139+
"transit_feeds_dir": "/gtfs_feeds",
140+
"transit_pbf_limit": 200000,
141+
"use_lru_mem_cache": false,
142+
"use_simple_mem_cache": false,
143+
"default_speeds_config": "/custom_files/default_speeds.json"
144+
},
145+
"odin": {
146+
"logging": {
147+
"color": true,
148+
"file_name": "path_to_some_file.log",
149+
"type": "std_out"
150+
},
151+
"markup_formatter": {
152+
"markup_enabled": false,
153+
"phoneme_format": "<TEXTUAL_STRING> (<span class=<QUOTES>phoneme<QUOTES>>/<VERBAL_STRING>/</span>)"
154+
},
155+
"service": {
156+
"proxy": "ipc:///tmp/odin"
157+
}
158+
},
159+
"service_limits": {
160+
"auto": {
161+
"max_distance": 50000000.0,
162+
"max_locations": 20,
163+
"max_matrix_distance": 50000000.0,
164+
"max_matrix_location_pairs": 1000000
165+
},
166+
"bicycle": {
167+
"max_distance": 50000000.0,
168+
"max_locations": 50,
169+
"max_matrix_distance": 50000000.0,
170+
"max_matrix_location_pairs": 1000000
171+
},
172+
"bikeshare": {
173+
"max_distance": 50000000.0,
174+
"max_locations": 50,
175+
"max_matrix_distance": 50000000.0,
176+
"max_matrix_location_pairs": 1000000
177+
},
178+
"bus": {
179+
"max_distance": 50000000.0,
180+
"max_locations": 50,
181+
"max_matrix_distance": 50000000.0,
182+
"max_matrix_location_pairs": 1000000
183+
},
184+
"centroid": {
185+
"max_distance": 50000000.0,
186+
"max_locations": 5
187+
},
188+
"isochrone": {
189+
"max_contours": 10,
190+
"max_distance": 50000000.0,
191+
"max_distance_contour": 200,
192+
"max_locations": 1,
193+
"max_time_contour": 120
194+
},
195+
"max_alternates": 2,
196+
"max_distance_disable_hierarchy_culling": 0,
197+
"max_exclude_locations": 50,
198+
"max_exclude_polygons_length": 10000,
199+
"max_radius": 2000,
200+
"max_reachability": 100,
201+
"max_timedep_distance": 500000,
202+
"max_timedep_distance_matrix": 0,
203+
"motor_scooter": {
204+
"max_distance": 500000.0,
205+
"max_locations": 50,
206+
"max_matrix_distance": 200000.0,
207+
"max_matrix_location_pairs": 1000000
208+
},
209+
"motorcycle": {
210+
"max_distance": 50000000.0,
211+
"max_locations": 50,
212+
"max_matrix_distance": 50000000.0,
213+
"max_matrix_location_pairs": 1000000
214+
},
215+
"multimodal": {
216+
"max_distance": 50000000.0,
217+
"max_locations": 50,
218+
"max_matrix_distance": 0.0,
219+
"max_matrix_location_pairs": 0
220+
},
221+
"pedestrian": {
222+
"max_distance": 50000000.0,
223+
"max_locations": 50,
224+
"max_matrix_distance": 50000000.0,
225+
"max_matrix_location_pairs": 1000000,
226+
"max_transit_walking_distance": 10000,
227+
"min_transit_walking_distance": 1
228+
},
229+
"skadi": {
230+
"max_shape": 750000,
231+
"min_resample": 10.0
232+
},
233+
"status": {
234+
"allow_verbose": false
235+
},
236+
"taxi": {
237+
"max_distance": 50000000.0,
238+
"max_locations": 20,
239+
"max_matrix_distance": 50000000.0,
240+
"max_matrix_location_pairs": 1000000
241+
},
242+
"trace": {
243+
"max_alternates": 3,
244+
"max_alternates_shape": 100,
245+
"max_distance": 50000000.0,
246+
"max_gps_accuracy": 100.0,
247+
"max_search_radius": 100.0,
248+
"max_shape": 16000
249+
},
250+
"transit": {
251+
"max_distance": 50000000.0,
252+
"max_locations": 50,
253+
"max_matrix_distance": 50000000.0,
254+
"max_matrix_location_pairs": 1000000
255+
},
256+
"truck": {
257+
"max_distance": 50000000.0,
258+
"max_locations": 20,
259+
"max_matrix_distance": 50000000.0,
260+
"max_matrix_location_pairs": 1000000
261+
}
262+
},
263+
"statsd": {
264+
"port": 8125,
265+
"prefix": "valhalla"
266+
},
267+
"thor": {
268+
"clear_reserved_memory": false,
269+
"costmatrix_allow_second_pass": true,
270+
"costmatrix_check_reverse_connection": true,
271+
"extended_search": true,
272+
"logging": {
273+
"color": true,
274+
"file_name": "path_to_some_file.log",
275+
"long_request": 110.0,
276+
"type": "std_out"
277+
},
278+
"max_reserved_labels_count_astar": 2000000,
279+
"max_reserved_labels_count_bidir_astar": 1000000,
280+
"max_reserved_labels_count_bidir_dijkstras": 2000000,
281+
"max_reserved_labels_count_dijkstras": 4000000,
282+
"max_reserved_locations_costmatrix": 25,
283+
"service": {
284+
"proxy": "ipc:///tmp/thor"
285+
},
286+
"source_to_target_algorithm": "select_optimal"
287+
}
288+
}

0 commit comments

Comments
 (0)