-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Support for Washington, DC #747
Comments
Dear Transportr development team, I am the teacher of the three very bright, highly motivated students who are working on this as their end of year project. They only have 7 weeks until graduation, at which point they will move on to other things in their lives. I am so hoping they will hear back from you before time runs out. It would be wonderful if we could get support for our DC metro region added to Transportr. Jeff Elkner |
@jelkner nice of you to step in here. Please note that people working on Transportr do so in their free time (which is usually rare) and receive no compensation from the Arlington Career Center. @liamnorm you can replace the PTE library that Transportr uses with your own for testing. It is defined here: https://github.com/grote/Transportr/blob/90c1dd301e22207a17f86d617b1dca368a2ed21b/app/build.gradle |
@grote I fully understand and greatly appreciate the volunteer nature of your work on this project, for which you have my deep gratitude. Sad that we don't live in a more democratic world in which the means of social reproduction could be used in the interest of people and the planet instead of mega profits for tech oligarchs. Oh well. It is true that I get paid as a teacher by the Arlington Career Center, but guiding students toward free software projects like Transportr is something I do as a volunteer on my own limited time too. I only assumed that since you have given so much labor of love to this project, you must care about its continued growth and impact. I thought that a little effort now would pay off, since I know from experience that the window of opportunity here will close if we don't grab hold of it. Thanks for your reply to @liamnorm! |
Wow, let's get philosophical here :D Just a quick addition: If you already successfully tested the new provider inside your fork of the PTE library as described in it's readme (you will need a Navitia key for this), then feel free to proceed to submit a PR it to the PTE staging project and to upstream PTE. Until your changes are merged, you can replace the PTE library as pointed out by @grote and already prepare a PR similar to #644: You need to add the network in |
I see that the PTE library is implemented here:
So I made a fork of this library and substituted opentransitmap for liamn (my Gitlab username):
It all worked fine and I could run the app and access the library.
So, I'm wondering what the significance of that hash code is, and what I can do to make changes and see them reflected. |
The changes to You can view the build generated by jitpack for your repo over here: https://jitpack.io/#com.gitlab.liamn.public-transport-enabler/ |
I have made changes to public-transport-enabler. The changes are in gitlab.com/liamn/public-transport-enabler on the washingtondc branch. Now, how do I get my changes to show up in the gitlab.com/opentransitmap/public-transport-enabler repo? |
Just open a merge request over there :) |
I made a merge request, @ialokim @grote, maybe you or someone you know could look at the request :) Thank you. |
In the dependency verifications (witness.gradle), there is a line that reads: To use the version with DC, it would need to change to 35c48292. Here I'm using X's for filler. How do I know what goes in place of those X's? |
You can simply run |
Great, I have just made a pull request. Thank you for all your help! |
Unfortunately, Navitia stopped serving data for Washington, DC. See #877 (comment) |
Acknowledgments
Please check the following boxes with an
x
if they apply:Is your feature request related to a problem? Please describe.
Support for Washington, DC isn't present.
Describe the solution you'd like
We'd like to connect the Navitia data for 'us-dc' to Transportr so that DC will be supported.
We'd like to figure out a way to set up a development environment where we can test additions we make.
Describe alternatives you've considered
We've made a fork of public-transport-enabler and attempted to mimic the process for adding other cities, but we are unsure of how to test these changes.
Additional context
Two other high school students and I are looking to add support for the Washington, DC area.
We are able to open this repo in Android Studio, but we are unsure how to connect the public-transport-enabler library so that we can test our changes.
The text was updated successfully, but these errors were encountered: