osrm-backend icon indicating copy to clipboard operation
osrm-backend copied to clipboard

Is it possible to send difference of live traffic data each time?

Open safe-bug opened this issue 3 years ago • 3 comments

Hello

I want to know is it possible to send the difference of live traffic data (csv) in each cycle when I want to update the graph speeds?

Currently I have to update around 50 million edges on each traffic update cycle but actually a small number of these edges speed is changing in each cycle so if it's possible I can customize a much more small csv and save time.

I had some tests and it seems that when I don't provide other edges speeds the last valid value isn't kept. Is there any way to make it possible?

Thanks

safe-bug avatar Jan 31 '23 09:01 safe-bug

@safe-bug when you run osrm-customize, it updates the datafiles in place. Any edges that aren't in your CSV are not reset, they're left at the previous value.

If you're copying your original osrm-extract/osrm-partition files then applying osrm-customize to them, then yes, everything will be reset each time. But if you apply osrm-customize over the same files over and over, old data will be retained.

danpat avatar Jan 31 '23 17:01 danpat

This issue seems to be stale. It will be closed in 30 days if no further activity occurs.

github-actions[bot] avatar Jul 08 '24 20:07 github-actions[bot]

Hi , i have many gps trace records in my server. can you help me how can i make csv file ? thanks

salarnz avatar Jul 11 '24 15:07 salarnz

This issue seems to be stale. It will be closed in 30 days if no further activity occurs.

github-actions[bot] avatar Jan 08 '25 02:01 github-actions[bot]