forked from DSD-ESDC-EDSC/pass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_example.json
255 lines (255 loc) · 7.22 KB
/
config_example.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
252
253
254
255
{
"FILES": {
"DEMAND_GEO": {
"FILE":"C:/Users/Name/Documents/Code/pass/data/lda_000b16a_bc.shp",
"TYPE":"shape",
"CRS": "3347",
"COLUMNS": {
"ID" : {
"NAME": "DAUID",
"TYPE": "geouid",
"UNIT": "int",
"DESC": "ID"
},
"GEOMETRY": {
"NAME": "geometry",
"TYPE": "geometry",
"UNIT": "geometry",
"DESC": "geometry"
}
}
},
"DEMAND_POP": {
"FILE":"C:/Users/Name/Documents/Code/pass/data/demand_bc.csv",
"TYPE":"demand",
"ENCODING":"latin-1",
"COLUMNS": {
"ID": {
"NAME":"geouid",
"TYPE":"geouid",
"UNIT": "int",
"DESC": "ID"
},
"DEMAND_TOTAL": {
"NAME":"total_pop",
"TYPE": "pop_Total",
"UNIT": "int",
"DESC": "demand"
},
"DEMAND_MALE": {
"NAME": "total_male",
"TYPE": "Male Population",
"UNIT": "int",
"DESC": "demand"
},
"DEMAND_FEMALE": {
"NAME": "total_female",
"TYPE": "Female Population",
"UNIT": "int",
"DESC": "demand"
}
}
},
"POI": {
"FILE":"C:/Users/Name/Documents/Code/pass/data/childcare_locations.csv",
"TYPE":"poi",
"ENCODING":"latin-1",
"CRS":"4326",
"COLUMNS": {
"ID": {
"NAME":"FAC_PARTY_ID",
"TYPE":"geouid",
"UNIT": "int",
"DESC": "ID"
},
"LATITUDE" : {
"NAME": "LONGITUDE",
"TYPE": "longitude",
"UNIT": "float",
"DESC": "geometry"
},
"LONGITUDE" : {
"NAME": "LATITUDE",
"TYPE": "latitude",
"UNIT": "float",
"DESC": "geometry"
},
"INFO_TYPE": {
"NAME":"SERVICE_TYPE_CD",
"TYPE": "Type",
"UNIT": "text",
"DESC": "info"
},
"INFO_NAME": {
"NAME": "NAME",
"TYPE": "Name",
"UNIT": "text",
"DESC": "info"
},
"SUPPLY_AVAILABILITY": {
"NAME": "AVAILABLE_SEATS",
"TYPE": "Available Seats",
"UNIT": "int",
"DESC": "supply"
},
"CAPACITY_SEATS": {
"NAME":"CAPACITY",
"TYPE": "Total Seats",
"UNIT": "int",
"DESC": "capacity"
}
}
}
},
"ORS": {
"CONNECTION": {
"CLIENT_URL": "http://127.0.0.1:8080/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": "127.0.0.1",
"PORT": "5432",
"NAME": "pass",
"PASSWORD": "password",
"USER": "postgres"
},
"APP": {
"SECRET_KEY": "pass",
"HOST": "127.0.0.1",
"PORT": "5000",
"THREADS": 4
},
"LOGGER": {
"DEFAULT_LEVEL": "debug",
"FILE": "False",
"FILE_PATH": "C:/Users/Name/Documents/Code/pass/pass.log"
},
"BASEMAP": {
"TOKEN": "ENTER YOUR BASEMAP API TOKEN"
},
"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": "PASS",
"BTNS": [
{
"NAME": "Help",
"TITLE": "Help",
"SECTIONS": [
{
"HEADER": "Why when I zoom in/out the accessibility scores have a different geographic area?",
"CONTENT": [
{
"P": "The methodology used to measure spatial accessibility considers the network of both the services and the surrounding population demand, thus when you zoom in/out of a location, PASS takes all data points within the window of your screen and measures scores based on that network. When you zoom in/out the number of service locations and demand locations change!"
}
]
}
]
},
{
"NAME": "About",
"TITLE": "About PASS",
"SECTIONS": [
{
"HEADER": "Methodology",
"CONTENT": [
{
"P": "The CDO Data Science team developed a geographic information system, Potential Accessibility Software Service (PASS). PASS offers an advanced quantitative approach to measure how spatially accessible population demand is to a given service."
},
{
"P": "Spatial accessibility is the consideration of how physical and social space and place affect how a population can traverse through it to access a given service. Though abstract in nature, it can be measured through considerations like where potential population demand is located, the geographic distance to get from the population location to the service locations offered, the supply at the service locations, as well as the probability of a population going to one service location over another based on the capacity. PASS uses the enhanced 3-step floating catchment methodology to accomplish this, which is further explained <a href='static/docs/pass_report_20200422.html' target='_blank'>here</a>."
},
{
"P": "PASS lets you select a geographic area of interest by panning and zooming on the interactive map, and lets you define the parameters to model spatial accessibility to better reflect Canada's diverse society. For example, individuals living in urban areas versus rural areas, have different assumptions and considerations for how to access a service."
}
]
},
{
"HEADER": "Developers",
"CONTENT": [
{
"P": "- Name Conzon"
},
{
"P": "- Chelsea Ernhofer"
}
]
}
]
}
]
},
"MENU": {
"NAME": "Menu",
"DESC": "Welcome to the <strong>P</strong>otential <strong>A</strong>ccessibility <strong>S</strong>oftware <strong>S</strong>ervice, <strong>PASS</strong>, a tool that measures spatial accessibility. Pan and zoom to your area of interest, change the parameters below, and submit to calculate accessibility scores. To learn more about the methodology, checkout <a class='wb-lbx' href='#popup-modal-about' aria-controls='popup-modal' role='button'>About</a>.",
"PARAMS": [
{
"ID": "transportation",
"LABEL": "Mode of transportation",
"TOOLTIP": "Select the commute method.",
"SELECT": [
{
"OPTION": "Car",
"VALUE": "car"
}
]
},
{
"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": "Measure Spatial Accessibility"
}
}
}