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

Research Request - Second try for low speeds + fix only 1 vp within segment #900

Closed
tiffanychu90 opened this issue Sep 21, 2023 · 0 comments · Fixed by #903
Closed

Research Request - Second try for low speeds + fix only 1 vp within segment #900

tiffanychu90 opened this issue Sep 21, 2023 · 0 comments · Fixed by #903
Labels
gtfs-rt Work related to GTFS-Realtime research request Issues that serve as a request for research (summary and handoff)

Comments

@tiffanychu90
Copy link
Member

Complete the below when receiving a research request, and continue to add to this issue as you receive additional details and produce deliverables. Be sure to also add the appropriate project-level label to this issue (eg gtfs-rt, DLA).

Research Question

Single sentence description: Add a step after identifying unusually low speeds on segments to select another vp and try again. While we're doing this, handle the fact that there are segments with only 1 vp.

Detailed description: Do the linear referencing, and before saving out the speeds by trip, do an extra check to find these low speeds and try again to calculate.

  • From July numbers, it looks like about 25% of segments do not pass the threshold of covering at least 30% of segments. Of these, if we try and recalculate again, there's still another 20% that are still erroneous (this is 0.25*0.02 = 0.06 of all segments).
  • This try again should also handle the fact that there are segments with only 1 vp. Select the vp right before, even if it's not within the segment. If we still can't, select the vp right after.
  • The second try: should it be done against the whole shape_geometry (projecting it is tricky because shape_meters will be inconsistent using a complex shape), or should it use a straight line distance (which ignores the shape path completely)?
@tiffanychu90 tiffanychu90 added the research request Issues that serve as a request for research (summary and handoff) label Sep 21, 2023
@tiffanychu90 tiffanychu90 linked a pull request Sep 22, 2023 that will close this issue
This was referenced Oct 11, 2023
@tiffanychu90 tiffanychu90 added the gtfs-rt Work related to GTFS-Realtime label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gtfs-rt Work related to GTFS-Realtime research request Issues that serve as a request for research (summary and handoff)
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant