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

Nairobi not working? #53

Open
Gkreindler opened this issue Jul 10, 2021 · 1 comment
Open

Nairobi not working? #53

Gkreindler opened this issue Jul 10, 2021 · 1 comment

Comments

@Gkreindler
Copy link

Gkreindler commented Jul 10, 2021

It seems that the map for Nairobi is not working (it always shows the same circle irrespective of selected duration.

Does anyone know why this might be?

I tested in multiple browsers. Other cities work.

https://www.mapnificent.net/nairobi/#12/-1.2832/36.8164/3660/-1.2833/36.8167
image

@od-ms
Copy link

od-ms commented Aug 20, 2021

Hi!
The same problem occurs in Westfalen-Lippe:
https://www.mapnificent.net/westfalen-lippe/#12/51.9632/7.6285/900/51.9629/7.6287

I did some debugging and had a look at the HTTP requests sent by the page, and it looks like there is something wrong with the bin-files of nairobi and westfalen-lippe:

Bin files of "broken" cities that only show one circle:
https://www.mapnificent.net/nairobi/nairobi.bin => only a few bytes in size.. it contains a zip file name..?
https://www.mapnificent.net/westfalen-lippe/westfalen-lippe.bin => same here, almost empty file.

Working example:
Aachen is working, and the bin file looks totally different:
https://www.mapnificent.net/aachen/aachen.bin => 122kb in size

Digging deeper..

Checking the original GTFS source file for Westfalen-Lippe:
Look at the markdown .. https://raw.githubusercontent.com/mapnificent/mapnificent_cities/master/westfalen-lippe/westfalen-lippe.md
==> Oops! The link to the GTFS is broken: https://www.opendata-oepnv.de/dataset/121b0b37-b7a8-4663-9eaf-5ed3d38fc38a/resource/e7cb8aa6-7d5c-4f54-975b-75d3d872b1d0/download/gtfs-nwl-20190720.zip

Checking nairobi:
Same here:
Wrong link in markdown: https://raw.githubusercontent.com/mapnificent/mapnificent_cities/master/nairobi/nairobi.md
=> http://www.digitalmatatus.com/pdf/GTFS_DATA_2.zip => no gtfs file there

So the solution would be:
Find the correct GTFS url for Nairobi and Münster and replace the broken links in these files:
https://raw.githubusercontent.com/mapnificent/mapnificent_cities/master/nairobi/nairobi.md
https://raw.githubusercontent.com/mapnificent/mapnificent_cities/master/westfalen-lippe/westfalen-lippe.md

od-ms added a commit to od-ms/mapnificent_cities that referenced this issue Aug 20, 2021
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

No branches or pull requests

2 participants