blob: a84d2ba54bdadb3c21ef2fc32ba3b8b621a2bff8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/env python
from data.hdf5 import taxi_it
from visualizer import Vlist, Point
if __name__ == '__main__':
points = Vlist(heatmap=True)
for line in taxi_it('test'):
for (lat, lon) in zip(line['latitude'], line['longitude']):
points.append(Point(lat, lon))
points.save('test positions')
|