blob: 922414359c8897af72083afb1d1873a09ef0147d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/env python
from data.hdf5 import taxi_it
from visualizer import Vlist, Point
if __name__ == '__main__':
it = taxi_it('stands')
next(it) # Ignore the "no stand" entry
points = Vlist()
for (i, line) in enumerate(it):
points.append(Point(line['stands_latitude'], line['stands_longitude'], 'Stand (%d): %s' % (i+1, line['stands_name'])))
points.save('stands')
|