wip
This commit is contained in:
parent
4e051c5759
commit
18936a52c6
@ -15,7 +15,7 @@ class OSRMTasks(TaskSet):
|
||||
with open(gps_traces_file_path, 'r') as file:
|
||||
reader = csv.DictReader(file)
|
||||
for row in reader:
|
||||
coord = (row['Latitude'], row['Longitude'])
|
||||
coord = (float(row['Latitude']), float(row['Longitude']))
|
||||
self.coordinates.append(coord)
|
||||
self.tracks[row['TrackID']].append(coord)
|
||||
self.track_ids = list(self.tracks.keys())
|
||||
|
Loading…
Reference in New Issue
Block a user