Skip to content
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

Add config file for Managua, Nicaragua network #88

Closed
wants to merge 1 commit into from
Closed

Add config file for Managua, Nicaragua network #88

wants to merge 1 commit into from

Conversation

xamanu
Copy link
Contributor

@xamanu xamanu commented Nov 28, 2017

This is the simple config file for the Managua network. As this is going to use the default creators (#26, #27, #33) there is not more needed than merging them in. This PR is similar to #92 and should be merged in after:

The reason for posting it here, is because this is already working in local setups and should be in the pipeline to get into upstream.

Copy link
Contributor

@ialokim ialokim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comments inside the lines.

"publisher_url": "https://mapanica.net",
"version": "0.1",
"start_date": "20171101",
"end_date": "20181031"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

version, start_date and end_date should be set by timetable.json, but can stay here too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about this - for me they are more important in the config file, than in the data source. See comment here and following. The state of the discussion was to allow both.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, perfect. Thanks for the explanation! Leave it here then 😄

},
"timetable": "https://raw.githubusercontent.com/mapanica/pt-data-managua/master/timetable.json",
"output_file": "data/ni-managua-gtfs.zip",
"selector": "irtramma"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you choose an folder named "managua"? We were using "irtramma", and I'm almost certain you should then change the selector too (or isn't it necessary at all while using default creator?)

Copy link
Contributor Author

@xamanu xamanu Nov 29, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, I use Managua since quite some time, because more people can understand what Managua is, rather than IRTRAMMA. Generally I would prefer to have a comprehensive list in the folders for the creators, like proposed also in this pull request here. Something like ni-managua or even ni-managua-irtramma.

Indeed, as you indicate, it is not necessary to change any selector's name, because managua is using the default creators.

@xamanu
Copy link
Contributor Author

xamanu commented Nov 29, 2017

Thanks for the review, @ialokim!

@grote
Copy link
Owner

grote commented Nov 29, 2017

Is this functional before the default creators have been merged? If not, should we hold off with merging it until they have been merged?

@xamanu
Copy link
Contributor Author

xamanu commented Nov 29, 2017

Yes, this should wait until the default creators are merged in. Changed description accordingly.

Copy link
Collaborator

@AltNico AltNico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Todo tuani 👍

Copy link
Contributor

@ialokim ialokim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Me gusta :)

@xamanu
Copy link
Contributor Author

xamanu commented Dec 14, 2017

Included into #99. Closing.

@xamanu xamanu closed this Dec 14, 2017
@xamanu xamanu deleted the managua-config branch February 28, 2018 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants