Routing ignores pt, shows walking route instead

I followed the instructions at

When I request a route between two points, it doesn’t use GTFS data, and shows walking route instead.

This is the script I ran:

java -Xmx4g -Xms4g -Dgraphhopper.datareader.file=portland_oregon.osm.pbf -Dgraphhopper.graph.flag_encoders=pt -Dgraphhopper.graph.location=./graph-cache - jar web/target/graphhopper-web-0.12-SNAPSHOT.jar server config.yml

Any idea of what could it be?

I used two sets of pbf and gtfs: a full one for Portland, and a stub for Havana (the example shown uses the first pair). In both cases I get the same error.



I am having the same issue - @eduardosanchezg37, @ibrahima, did you ever make any progress on this? Thank you!

A pretty common way this could happen is when your GTFS file doesn’t cover the day you are querying.