bikehopper / graphhopper

Open source routing engine for OpenStreetMap. Use it as Java library or standalone web server.
https://www.graphhopper.com/open-source/
Apache License 2.0
3 stars 0 forks source link

Bikes on Muni light rail are banned, so such routes shouldn't be returned #50

Closed graue closed 2 years ago

graue commented 2 years ago

We can either

This should block private beta, because we're pretty much immediately going to give people illegal routes through the Twin Peaks Tunnel and Sunset Tunnel, which we shouldn't do.

A more ambitious version of this issue would be to allow the user to specify if their bike is a folding bike, which is allowed on Muni light rail, but still not allowed on Muni cable cars and historic streetcars. (See Muni bike rules) I don't think GTFS captures that complexity right now.

abhumbla commented 2 years ago

was thinking we should have bikesAllowedOverride as a request param with some structured data in operator/mode that allows us to specify where bikes are not allowed. and then have that as a hardcoded constant in the front end or in bay-area-config.yml (whatever makes the most sense philosophically)

hcourt commented 2 years ago

We're not returning these anymore, but it would be a good idea to no longer hardcode these fixes. In the mid term, by having some pre-build step that uses https://github.com/interline-io/transitland-lib to fix data. In the long term, by fixing the data in the GTFS feed itself.