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

Add PRM informations on /routes #2222

Open
pbougue opened this issue Oct 10, 2017 · 0 comments
Open

Add PRM informations on /routes #2222

pbougue opened this issue Oct 10, 2017 · 0 comments

Comments

@pbougue
Copy link
Contributor

pbougue commented Oct 10, 2017

For PRM information, one might want to display which stop_point is PRM-available, and some indicators on routes using that stop_point (to know if a PRM can hope to get on board line 45 toward Papeete town center at the Railway station).
One idea is to add a sub-object to routes (on 10 days, if only 1 circulation on 10 is PRM-available):

{
  "routes": {
    "vehicle_journeys_statistics": {
      "nb_vehicle_journey_day_prm": 10,
      "nb_vehicle_journey_day_not_prm": 90,
      "nb_vehicle_journey_day_total": 100
    }
  }
}

We would output the number of circulations*nb of day each one circulate in each field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant