Upload files to ''
This commit is contained in:
parent
30cb2832b5
commit
6c3cde1cdf
164
data_edges.csv
Normal file
164
data_edges.csv
Normal 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 L’OMBRE,5,160
|
||||||
|
57,25,difficult,stade de descente (portion est),1,161
|
||||||
|
38,50,difficult,park city,1,162
|
|
60
data_nodes.csv
Normal file
60
data_nodes.csv
Normal 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
|
|
41
index.html
Normal file
41
index.html
Normal 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>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user