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

added neighborhood and transit info to routes #21

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

hadasah
Copy link
Collaborator

@hadasah hadasah commented Jul 18, 2024

haven't changed the db.csv file yet, kept the new file separate for comparison temporarily

@nickswalker
Copy link
Member

On the problem that "for some modes (buses), the fact of there being a stop is not that useful on its own":

Maybe we can treat this as metrics of a transit isochrone. Try to capture how much is reachable for a particular time budget from a given start point (e.g. area of a shade in the isochrone) or perhaps reachability from some number of anchor locations across Seattle that we care about (e.g. whether the anchor point is within some threshold color on the isochrone, like is it possible to reach CSE or Queen Anne from this location in less than 1 hour via transit?). This requires route+schedule knowledge, but there are APIs that sell that.

Isochrones
https://seattletransitblog.com/2016/03/15/seattle-transit-isochrone-map-generator/

API
https://developers.google.com/maps/documentation/distance-matrix/overview

@hadasah
Copy link
Collaborator Author

hadasah commented Aug 7, 2024

@nickswalker added a reachability score 1-3 based on max google maps public transit time between the location and a fixed set of locations (temporarily, CSE, green lake, beacon hill)
Also manually specified text descriptions of meeting landmarks for some locs, and updated the maps urls for those locs to reflect the exact long&lat of those spots.

@hadasah
Copy link
Collaborator Author

hadasah commented Aug 7, 2024

TODO:

  • write bash script downloading stop info & triggering updates if needed
  • move some neighborhood info (for the start/end locs) from the routes/db.csv to the locs/db.csv file.

Also, considering merging the locs and routes folders, since a lot of logic will probably end up shared. Thoughts @nickswalker ?

@nickswalker
Copy link
Member

Yes, would merge those folders

@ztatlock
Copy link
Member

@hadasah Nice!!

FWIW, I'd like to keep all the location info in the locs table and use the start and end fields of the routes table as "foreign keys" into locs. I think that may be simpler?

Not sure about best way to handle "neighborhoods traversed". Do we need that for scheduler? Can we recompute on demand?

After this merges, I plan to reorganize the routes db into a directory of geojson and compute the table from those files.

nickswalker and others added 2 commits September 21, 2024 16:48
Handle special case where Tacoma Dome has same stop ID in both dirs
Fix an issue where popups were getting insta-cleared due to a bug where the wrong exchange coords were checked
Margaret Li and others added 4 commits October 3, 2024 19:39
@hadasah
Copy link
Collaborator Author

hadasah commented Oct 28, 2024

@nickswalker @ztatlock ready to merge
heads up, I did a little restructuring -- locs and routes are a single folder now. Some of my stuff can be cleaned up slightly, but I can come back to that later when we make more decisions about what to do

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

Successfully merging this pull request may close these issues.

3 participants