Upload files to ''

This commit is contained in:
sam.hadow 2023-05-23 03:05:46 +02:00
parent 30cb2832b5
commit 6c3cde1cdf
3 changed files with 265 additions and 0 deletions

164
data_edges.csv Normal file
View File

@ -0,0 +1,164 @@
origin,destination,type,name,weight,id
0,2,path,,20,0
2,0,path,,15,1
1,2,path,,15,2
2,1,path,,20,3
0,3,path,,60,4
3,0,path,,80,5
17,4,path,,30,6
4,17,path,,30,7
0,53,path,,7,8
5,53,path,,7,9
53,5,path,,7,10
53,0,path,,7,11
4,12,path,,20,12
12,4,path,,20,13
12,13,path,,10,14
13,12,path,,10,15
11,13,path,,10,16
13,11,path,,10,17
9,11,path,,10,18
11,9,path,,10,19
8,9,path,,5,20
9,8,path,,5,21
9,7,path,,5,22
7,9,path,,5,23
9,10,path,,5,24
10,9,path,,5,25
6,7,path,,20,26
7,6,path,,20,27
3,15,path,,10,28
15,3,path,,10,29
18,3,path,,40,30
3,18,path,,50,31
14,16,path,,10,32
16,14,path,,10,33
18,16,path,,15,34
16,18,path,,15,35
35,23,high speed chairlift,CHAPELETS,6,36
23,35,difficult,chapelets,1.9,37
23,35,difficult,rochers,1.9,38
35,36,very easy,praline (portion 2),1,39
22,26,very difficult,chanrossa,1.4,40
22,26,difficult,Jean Pachod,1.6,41
26,22,high speed chairlift,CHANROSSA,7,42
37,22,chairlift,ROC MERLET,4,43
22,37,difficult,roc merlet,0.9,44
37,34,easy,pyramide,1.8,45
37,34,easy,plan mugnier,1.8,46
37,34,easy,mont russes,1,47
34,37,surface lift,PYRAMIDE,6,48
28,23,high speed chairlift,SIGNAL,6,49
27,38,high speed chairlift,AIGUILLE DU FRUIT,4,50
26,24,high speed chairlift,MARMOTTES,5,51
39,24,high speed chairlift,SUISSES,5,52
40,21,chairlift,CREUX NOIRS,10,53
25,24,gondola,VIZELLE,5,54
27,34,high speed chairlift,ROC MUGNIER,4,55
29,41,high speed chairlift,PRALONG,6,56
25,20,cable car,SAULIRE,4,57
3,42,gondola,FORÊT,6,58
42,32,high speed chairlift,CRÊTES,4,59
32,19,chairlift,COL DE LA LOZE,4,60
19,32,easy,col de la loze,0.8,61
31,19,high speed chairlift,DOU DES LANCHES,4,62
19,31,very difficult,dou des lanches,1.4,63
31,43,very difficult,jockeys (portion 1),0.4,64
43,3,very difficult,jockeys (portion 2),1,65
43,3,difficult,murettes,1.2,66
30,32,high speed chairlift,COQS,5,67
32,33,easy,crêtes (portion 1),0.4,68
33,42,easy,crêtes (portion 2),0.8,69
31,44,easy,folyères (portion 1),0.6,70
44,18,easy,folyères (portion 2),1.4,71
42,31,easy,arolles,1.8,72
33,55,very difficult,jean blanc (portion 1),2,73
55,45,very difficult,jean blanc (portion 2),0.4,74
46,45,difficult,brigues,0.4,75
45,3,difficult,amoureux,1,76
45,4,difficult,saint bon,1.5,77
4,3,path,,40,78
3,4,path,,30,79
31,44,very easy,plan fontaine (portion 1),1,80
44,18,very easy,plan fontaine (portion 2),3,81
44,18,difficult,moretta blanche,1.2,82
18,31,gondola,LA TANIA,6,83
18,44,surface lift,GROS MURGER,5,84
19,31,difficult,lanches (portion 1),0.8,85
31,44,difficult,lanches (portion 2),0.4,86
44,33,surface lift,BOUC BLANC,6,87
31,32,surface lift,PRAZ JUGET,4,88
47,29,free lift,COSPILLOT,4,89
0,47,gondola,GRANGETTES,3,90
26,27,difficult,creux (portion 4),1.4,91
20,49,difficult,creux (portion 1),0.8,92
49,48,difficult,creux (portion 2),0.8,93
48,26,difficult,creux (portion 3),0.9,94
21,49,difficult,roches grises,0.6,95
48,40,difficult,lac creux (portion 1),0.4,96
40,50,difficult,lac creux (portion 2),0.7,97
50,51,difficult,cave des creux,0.7,98
39,51,difficult,mur,0.9,99
49,39,very difficult,suisses,1.8,100
49,38,very difficult,turcs,0.6,101
36,1,very easy,belvédère,2,102
41,39,easy,super pralong,0.6,103
41,52,easy,pralong (portion 1),0.8,104
52,29,easy,pralong (portion 2),0.9,105
33,47,difficult,loze,1.6,106
32,30,difficult,chenus,1,107
47,0,easy,provères,1.5,108
24,25,very difficult,m,1.8,109
52,51,easy,praméruel (portion 1),1.4,110
51,27,easy,praméruel (portion 2),0.5,111
30,41,high speed chairlift,BIOLLAY,5,112
50,39,easy,altiport (portion 1),0.6,113
39,52,easy,altiport (portion 2),0.6,114
33,47,difficult,petit dou,2,115
33,31,difficult,bouc blanc,1.8,116
3,47,gondola,PRAZ,11,117
33,54,difficult,dou du midi (portion 1),0.5,118
42,54,difficult,dou du midi (portion 2),0.4,119
54,46,difficult,dou du midi (portion 3),1.2,120
53,47,high speed chairlift,TOVETS,3,121
47,53,easy,stade,1.2,122
47,0,easy,tovets,1.5,123
41,54,easy,biollay (portion 1),0.5,124
54,29,easy,biollay (portion 2),1,125
54,30,easy,biollay (portion 3),1.4,126
47,25,gondola,VERDONS,7,127
47,30,gondola,JARDIN ALPIN (portion 1),2,128
30,54,gondola,JARDIN ALPIN (portion 2),5,129
47,54,gondola,JARDIN ALPIN,7,130
55,53,difficult,déviation 1550,1,131
41,30,difficult,marquetty,2,132
20,56,very difficult,grand couloir,0.8,133
24,56,difficult,combe sautire (portion 1),1,134
24,57,very difficult,combe pylones,0.8,135
56,57,difficult,combe sautire (portion 2),0.2,136
56,30,difficult,stade de descente (portion ouest),1.8,137
28,1,easy,marquis,1.8,138
1,28,surface lift,MARQUIS,4,139
58,27,easy,gravelles,1,140
28,58,surface lift,PTE BOSSE,2,141
34,35,difficult,bel air,1,142
1,34,gondola,ARIONDAZ,6,143
47,32,gondola,CHENUS,6,144
36,28,surface lift,GRANGES,2,145
25,30,very easy,renard,1.8,146
32,47,easy,anémones,3,147
47,33,surface lift,LOZE,4,148
33,30,very easy,loze est,3,149
30,47,very easy,verdons (portion 2),0.8,150
25,30,very easy,verdons (portion 1),2,151
23,34,difficult,rochers (portion 1),1,152
34,35,difficult,rochers (portion 2),1,153
34,28,easy,ariondaz,1.2,154
28,36,easy,granges,1.2,155
28,1,easy,piste bleue,1.8,156
23,28,easy,grande bosses,2.1,157
28,35,very easy,praline (portion 1),1.1,158
24,40,difficult,marmottes,1.2,159
30,57,surface lift,ROCHER DE LOMBRE,5,160
57,25,difficult,stade de descente (portion est),1,161
38,50,difficult,park city,1,162
1 origin destination type name weight id
2 0 2 path 20 0
3 2 0 path 15 1
4 1 2 path 15 2
5 2 1 path 20 3
6 0 3 path 60 4
7 3 0 path 80 5
8 17 4 path 30 6
9 4 17 path 30 7
10 0 53 path 7 8
11 5 53 path 7 9
12 53 5 path 7 10
13 53 0 path 7 11
14 4 12 path 20 12
15 12 4 path 20 13
16 12 13 path 10 14
17 13 12 path 10 15
18 11 13 path 10 16
19 13 11 path 10 17
20 9 11 path 10 18
21 11 9 path 10 19
22 8 9 path 5 20
23 9 8 path 5 21
24 9 7 path 5 22
25 7 9 path 5 23
26 9 10 path 5 24
27 10 9 path 5 25
28 6 7 path 20 26
29 7 6 path 20 27
30 3 15 path 10 28
31 15 3 path 10 29
32 18 3 path 40 30
33 3 18 path 50 31
34 14 16 path 10 32
35 16 14 path 10 33
36 18 16 path 15 34
37 16 18 path 15 35
38 35 23 high speed chairlift CHAPELETS 6 36
39 23 35 difficult chapelets 1.9 37
40 23 35 difficult rochers 1.9 38
41 35 36 very easy praline (portion 2) 1 39
42 22 26 very difficult chanrossa 1.4 40
43 22 26 difficult Jean Pachod 1.6 41
44 26 22 high speed chairlift CHANROSSA 7 42
45 37 22 chairlift ROC MERLET 4 43
46 22 37 difficult roc merlet 0.9 44
47 37 34 easy pyramide 1.8 45
48 37 34 easy plan mugnier 1.8 46
49 37 34 easy mont russes 1 47
50 34 37 surface lift PYRAMIDE 6 48
51 28 23 high speed chairlift SIGNAL 6 49
52 27 38 high speed chairlift AIGUILLE DU FRUIT 4 50
53 26 24 high speed chairlift MARMOTTES 5 51
54 39 24 high speed chairlift SUISSES 5 52
55 40 21 chairlift CREUX NOIRS 10 53
56 25 24 gondola VIZELLE 5 54
57 27 34 high speed chairlift ROC MUGNIER 4 55
58 29 41 high speed chairlift PRALONG 6 56
59 25 20 cable car SAULIRE 4 57
60 3 42 gondola FORÊT 6 58
61 42 32 high speed chairlift CRÊTES 4 59
62 32 19 chairlift COL DE LA LOZE 4 60
63 19 32 easy col de la loze 0.8 61
64 31 19 high speed chairlift DOU DES LANCHES 4 62
65 19 31 very difficult dou des lanches 1.4 63
66 31 43 very difficult jockeys (portion 1) 0.4 64
67 43 3 very difficult jockeys (portion 2) 1 65
68 43 3 difficult murettes 1.2 66
69 30 32 high speed chairlift COQS 5 67
70 32 33 easy crêtes (portion 1) 0.4 68
71 33 42 easy crêtes (portion 2) 0.8 69
72 31 44 easy folyères (portion 1) 0.6 70
73 44 18 easy folyères (portion 2) 1.4 71
74 42 31 easy arolles 1.8 72
75 33 55 very difficult jean blanc (portion 1) 2 73
76 55 45 very difficult jean blanc (portion 2) 0.4 74
77 46 45 difficult brigues 0.4 75
78 45 3 difficult amoureux 1 76
79 45 4 difficult saint bon 1.5 77
80 4 3 path 40 78
81 3 4 path 30 79
82 31 44 very easy plan fontaine (portion 1) 1 80
83 44 18 very easy plan fontaine (portion 2) 3 81
84 44 18 difficult moretta blanche 1.2 82
85 18 31 gondola LA TANIA 6 83
86 18 44 surface lift GROS MURGER 5 84
87 19 31 difficult lanches (portion 1) 0.8 85
88 31 44 difficult lanches (portion 2) 0.4 86
89 44 33 surface lift BOUC BLANC 6 87
90 31 32 surface lift PRAZ JUGET 4 88
91 47 29 free lift COSPILLOT 4 89
92 0 47 gondola GRANGETTES 3 90
93 26 27 difficult creux (portion 4) 1.4 91
94 20 49 difficult creux (portion 1) 0.8 92
95 49 48 difficult creux (portion 2) 0.8 93
96 48 26 difficult creux (portion 3) 0.9 94
97 21 49 difficult roches grises 0.6 95
98 48 40 difficult lac creux (portion 1) 0.4 96
99 40 50 difficult lac creux (portion 2) 0.7 97
100 50 51 difficult cave des creux 0.7 98
101 39 51 difficult mur 0.9 99
102 49 39 very difficult suisses 1.8 100
103 49 38 very difficult turcs 0.6 101
104 36 1 very easy belvédère 2 102
105 41 39 easy super pralong 0.6 103
106 41 52 easy pralong (portion 1) 0.8 104
107 52 29 easy pralong (portion 2) 0.9 105
108 33 47 difficult loze 1.6 106
109 32 30 difficult chenus 1 107
110 47 0 easy provères 1.5 108
111 24 25 very difficult m 1.8 109
112 52 51 easy praméruel (portion 1) 1.4 110
113 51 27 easy praméruel (portion 2) 0.5 111
114 30 41 high speed chairlift BIOLLAY 5 112
115 50 39 easy altiport (portion 1) 0.6 113
116 39 52 easy altiport (portion 2) 0.6 114
117 33 47 difficult petit dou 2 115
118 33 31 difficult bouc blanc 1.8 116
119 3 47 gondola PRAZ 11 117
120 33 54 difficult dou du midi (portion 1) 0.5 118
121 42 54 difficult dou du midi (portion 2) 0.4 119
122 54 46 difficult dou du midi (portion 3) 1.2 120
123 53 47 high speed chairlift TOVETS 3 121
124 47 53 easy stade 1.2 122
125 47 0 easy tovets 1.5 123
126 41 54 easy biollay (portion 1) 0.5 124
127 54 29 easy biollay (portion 2) 1 125
128 54 30 easy biollay (portion 3) 1.4 126
129 47 25 gondola VERDONS 7 127
130 47 30 gondola JARDIN ALPIN (portion 1) 2 128
131 30 54 gondola JARDIN ALPIN (portion 2) 5 129
132 47 54 gondola JARDIN ALPIN 7 130
133 55 53 difficult déviation 1550 1 131
134 41 30 difficult marquetty 2 132
135 20 56 very difficult grand couloir 0.8 133
136 24 56 difficult combe sautire (portion 1) 1 134
137 24 57 very difficult combe pylones 0.8 135
138 56 57 difficult combe sautire (portion 2) 0.2 136
139 56 30 difficult stade de descente (portion ouest) 1.8 137
140 28 1 easy marquis 1.8 138
141 1 28 surface lift MARQUIS 4 139
142 58 27 easy gravelles 1 140
143 28 58 surface lift PTE BOSSE 2 141
144 34 35 difficult bel air 1 142
145 1 34 gondola ARIONDAZ 6 143
146 47 32 gondola CHENUS 6 144
147 36 28 surface lift GRANGES 2 145
148 25 30 very easy renard 1.8 146
149 32 47 easy anémones 3 147
150 47 33 surface lift LOZE 4 148
151 33 30 very easy loze est 3 149
152 30 47 very easy verdons (portion 2) 0.8 150
153 25 30 very easy verdons (portion 1) 2 151
154 23 34 difficult rochers (portion 1) 1 152
155 34 35 difficult rochers (portion 2) 1 153
156 34 28 easy ariondaz 1.2 154
157 28 36 easy granges 1.2 155
158 28 1 easy piste bleue 1.8 156
159 23 28 easy grande bosses 2.1 157
160 28 35 very easy praline (portion 1) 1.1 158
161 24 40 difficult marmottes 1.2 159
162 30 57 surface lift ROCHER DE L’OMBRE 5 160
163 57 25 difficult stade de descente (portion est) 1 161
164 38 50 difficult park city 1 162

