Stops: Map is not working
Closed this issue · 3 comments
Operating system
Debian 10 x64
Python version
Running from docker container.
Problem description
I was using StaticGTFSManagar normally, but now I can't see the map in stops page, I'm able to see or add more stops but the map is in blank.
Console / terminal output if any
Since the browser logs the next error:
I think is something related with the mapbox keys, maybe could be a good idea let users set its own mapbox api keys.
Expected Action
Show a map in stops page.
Details of data you are working with, if relevant
Q: Is there anything peculiar about the data you are working with, which may be causing the issue? Any extra files in the feed? Extra columns? Any mandatory columns/fields omitted?
A: Nothing special, is a new dataset built using staticGtfsManager.
Q: What is the size of the dataset : how many lines in stops.txt, routes.txt and stop_times.txt?
A: It's very tiny data set, less than 100 stops.
Q: Are you starting a new feed from scratch and haven't filled in any of the other files like calendar.txt?
A: no
Anything else
Hi @antoine29 thanks a bunch for flagging this. Yes, the mapbox key ran out of juice now that their usage terms have changed. I'd found free alternatives but hadn't changed the stops page yet. Updating the repo in just a bit.
Hi @antoine29 can you download the latest code and try again? I've changed the map layers in all the pages now - no more API keys etc, and I found great free options.
Hi @answerquest
I pulled the new changes one week ago and the maps was working properly. Also I figured out the csv databanks feature and the new map layers in the stops page, this last feature is awesome!
This tool is helping me with a college project so I just want to say thank you and Great work!