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 - Improve sjoin of vp to segments by including cardinal direction #921

Closed
tiffanychu90 opened this issue Oct 4, 2023 · 0 comments · Fixed by #956
Closed
Assignees
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: Spatial join of vp to (road) segments will require some additional information on direction so it can be sped up.

Detailed description:

  • Add a column that tells us what direction the vp is traveling. It's possible for a bus to stay at same position with different timestamps, which gives us direction vector (0, 0) / unknown cardinal direction.
  • Sjoin should factor in direction (eastbound road segments sjoin with eastbound (or unknown) vp)
    • Road segments automatically are segmented and flipped, so the same centerline will have 2 directions associated. Any sjoin will be attached to both, and we shouldn't sort it out after the sjoin, we should do a smarter sjoin.
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