Skip to content
Snippets Groups Projects
Verified Commit 76754145 authored by Marco Aceti's avatar Marco Aceti
Browse files

Reduce trajectories map size by half

parent 52ab4690
Branches
No related tags found
No related merge requests found
Pipeline #2822 passed
...@@ -71,7 +71,7 @@ def fill_time(start: datetime, end: datetime) -> t.Generator[datetime, None, Non ...@@ -71,7 +71,7 @@ def fill_time(start: datetime, end: datetime) -> t.Generator[datetime, None, Non
while start <= end: while start <= end:
yield start yield start
start += timedelta(minutes=(WINDOW_SIZE / 2) if WINDOW_SIZE > 1 else 1) start += timedelta(minutes=WINDOW_SIZE)
def icon_marker(railway_company: str, category: str) -> str: def icon_marker(railway_company: str, category: str) -> str:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment