Any plans on adding public transit?
In the next year or so maybe. The biggest obstacles to adding public transit are: - Collecting all the necessary scheduling data (e.g. GTFS feeds) for every transit system in the county. Not insurmountable since there are services that do this currently. - Finding a routing engine that can compute nation-scale travel time matrices quickly. Currently, the two fastest open-source engines I've tried (OSRM and Valhalla)…
Show HN: OpenTimes – Free travel times between U.S. Census geographies
41–50 of 56 posts
Re: Show HN: OpenTimes – Free travel times between U.S. Census geographies
#42How did you decide on routing engine? I’ve used Graphhopper in the past — is OSRM an improvement?
I actually tried a couple different engines before landing on OSRM. I started with R5 (since it can also do public transit) then switched to Valhalla. The main limiting factor was speed. Basically all routing engines except for OSRM are too slow to compute continent-scale travel time matrices. For reference, it took Valhalla around a week to finish 3 billion point-to-point pairs. OSRM did the same calculation in abou…
Re: Show HN: OpenTimes – Free travel times between U.S. Census geographies
#43OK the way you're publishing the data with Parquet and making it accessible through DuckDB is spectacular . Your README shows R and Python examples: https://github.com/dfsnow/opentimes?tab=readme-ov-file#using... I got it working with the `duckdb` terminal tool like this: INSTALL httpfs; LOAD httpfs; ATTACH 'https://data.opentimes.org/databases/0.0.1.duckdb' AS opentimes; SELECT origin_id, destination_id, duration_se…
Thanks! I hadn't seen anyone do it this way before with a very large, partitioned dataset, but it works shockingly well as long as you're not trying to `SELECT *` the entire table. Props to the DuckDB folks. Eventually I plan to add some thin R and Python wrapper packages around the DuckDB calls just to make it easier for researchers.
- https://bsky.app/profile/jakthom.bsky.social/post/3lbarcvzrc...
- https://bsky.app/profile/jakthom.bsky.social/post/3lb4y65z24...
Love this distribution pattern. Users can go to the Parquet files or attach to your "curated views" on a small DuckDB database file.
Re: Show HN: OpenTimes – Free travel times between U.S. Census geographies
#44Amazing! GitHub actions to compute a giant skim matrix is an incredible hack. I pretty regularly work with social science researchers who have a need for something like this... will keep it in mind. For a bit we thought of setting something like this up within the Census Bureau, in fact. I have some stories about routing engines from my time there...
https://davidgasquez.com/community-level-open-data-infrastru...
Re: Show HN: OpenTimes – Free travel times between U.S. Census geographies
#45Re: Show HN: OpenTimes – Free travel times between U.S. Census geographies
#46Any plans on adding public transit?
And then they could determine the variance at certain times of days for certain public transit routes, and show your likelihood of reaching the destination by a certain time.
Re: Show HN: OpenTimes – Free travel times between U.S. Census geographies
#47Re: Show HN: OpenTimes – Free travel times between U.S. Census geographies
#48Re: Show HN: OpenTimes – Free travel times between U.S. Census geographies
#49Also just so I’m clear, is the shading corresponding to a time the represent mean travel time for the area, or the max travel time? E.g. if you pick Walking, and a neighborhood next to Central Park in New York City, even Even though parts of Central Park are directly adjacent to that neighborhood and should be a short travel time. The entirety of Central Park is shaded with a longer travel time, Does this mean I could theoretically get to the furthest point away from the selected area in Central Park in that travel time or is that more of like a mean travel time within that area and some travel times will be shorter or longer?
Re: Show HN: OpenTimes – Free travel times between U.S. Census geographies
#50Travel time context in general could be useful for retrieval before ranking in searches like Yelp or Google maps like products for nearby events and places. My MVP use case is to configure a rerank based on commute "score". For example there is just no way I'm going to commute from Brooklyn to Manhattan on a Monday night to eat out. I live across the river from Manhattan and what I never understood was why yelp and G…