-
Notifications
You must be signed in to change notification settings - Fork 5
proof of concept #909
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
base: main
Are you sure you want to change the base?
proof of concept #909
Conversation
on the topic of historical data, I think ideal state would be the most recent dataset -> the second most recent, so it's possible for users to compare |
Depending on the use case there are few ways this can be done UI
|
3 is the juicy/high value one :) |
Preview Firebase Hosting URL: https://mobility-feeds-dev--pr-909-70gjn23t.web.app |
69a48a9
to
8763fb0
Compare
Preview Firebase Hosting URL: https://mobility-feeds-dev--pr-909-uhoeo9vt.web.app |
e45025c
to
55dfd51
Compare
Preview Firebase Hosting URL: https://mobility-feeds-dev--pr-909-r4cf34ep.web.app |
Summary:
NOTE: None of this is final code, just to give an idea
Demonstrates a proof of concept where
Quick UI prototype of what the Feed detail page could look like
Expected behavior:
On the feed detail page, the map should appear with the STM stops displayed where you can hover over the stops and see the stop name.
Testing tips:
Go to
feeds/mdb-1179
and check out the UI. Should be able to hover hove the stops and get the data. Also to get a quick idea of the UI for routesPlease make sure these boxes are checked before submitting your pull request - thanks!
./scripts/api-tests.sh
to make sure you didn't break anythingSpike Findings
High Level (Map Visualization)
Generating .pmtiles
When the validation report is being created
Once the .pmtiles are in the datasets table, frontend will be able to access it and display it on the map
.pmtiles Script
Stops.txt -> stops.geojson
python gtfs_routes_to_geojson.py stops.txt output.geoson
TO NOTE: we can add any data we want to expose in properties
stops.geojson -> stops.pmtiles
tippecanoe -o stops.pmtiles --force --no-tile-size-limit -zg stops.geojson
Decisions
Pre-processing map file vs client managed map elements
Choosing .pmtiles as the map data format
More info on .pmtiles: https://docs.protomaps.com/pmtiles/
Each feed will have it’s own .pmtile file vs 1 large map file for all feeds
Important notes
Displaying Route Data
Screenshots
Route Table (prototype)

Detailed map with stops (prototype)
