-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexamples.py
68 lines (66 loc) · 1.71 KB
/
examples.py
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
# Ejemplo de peticion al servidor HTTP del Planificador de Rutas
peticion = {
"veh_ID": "VF1ABCD1234567890",
"priority": "standard",
"start": [-3.676641, 40.425979],
"end": [-3.701985, 40.435956]
}
# Ejemplo de la respuesta que da el servidor HTTP del Planificador de Rutas
response = [
[-3.676641, 40.425975],
[-3.675614, 40.425926],
[-3.675501, 40.427305],
[-3.675386, 40.428695],
[-3.675288, 40.429887],
[-3.676397, 40.429941],
[-3.676815, 40.429962],
[-3.67821, 40.43003],
[-3.679067, 40.430072],
[-3.679308, 40.430181],
[-3.679317, 40.430202],
[-3.679397, 40.430323],
[-3.679471, 40.430378],
[-3.67956, 40.430419],
[-3.679659, 40.430442],
[-3.67958, 40.431366],
[-3.67948, 40.43256],
[-3.679469, 40.432696],
[-3.679598, 40.432703],
[-3.680899, 40.432766],
[-3.682145, 40.432831],
[-3.683485, 40.432898],
[-3.684585, 40.432953],
[-3.685593, 40.433003],
[-3.685635, 40.433005],
[-3.686161, 40.433031],
[-3.686545, 40.433023],
[-3.68672, 40.432978],
[-3.686912, 40.43299],
[-3.687985, 40.433042],
[-3.688453, 40.433051],
[-3.690416, 40.432982],
[-3.690608, 40.432976],
[-3.690954, 40.43302],
[-3.691126, 40.433068],
[-3.691166, 40.433095],
[-3.691288, 40.433295],
[-3.691277, 40.43406],
[-3.691263, 40.435158],
[-3.692107, 40.435135],
[-3.69314, 40.43511],
[-3.694823, 40.435064],
[-3.696547, 40.435022],
[-3.698088, 40.434979],
[-3.698345, 40.434971],
[-3.698719, 40.434935],
[-3.699017, 40.434872],
[-3.699097, 40.434852],
[-3.699507, 40.434752],
[-3.700214, 40.434578],
[-3.700883, 40.434417],
[-3.701683, 40.434218],
[-3.701724, 40.434351],
[-3.701927, 40.4348],
[-3.702431, 40.43594],
[-3.701988, 40.435918]
]