wip
This commit is contained in:
parent
244f953821
commit
dd63632a42
@ -40,7 +40,7 @@ class OSRMTasks(TaskSet):
|
|||||||
|
|
||||||
@task
|
@task
|
||||||
def get_match(self):
|
def get_match(self):
|
||||||
num_coords = random.randint(100, 200)
|
num_coords = random.randint(100, 150)
|
||||||
track_id = random.choice(self.track_ids)
|
track_id = random.choice(self.track_ids)
|
||||||
track_coords = self.tracks[track_id][:num_coords]
|
track_coords = self.tracks[track_id][:num_coords]
|
||||||
coords_str = ";".join([f"{coord[1]:.6f},{coord[0]:.6f}" for coord in track_coords])
|
coords_str = ";".join([f"{coord[1]:.6f},{coord[0]:.6f}" for coord in track_coords])
|
||||||
|
Loading…
Reference in New Issue
Block a user