-
Notifications
You must be signed in to change notification settings - Fork 1
/
config_template.json
251 lines (251 loc) · 6.91 KB
/
config_template.json
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
{
"FILES": {
"DEMAND_GEO": {
"FILE":"ENTER FILE PATH TO DEMAND GEOGRAPHIC BOUNDARY SHAPEFILE",
"TYPE":"shape",
"CRS": "3347",
"COLUMNS": {
"ID" : {
"NAME": "ENTER DEMAND GEOGRAPHIC BOUNDARY ID VARIABLE NAME",
"TYPE": "geouid",
"UNIT": "ENTER DATA TYPE (E.G., int)",
"DESC": "ID"
},
"GEOMETRY": {
"NAME": "geometry",
"TYPE": "geometry",
"UNIT": "geometry",
"DESC": "geometry"
}
}
},
"DEMAND_POP": {
"FILE":"ENTER FILE PATH TO THE DEMAND GEOGRAPHIC BOUNDARY SHAPEFILES' POPULATION CSV",
"TYPE":"demand",
"ENCODING":"latin-1",
"COLUMNS": {
"ID": {
"NAME":"ENTER DEMAND GEOGRAPHIC BOUNDARY ID VARIABLE NAME",
"TYPE":"geouid",
"UNIT": "ENTER DATA TYPE (E.G., int)",
"DESC": "ID"
},
"DEMAND_ENTER WORD THAT DESCRIBES POPULATION DEMAND VARIABLE OF INTEREST": {
"NAME": "ENTER THE VARIABLE NAME",
"TYPE": "ENTER HOW YOU WANT THE VARIABLE NAME TO APPEAR ON THE UI",
"UNIT": "ENTER DATA TYPE",
"DESC": "demand"
}
}
},
"DEMAND_GEO_WEIGHT": {
"FILE": "ENTER FILE PATH TO A MORE GRANULAR DEMAND GEOGRAPHIC BOUNDARY SHAPEFILES. THIIS FILE IS OPTIONAL. REMOVE THIS ENTIRE OBJECT IF NOT NEEDED",
"TYPE": "shape",
"CRS": "3347",
"COLUMNS": {
"ID" : {
"NAME": "ENTER SMALLER DEMAND GEOGRAPHIC BOUNDARY ID VARIABLE NAME",
"TYPE": "geouid",
"UNIT": "int"},
"LRG_ID" : {
"NAME": "ENTER DEMAND GEOGRAPHIC BOUNDARY ID VARIABLE NAME",
"TYPE": "lrg_id",
"UNIT": "int"},
"DEMAND_TOTAL": {
"NAME":"ENTER VARIABLE NAME TO THAT REPRESENT THE DESIRED POPULATION TO CALCULATE WEIGHTED CENTROIDS",
"TYPE": "pop_Total",
"UNIT": "int",
"DESC": "demand"
},
"GEOMETRY": {
"NAME": "geometry",
"TYPE": "geometry",
"UNIT": "geometry"
}
}
},
"POI": {
"FILE":"ENTER FILE PATH TO THE SUPPLY CSV",
"TYPE":"supply",
"ENCODING":"latin-1",
"CRS":"4326",
"COLUMNS": {
"ID": {
"NAME":"ENTER SUPPLY ID VARIABLE NAME",
"TYPE":"geouid",
"UNIT": "ENTER DATA TYPE",
"DESC": "ID"
},
"LATITUDE" : {
"NAME":"ENTER LATITUDE VARIABLE NAME",
"TYPE":"latitude",
"UNIT": "ENTER DATA TYPE OF LATITUDE (E.G., float)",
"DESC": "geometry"
},
"LONGITUDE" : {
"NAME":"ENTER LONGITUDE VARIABLE NAME",
"TYPE":"longitude",
"UNIT": "ENTER DATA TYPE OF LONGITUDE (E.G., float)",
"DESC": "geometry"
},
"LRG_ID" : {
"NAME":"DISCUSS WITH CHELSEA",
"TYPE":"lrg_id",
"UNIT": "str",
"DESC": "ID"
},
"ENTER DESCRIPTIVE WORD OF VARIALBLE TO INCLUDE IN DATABASE TABLE": {
"NAME":"ENTER VARIABLE NAME",
"TYPE": "ENTER HOW YOU WANT THE VARIABLE NAME TO APPEAR ON THE UI",
"UNIT": "ENTER DATA TYPE OF VARIABLE",
"DESC": "info"
},
"SUPPLY_ENTER DESCRIPTIVE WORD OF VARIABLE TO INCLUDE IN DATABASE TO REPRESENT SUPPLY": {
"NAME": "ENTER VARIABLE NAME",
"TYPE": "ENTER HOW YOU WANT THE VARIABLE NAME TO APPEAR ON THE UI",
"UNIT": "ENTER DATA TYPE OF VARIABLE",
"DESC": "supply"
},
"CAPACITY_ENTER DESCRIPTIVE WORD OF VARIABLE TO INCLUDES IN DATABASE TO RERESENT CAPACITY": {
"NAME": "ENTER VARIABLE NAME",
"TYPE": "ENTER HOW YOU WANT THE VARIABLE NAME TO APPEAR ON THE UI",
"UNIT": "ENTER DATA TYPE OF VARIABLE",
"DESC": "capacity"
}
}
}
},
"ORS": {
"CONNECTION": {
"CLIENT_URL": "http://[ENTER HOST]:[ENTER PORT]/ors",
"TIMEOUT": 500
},
"ISOCHRONES": {
"CATCHMENT_RANGE": 3600,
"CATCHMENT_RANGE_TYPE": "time",
"PROFILE": "driving-car",
"SLEEP_TIME": 0
},
"DISTANCE_MATRIX": {
"METRIC": "distance",
"UNIT": "m" ,
"SLEEP_TIME": 0
}
},
"DB": {
"HOST": "ENTER DATABASE HOST",
"PORT": "ENTER DATABASE PORT",
"NAME": "ENTER DATABASE NAME",
"PASSWORD": "ENTER DATABASE PASSWORD",
"USER": "ENTER DATABASE USER"
},
"APP": {
"SECRET_KEY": "ENTER APP SECRET KEY",
"HOST": "ENTER APP HOST",
"PORT": "ENTER APP KEY",
"THREADS": 4
},
"LOGGER": {
"DEFAULT_LEVEL": "debug",
"FILE": "ENTER true OR false TO SAVE LOG AS FILE",
"FILE_PATH": "ENTER A PATH AND FILE NAME (E.G., pass.log) TO SAVE FILE IN (IF FILE IS true)"
},
"BASEMAP": {
"TOKEN": "ENTER API KEY TO BASEMAP. CURRENT URL IN map.js DEPENDS ON MAPBOX API KEY. CHANGE tiles VAR IF WANTING DIFFERENT PROVIDOR"
},
"HTML": {
"META": {
"TITLE": "PASS",
"DESCRIPTION": "Potential Accessibility Software Service (PASS), a geographic information system that offers a quantitative approach to measure how spatially accessible population demand is to a given in-person service."
},
"NAVBAR": {
"LOGO": "ENTER LOGO TO APPEAR ON TOP-LEFT NAVBAR",
"BTNS": [
{
"NAME": "ENTER NAME A NAVBAR BTN NAME (E.G., Help)",
"TITLE": "ENTER A HEADER THAT WILL APPEAR AT THE TOP OF THIS NAVBAR MODAL VIEW",
"SECTIONS": [
{
"HEADER": "ENTER A HEADER THAT WILL APPEAR WITHIN THE BODY OF THE NAVBAR MODAL",
"CONTENT": [
{
"P": "ENTER TEXT THAT WILL APPEAR IN A PARAGRAPH",
"P": "..."
}
]
},
{
"HEADER": "...",
"CONTENT": [
{
"P": "..."
}
]
}
]
}
]
},
"MENU": {
"NAME": "ENTER ANOTHER TERM FOR MENU FOR BTN WHEN TOGGLING MENU",
"DESC": "ENTER DESCRIPTION OF TOOL THAT WILL APPEAR IN THE MENU",
"PARAMS": [
{
"ID": "transportation",
"LABEL": "Mode of transportation",
"TOOLTIP": "Select the commute method.",
"SELECT": [
{
"OPTION": "Car",
"VALUE": "car"
},
{
"OPTION": "Public Transit",
"VALUE": "transit"
}
]
},
{
"ID": "beta",
"LABEL": "Willingness to Commute",
"TOOLTIP": "Select how willing clients are to travel further distance.",
"SELECT": [
{
"OPTION": "Less",
"VALUE": "1.5"
},
{
"OPTION": "Medium",
"VALUE": "1.0"
},
{
"OPTION": "More",
"VALUE": "0.5"
}
]
},
{
"ID": "demand",
"LABEL": "Population Group",
"TOOLTIP": "Select the variable to represent the population demand."
},
{
"ID": "supply",
"LABEL": "POI Supply",
"TOOLTIP": "Select the variable to represent the supply of the service locations (POIs) that meets the demand."
},
{
"ID": "capacity",
"LABEL": "POI Capacity",
"TOOLTIP": "Select the variable to represent the capacity of the service locations (POIs) that would influences the likelihood of demand going to the POI."
},
{
"ID": "threshold",
"LABEL": "Distance Travel Threshold: ",
"TOOLTIP": "Select the max distance clients are willing to travel to the service. Consider mode of transportation."
}
],
"SUBMIT": "ENTER TEXT TO APPEAR IN THE BUTTON THAT RUNS THE MODEL"
}
}
}