-
Notifications
You must be signed in to change notification settings - Fork 31
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
Accra creator #66
Accra creator #66
Conversation
Wow that was fast! I am currently traveling, but looks like there's still two TODOs open anyway. Before I can look into this in detail, maybe check out the default stop creator implementation in another PR. Maybe it can be re-used/merged with yours. There's also one for stop areas (grouping stops). |
Thanks for your feedback. About the About the
Enjoy your vacations ;) |
We talked about this PR with @grote, and ended with :
The name use can be irrelevant in Brazil, because each StopPoint may have unique name (using street names with house numbers). |
As there is no StopArea in Accra I will stick to the name + distance method in this PR. |
Sure that makes sense!
What do you mean exactly? The idea discussed with @prhod in Paris was to let the default creator use stop area relations, since this is the OSM approach. But then provide another StopCreator that works based on distance. This one doesn't need to live inside the AccraCreator as it is useful for other regions such as Brazil as well. Ideally, it inherits from the other creator or a common super class to reduce code duplication. |
What @nlehuby is saying is that this PR is about the Accra GTFS generator. This PR shouldn't be blocked by the global enhancement of osm2gtfs with the StopArea default creator we mentioned.
|
I didn't mean to say that this PR is blocked by the stop creator discussion. Do you consider it ready to be reviewed and merged?
Do you mean to say that you want this to be merged before #65 or will it work either way? |
This PR is ready to be reviewed. As Accra does not use the stop default creator, the PRs are supposed to be independent, and may be merged in any order. |
I agree everything under accra folder is independent, but we should encourage to use as much as possible the default creators. @nlehuby a couple of doubts: Do you have a link to OSM wiki or documentation about the default usage of The |
The |
Maybe the wiki is a great place for that info. (see issue #12)
I think |
For the |
Well, |
Just to let you know that for osm2gtfs and this MR, I personally don't care how you structure the data within OSM. |
What does it mean then if both have a different frequency? |
For me, route variant frequency has priority. |
Sounds reasonable, but should be explicitly defined somewhere. @nlehuby this now has merge conflicts with master. |
and refactor existing creators
rebase ok |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @nlehuby, great work!
frequency
tag on route_master relationsTODO :