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

pt.block_route_types param: limit connecting modes #131

Closed graue closed 7 months ago

graue commented 7 months ago

Fixes #130

How to verify it's working: on a route that would normally recommend a bus, add "pt.block_route_types=3" to the request (3 means bus, see GTFS spec). If there is a train or ferry that serves the trip it should use that instead. Cafe la Boheme to Erskine Park is an example that works in SF.