-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.py
More file actions
73 lines (71 loc) · 1.61 KB
/
data.py
File metadata and controls
73 lines (71 loc) · 1.61 KB
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
"""
Static Data Definitions.
This module contains constant data structures used by the application,
specifically the hierarchical list of Provinces and Cities in Peru
used for the location selector.
"""
data = [
{
"name": "Cajamarca",
"cities": [
{
"name": "Cajamarca",
"location": {"lat": -7.16, "lon": -78.52}
}
]
},
{
"name": "Apurimac",
"cities": [
{
"name": "Abancay",
"location": {"lat": -13.63, "lon": -72.88}
}
]
},
{
"name": "Madre de Dios",
"cities": [
{
"name": "Puerto Maldonado",
"location": {"lat": -12.60, "lon": -69.18}
}
]
},
{
"name": "La Libertad",
"cities": [
{
"name": "Trujillo",
"location": {"lat": -8.12, "lon": -79.03}
}
]
},
{
"name": "Arequipa",
"cities": [
{
"name": "Arequipa",
"location": {"lat": -16.40, "lon": -71.54}
}
]
},
{
"name": "Ancash",
"cities": [
{
"name": "Huaraz",
"location": {"lat": -9.53, "lon": -77.53}
}
]
},
{
"name": "Ica",
"cities": [
{
"name": "Ica",
"location": {"lat": -14.07, "lon": -75.73}
}
]
}
]