-
Notifications
You must be signed in to change notification settings - Fork 0
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
Handle split lametro / lametro-rail stops #237
Comments
So the quick way to do this would be to just join the rail / bus tables. Then use the existing everything, everywhere. The problem is that then we have to have this specific agency code in the app forever. |
The other option is to actually handle having multiple tables. The proper way to do this would be to extend Nighelles's regionalization component to specifically return which tables to use, then pull suggestions from all of them and merge them. Each entry should then know what agency it comes from, so we can get rid of #192 and do all the regionalization up front in the input. |
In terms of implementation, the rest of the milestone doesn't depend on this. We can use only bus or only rail to test the rest of the app (the speedup part), then include the agency in the input stops, and then finally input the multi-agency support. Even if we don't get to this part, we would have enough to manually do an LA merge. |
I already made the combined table this afternoon for testing. On Sun, May 3, 2015 at 11:40 PM, remulasce notifications@github.com wrote:
|
Ok, that's good. |
This is indev. Progress:
Remaining:
Notes: |
...And this is handled now! And, pretty cleanly. Notes:-Backward compatibility is maintained. Stops now have Agencies, but if no agency is set, the Predictions will fallback to LaMetroUtil to figure out their agency.
Suggested work:
|
metro bus and rail use separate agencies.
We currently swap in the correct agency right before heading to the network.
But the scraper-generated files are separated, too.
So we need to handle split mapping files now too.
The text was updated successfully, but these errors were encountered: