Comments (2)
In shark, this is almost kind of sorta a configuration. In fact, DoubleMap doesn't even provide stop_code
s for CityBus, but I was able to patch it in by looking at the structure of the data coming from from DoubleMap.
This definitely needs to be made configurable in timetable as well to support this use case. As for why stop_code
was chosen initially, it was just to make the channel topic more human-readable. UUIDs aren't very human-friendly, making it harder to debug things along the way. At this point, though, I'd be okay with switching over to UUIDs for compatibility.
I think the real question is what makes a good, universal identifier? This is probably different between most agencies out there, so it should be configurable, as mentioned above. But, it also needs to be consistent across the different sources of information for a given agency (GTFS, anything realtime, etc.) so that they can work together and use the same identifiers/channel topics.
In short, the right thing to do is let each system configure it's "primary attribute" for creating an identifier, so that any system with any set of sources can agree on an identification schema.
I don't have an answer for this yet.
from timetable_cpp.
As of #22, we now fall back to using the stop id
if a code
is unavailable.
from timetable_cpp.
Related Issues (16)
- RPC calls for visits within a time interval HOT 7
- Iterate dates on `visits_*` calls
- Calls to visits_between don't honor the time range HOT 7
- Build on linux HOT 8
- RPC to get hours of service for a station/route HOT 5
- Improve `stop_time` indexing. HOT 1
- Date formatter bug in visits_after HOT 5
- Data versioning and idempotency HOT 2
- Optional csv fields HOT 1
- Rename `next/last_visits` to `visits_before/after`. HOT 1
- Stop times > 23:59:59 unsearchable after midnight HOT 3
- Create visits RPCs for all routes at a station HOT 5
- Responses limited to 1024 characters
- Re-arrange RPC arguments to allow route agnosticism HOT 2
- Add route information to RPC responses HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timetable_cpp.