top | item 36850357

(no title)

arafalov | 2 years ago

I want very similar to this but for shopping without a car.

Like, if I want to buy something big from Walmart or Costco (to keep to generic shop names) and it does not matter if I am on a train/metro/subway for 10 minutes or 20 minutes, but it totally does matter number of transport switches of bus->subway) and walking is really bad.

So, it would make sense to go to a very distant shop, but that is right opposite the direct train.

Does anything like this exist (for any city really)? The algorithm must be quite similar, but with different graph steps weighted differently depending on method of movement.

discuss

order

ng-henry|2 years ago

Not sure if something like this exists yet, but certainly do-able within my implementation.

For example, when choosing the best route, it penalizes every transfer by 120 seconds [1]. Therefore, a route that takes 2 minutes longer is equivalent to one transfer.

It'd be cool to have a tool where you can dynamically change these settings, and maybe even have different transfer penalties depending on if you're transferring inside a station vs walking outside.

[1]: https://github.com/econaxis/time2reach/blob/main/src/formatt...