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

Fix Cap Cotentin network URL #480

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kalon33
Copy link
Contributor

@kalon33 kalon33 commented Sep 2, 2024

URL for Cap Cotentin was an old one. Fix it.

BTW @jbruechert do you know why most (except one) data has been changed to URL format when they where updated and working in Transitland Atlas format?

@kalon33
Copy link
Contributor Author

kalon33 commented Sep 2, 2024

Oups, seems that MOTIS update went with this PR. Feel free to discard it if you don't want it.

@jbruechert
Copy link
Collaborator

URL for Cap Cotentin was an old one. Fix it.

BTW @jbruechert do you know why most (except one) data has been changed to URL format when they where updated and working in Transitland Atlas format?

The fr.json file is automatically generated from the french government portal using this script: https://github.com/public-transport/transitous/blob/main/src/generate-france.py. It probably just needs to be regenerated.
I added a note to the file now.

@kalon33
Copy link
Contributor Author

kalon33 commented Sep 2, 2024

@jbruechert Thanks for your answer. Is the regeneration an automated process? Multiple feeds in fr.json are currently broken, expired, or pointing to old URLs.

@kalon33
Copy link
Contributor Author

kalon33 commented Sep 2, 2024

Any idea why the script doesn't use the static URLs instead of the changing ones?

@jbruechert
Copy link
Collaborator

Any idea why the script doesn't use the static URLs instead of the changing ones?

That would probably be an oversight on my side I guess, I am very open to improvements to the script.

@jbruechert
Copy link
Collaborator

#481

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants