Free flow and constrained speed
Closed this issue · 2 comments
Trietes commented
Shouldn't the csv for historical traffic first contain the free flow speed and then the constrained speed? So
csv_writer.writerow([tile_id, FREE_FLOW_SPEED, CONSTRAINED_FLOW_SPEED, traffic_encoded_values])
instead of
csv_writer.writerow([tile_id, CONSTRAINED_FLOW_SPEED, FREE_FLOW_SPEED, traffic_encoded_values])
in the update_traffic.py?
Blagodarenko commented
Yes, you right, free_flow before constrained speed
Trietes commented
Thanks for checking! Found the same code in the valhalla repository. I'll create a PR to fix it, when I've some time.