60
data_nodes.csv Normal file
View File

@ -0,0 +1,60 @@
longitude,latitude,name,id,type
1023,1260,COURCHEVEL (bas),0,1
760,1200,COURCHEVEL (milieu),1,1
877,1186,La Grande Combe,2,1
1615,1344,COURCHEVEL LE PRAZ,3,1
1300,1441,ST BON,4,1
1263,1235,la Choulière,5,1
1090,1622,BOZEL,6,1
1376,1569,le Fay,7,1
1415,1532,le Buisson,8,1
1489,1551,le Grenier,9,1
1582,1601,Villemartin,10,1
1641,1523,la Cuerdy,11,1
1575,1493,le Fontanil,12,1
1800,1513,le Carrey,13,1
1983,1303,la Nouva,14,1
1822,1330,le Freney,15,1
2030,1370,Villaflou,16,1
1012,1412,La Jairaz,17,1
2061,1216,LA TANIA,18,1
1562,706,COL DE LA LOZE,19,1
1094,347,SAULIRE,20,1
899,228,CREUX NOIRS,21,1
232,393,CHANROSSA,22,1
98,702,SIGNAL,23,1
986,379,VIZELLE,24,1
1062,717,VERDONS,25,1
576,583,CREUX,26,1
569,833,PRAMERUEL,27,1
455,935,BOSSES,28,1
877,935,PRALONG,29,1
1079,979,LAC,30,1
1601,938,PRAZ-JUGET,31,1
1346,746,CHENUS,32,1
1367,818,LOZE,33,1
321,848,BEL AIR,34,1
205,1003,,35,0
424,1069,,36,0
117,494,,37,0
823,499,,38,0
784,706,,39,0
679,475,,40,0
926,643,,41,0
1467,920,,42,0
1644,1056,,43,0
1754,1047,,44,0
1399,1236,,45,0
1300,1124,,46,0
1068,1065,COURCHEVEL (haut),47,1
776,430,,48,0
906,384,,49,0
684,640,,50,0
652,852,,51,0
846,785,,52,0
1162,1248,,53,0
926,766,,54,0
1386,1114,,55,0
1118,548,,56,0
1102,612,,57,0
510,866,,58,0
1 longitude latitude name id type
2 1023 1260 COURCHEVEL (bas) 0 1
3 760 1200 COURCHEVEL (milieu) 1 1
4 877 1186 La Grande Combe 2 1
5 1615 1344 COURCHEVEL – LE PRAZ 3 1
6 1300 1441 ST BON 4 1
7 1263 1235 la Choulière 5 1
8 1090 1622 BOZEL 6 1
9 1376 1569 le Fay 7 1
10 1415 1532 le Buisson 8 1
11 1489 1551 le Grenier 9 1
12 1582 1601 Villemartin 10 1
13 1641 1523 la Cuerdy 11 1
14 1575 1493 le Fontanil 12 1
15 1800 1513 le Carrey 13 1
16 1983 1303 la Nouva 14 1
17 1822 1330 le Freney 15 1
18 2030 1370 Villaflou 16 1
19 1012 1412 La Jairaz 17 1
20 2061 1216 LA TANIA 18 1
21 1562 706 COL DE LA LOZE 19 1
22 1094 347 SAULIRE 20 1
23 899 228 CREUX NOIRS 21 1
24 232 393 CHANROSSA 22 1
25 98 702 SIGNAL 23 1
26 986 379 VIZELLE 24 1
27 1062 717 VERDONS 25 1
28 576 583 CREUX 26 1
29 569 833 PRAMERUEL 27 1
30 455 935 BOSSES 28 1
31 877 935 PRALONG 29 1
32 1079 979 LAC 30 1
33 1601 938 PRAZ-JUGET 31 1
34 1346 746 CHENUS 32 1
35 1367 818 LOZE 33 1
36 321 848 BEL AIR 34 1
37 205 1003 35 0
38 424 1069 36 0
39 117 494 37 0
40 823 499 38 0
41 784 706 39 0
42 679 475 40 0
43 926 643 41 0
44 1467 920 42 0
45 1644 1056 43 0
46 1754 1047 44 0
47 1399 1236 45 0
48 1300 1124 46 0
49 1068 1065 COURCHEVEL (haut) 47 1
50 776 430 48 0
51 906 384 49 0
52 684 640 50 0
53 652 852 51 0
54 846 785 52 0
55 1162 1248 53 0
56 926 766 54 0
57 1386 1114 55 0
58 1118 548 56 0
59 1102 612 57 0
60 510 866 58 0

41
index.html Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<style>
body {
overflow-x: hidden;
}
#container {
width: 100%;
height: 100%;
background-image: url("./map.jpg");
background-repeat: no-repeat;
background-size: 100% 100%;
padding: 0px;
}
</style>
<body>
<h1></h1>
<!-- Button -->
<div style="width: 20%; float:left">
<input type="radio" name="level" value="0" checked> Débutant<br>
<input type="radio" name="level" value="1"> Expérimenté<br>
<p id="instructions"></p>
</div>
<div style="width: 80%; float:right" id="container" class="svg-container">
</div>
<script type='text/javascript' src="./node_modules/d3/dist/d3.js"></script>
<script type='text/javascript' src="floyd_warshall.js"></script>
<script type='text/javascript' src="path.js"></script>
<script type='text/javascript' src="path_to_string.js"></script>
<script type='text/javascript' src="app.js"></script>
</body>
</html>