Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert to geojson with tracejson #750

Merged
merged 4 commits into from
Aug 2, 2020
Merged

Conversation

nlehuby
Copy link
Contributor

@nlehuby nlehuby commented Jun 11, 2020

part of e-mission/e-mission-docs#542

There are some fixtures that hold exported data (*.ground_truth files in emissions/tests/data) that could be updated accordingly. But as there are no test about these properties, I'm not sure how valuable it is.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@shankari
Copy link
Contributor

hm.. it is true that I don't actually check for the timestamps. Let me see whether the UI uses them. If so, I should add that to the tests and we should ensure that the .ground_truth files should also be updated accordingly.

@shankari
Copy link
Contributor

Unfortunately, we do include times in the phone code both in the detail screen and during the incident reporting. I will wait until I fix the phone code to merge this.

@shankari
Copy link
Contributor

@nlehuby thanks for fixing the ground_truth files as well. I will merge this after I fix the UI as part of e-mission/e-mission-docs#542

The `tracejson` format has some open questions around how to represent start
and end times. Should they also be milliseconds? What should the labels be, etc?
In order to avoid dealing with those issues right now, we return both "times"
and "timestamps". The "times" retain backward compatibility with existing code;
the "timestamps" ensure that it is valid tracejson.

We will revisit this after the paper on mobility standards:
e-mission/e-mission-docs#542 (comment)
@shankari shankari changed the base branch from master to test-default-action August 2, 2020 14:13
@shankari shankari changed the base branch from test-default-action to master August 2, 2020 14:14
@shankari shankari merged commit 7a49a9c into e-mission:master Aug 2, 2020
jf87 pushed a commit to jf87/e-mission-server that referenced this pull request Jun 21, 2021
convert to geojson with tracejson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants