-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
154 lines (145 loc) · 3.36 KB
/
config.js
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
module.exports = {
allowRegistration: true,
mapDefaultCenter: {
lat: 45.523,
lon: -73.498
},
languages: ['fr', 'en'],
languageNames: {
fr: "Français",
en: "English"
},
title: {
fr: "p0022 RTL Existant",
en: "p0022 RTL Existing"
},
defaultLocale: "fr",
timezone: "America/Montreal",
gtfs: {
socketFileUploaderOptions: {
uploadDirectory : 'gtfs',
fileExtension : 'zip',
renamedFileNameWithoutExtension: 'import',
acceptTypes : ['application/zip'],
maxFileSizeMB : 256,
chunckSizeMB : 10240000,
overwriteExistingFile : true
}
},
defaultPreferences: {
osrmRouting: {
useContinueStraightForMapMatching: false,
driving: {
// set host to null when you want node to start osrm locally with the provided osrmPath and port
// !!! Be careful: use your own server, since you may be blocked on the osrm demo server after too many queries
port : 7023, // set to null when using remote osrm server
osrmPath : null, // set to null when using a remote osrm server
autoStart: true,
enabled : true
},
cycling: {
port : 8023,
osrmPath : null,
autoStart: false,
enabled : false
},
walking: {
port : 5023,
osrmPath : null,
autoStart: true,
enabled : false
},
bus: {
port : 7123,
osrmPath : null,
autoStart: false,
enabled : false
},
bus_suburb: {
port : 7223,
osrmPath : null,
autoStart: false,
enabled : false
},
bus_urban: {
port : 7323,
osrmPath : null,
autoStart: false,
enabled : false
},
bus_congestion: {
port : 7423,
osrmPath : null,
autoStart: true,
enabled : true
},
rail: {
port : 9023,
osrmPath : null,
autoStart: false,
enabled : false
},
tram: {
port : 9123,
osrmPath : null,
autoStart: false,
enabled : false
},
tramTrain: {
port : 9223,
osrmPath : null,
autoStart: false,
enabled : false
},
metro: {
port : 9323,
osrmPath : null,
autoStart: false,
enabled : false
},
monorail: {
port : 9423,
osrmPath : null,
autoStart: false,
enabled : false
},
cableCar: {
port : 9523,
osrmPath : null,
autoStart: false,
enabled : false
}
},
transit: {
showEvolutionaryAlgorithmsFields: true,
nodes: {
defaultDwellTimeSeconds: 20
},
paths: {
defaultRoutingMode: 'bus_congestion',
defaultDwellTimeSeconds: 10
}
}
/*transit: {
periods: {
test: {
name: {
fr: "Test",
en: "Test"
},
periods: [
{
shortname: "test",
name: {
fr: "Tet",
en: "Test"
},
startAtHour: 4,
endAtHour: 28
}
]
}
}
}*/
}
};