blueintegral / WaitOrWalk

The information you really want when waiting at the bus stop: is it quicker to wait or to walk? Only works for Georgia Tech right now.
9 stars 3 forks source link

Remove hard-coded stop names/locations from generate_distance_matrix.py #11

Open Tanner opened 11 years ago

Tanner commented 11 years ago

Remove the hard-coded NextBus names and lat/long from generate_distance_matrix.py.

It can use the route config file from @darkzeroman.

darkzeroman commented 11 years ago

This is a blocker for me, I can't give real server code that works unless all the walking/driving locations are available. What I will do is give code that will give a really high value for both walking/bus if those locations do not exist, so it ends up being random, I think.

Whoever works on it should use the routeconfig.txt in the data folder to extract the stops, which are then used to figure out the walking distances.

It seems that GPS coordinates are needed, which are kinda available in routeconfig.txt, but not guaranteed to be right for all stops.

I have lots of things to do until next week and then I'm leaving town, so my contributions will decrease for a while.