-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
131 lines (114 loc) · 3.47 KB
/
config.yml
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
# Provide the name of the study area/project as a slug.
# Use https://you.tools/slugify/ if unsure.
study_area: denmark
# If using a combined study area, specify it here.
study_area_combined:
denmark:
- bornholm
- funen
- jutland
- lollandfalster
- longland
- zealand
# Provide meters per length unit.
# If lengths are given in m, use 1.
# If lengths are given in km, use 1000.
mperunit: 1
# SCENARIO RESTRICTIONS
# For now explore two scenarios:
# 0: Family with small children
# 1: Teenage/adult leisure cyclist
scenarioid: 1
scenario:
- name: "Family with children" # 0
# Provide the maximum acceptable gradient, in %.
maxslope_limit: 4
# Provide the minimum and maximum loop length, in meters.
looplength_min: 5000
looplength_max: 20000
- name: "Adult leisure cyclist" # 1
# Provide the maximum acceptable gradient, in %.
maxslope_limit: 6
# Provide the minimum and maximum loop length, in meters.
looplength_min: 10000
looplength_max: 40000
# SPECIFICATION PARAMETERS
# These parameters come from the DKNT specification at:
# https://www.kystognaturturisme.dk/dansk-kyst-og-naturturisme/vidensbank/metodehaandbog-kommunal-kvalificering-af-danmarks-rekreative-cykelnetvaerk
# Provide the maximum length acceptable without a water
# source, in meters.
waterlength_max: 10000
# Provide the lower and upper limits of face loop lengths,
# in meters. # 90% of face loop lengths should conform to
# these length limits.
faceloop_limit_lower: 8000
faceloop_limit_upper: 20000
# Provide the optimal lower and upper limits of link
# lengths, and the maximal link length, in meters.
link_limit_lower: 1000
link_limit_upper: 5000
link_limit_max: 10000
# TECHNICAL PARAMETERS
# Provide the snap threshold, for snapping POIs to network
# links, in meters.
snap_threshold: 250
# Provide the maximum number of nodes in a loop.
# Above 30 will slow down computations.
loop_numnode_bound: 30
# Provide the maximum physical length in a loop, in meters.
# Set to 0 for no limit.
loop_length_bound: 40000
# Provide whether certain plots will use logarithmic scale.
plotlogscale: True
# If edge data has a max_slope attribute, set this to True.
# Otherwise, or for testing purposes, set to False. This
# will then generate random max_slope values.
maxslopes_available: True
# If pois files are available, set this to True.
# Otherwise, or for testing purposes, set to False. This
# will then generate random poi values.
pois_available: True
# Provide by how many m to shift Bornholm to east and north
bornholm_delta:
- -220000 # east
- 120000 # north
# PLOT PARAMETERS
# https://colorbrewer2.org
plotparam:
dpi: 96
color:
"neutral": "#444444"
"dknt_green": "#009F92"
"noloop": [0.95, 0.95, 0.95, 1]
edge_classification_colors:
"below_ideal": "#000000"
"ideal_range": "#bdd7e7"
"above_ideal": "#3182bd"
"too_long": "#de2d26"
edge_classification_linewidths:
"below_ideal": 1.25
"ideal_range": 0.75
"above_ideal": 1.25
"too_long": 2.5
loop_classification_colors:
"below_ideal": "#3182bd"
"ideal_range": "#bdd7e7"
"too_long": "#de2d26"
maxslope_classification_colors:
"easy": "#bdd7e7"
"medium": "#fd8d3c"
"hard": "#de2d26"
maxslope_classification_linewidths:
"easy": 0.75
"medium": 1
"hard": 1.25
poidiversity_classification_colors:
0: "#de2d26"
1: "#6baed6"
2: "#3182bd"
3: "#08519c"
poidiversity_classification_linewidths:
0: 1.25
1: 0.75
2: 0.75
3: 0.75