grote / Transportr

Free Public Transport Assistant without Ads or Tracking
https://transportr.app
GNU General Public License v3.0
1.04k stars 188 forks source link

Add support for BC, Canada #434

Closed JohnFraser3 closed 6 years ago

JohnFraser3 commented 6 years ago

In my understanding, everything is in place to add support for the TransLink network (and perhaps BC Transit) in British Columbia, Canada, being that the data is all available through Navitia.io. The last thing to do would be to integrate it into Transportr. That, however, I do not have the skills for. If anyone is able to work out such details it would be a great aid for us here in Vancouver wanting to use a FOSS transport app to get around.

https://navitia.opendatasoft.com/explore/dataset/ca-bc/

grote commented 6 years ago

Hi John,

yes your understanding is correct. Adding BC to Transportr would be easy. However, like I said in similar tickets, I can't add all these different areas myself as I barely have enough time to maintain this project. Also, somebody living there and using the provider would be in a better position to add it, because it is not just about adding it once, but also being responsible for it and maintaining it long term.

There's already an upstream pull request which did the first part of the job: schildbach/public-transport-enabler#117

You could try to ping there to get it merged. Otherwise, you could ping the people from the PTE staging repository to get it added there first. Then adding it to Transportr is as simple as copying another provider like Quebec here: https://github.com/grote/Transportr/blob/master/app/src/main/java/de/grobox/transportr/networks/TransportNetworks.kt#L602-L610

anjandev commented 6 years ago

@grote The second part has also been done by @chimo. See: https://github.com/chimo/Transportr/commit/9df685d26581ddcce5656a735ed825929f5992e7

I'd be willing to help in getting Vancouver into Transportr (as I live there). Please let me know how I can help.

grote commented 6 years ago

The second part is outdated now though and needs to be re-done.

@anjandev if you want to help, this would be the first step:

you could ping the people from the PTE staging repository to get it added there first.

anjandev commented 6 years ago

schildbach/public-transport-enabler#117 Has been merged. I was able to add British Columbia to transportr but I had to disable alot of other providers as they are not avaiable on schildbach/public-transport-enabler. Im waiting on the bot on https://gitlab.com/opentransitmap/public-transport-enabler to merge the changes and Ill send a PR with support for BC.

grote commented 6 years ago

Great news @anjandev! Looks like it has been merged by the bot now as well.

grote commented 6 years ago

This got closed with #448

omentic commented 9 months ago

@ialokim can this issue be reopened for the Vancouver region?

TransLink provides three pages with information on transit data: GTFS realtime, GTFS static, RTTI. I am not sure which of these are relevant for the app.

Of note is the API key: 1,000 requests a day is pretty low, but it says they're open to changing it.